[bug] [patch] fuser.c:
Denys Vlasenko
vda.linux at googlemail.com
Wed May 28 07:56:06 PDT 2008
On Wednesday 28 May 2008 15:31, Cristian Ionescu-Idbohrn wrote:
> Are we absolutely sure that CWD _is_ /proc at the point where:
>
> + d = opendir("/proc");
Here cwd does not matter.
> ? 9 lines down in the code we're doing this:
>
> if (chdir(de->d_name) < 0)
> continue;
>
> and that will not always do TRT, unless CWD _is_ /proc from the
> beginning.
You are correct, I totally missed this. Fixed now. Thanks.
--
vda
More information about the busybox
mailing list