[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: svn commit: trunk/busybox/procps
From: Bernhard Fischer <rep.dot.nop () gmail ! com>
Date: 2008-05-28 15:45:40
Message-ID: 20080528154540.GC10228 () mx ! loc
[Download RAW message or body]
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
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic