svn commit: trunk/busybox/procps

Bernhard Fischer rep.dot.nop at gmail.com
Wed May 28 08:45:40 PDT 2008


On Wed, May 28, 2008 at 05:41:01PM +0200, Denys Vlasenko wrote:
>> > 	pid_t pid;
>> > 	pid_list *plist;
>> > 
>> >+	xchdir("/proc");
>> > 	d = opendir("/proc");
>> 
>> I don't think that this will work. At least /me doesn't have a directory
>> /proc/proc/ :)
>
>opendir("/proc") uses absolute path.

alright, i overlooked the slash, sorry for the noise..


More information about the busybox mailing list