Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dir Too Deap ?



[client-114:~/freebsd/work] david% cat test1.c
#include <unistd.h>
int
main()
{
int a;

for(a=1;a < 1000; a++)
{
mkdir("k", "770");
chdir("k");
creat("ok", "770");
}
}
[client-114:~/freebsd/work] david% ./test1
[client-114:~/freebsd/work] david% cd k
[client-114:~/freebsd/work/k] david% ls -lR
....CUT....
:
ls: k: No such file or directory
ls: k: No such file or directory
Segmentation fault
[client-114:~/freebsd/work/k] david%
[client-114:~/freebsd/work/k] david% uname -a
Darwin client-114.catpa.lex 6.6 Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power Macintosh powerpc
[client-114:~/freebsd/work/k] david%
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: Am I Doing Bad Stuff? (From: Lance Drake <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.