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..
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to