The if () test is useless because it has already been done above.
Loïc
Index: libbb/procps.c
===================================================================
--- libbb/procps.c (revision 20067)
+++ libbb/procps.c (working copy)
@@ -388,8 +388,7 @@
n = read_to_buf(filename, buf);
if (n <= 0)
break;
- if (flags & PSSCAN_ARGV0)
- sp->argv0 = xstrdup(buf);
+ sp->argv0 = xstrdup(buf);
}
#endif
break;
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox