On 24 January 2011 15:54, Denys Vlasenko <[email protected]> wrote: > On Sun, Jan 23, 2011 at 4:47 PM, Chris Rees <[email protected]> wrote: >> Hi again, >> >> OK I lied about the previous being the last today, sorry. >> >> http://www.bayofrum.net/~chris/patches/busybox-clearenv.patch > > +#ifndef HAVE_CLEARENV > +# define clearenv() environ[0] == NULL > +#endif > > Shouldn't it be = instead of == ?
Indeed it should be, and I've also discovered it'd be better as: # define clearenv() environ = NULL http://www.kernel.org/doc/man-pages/online/pages/man3/clearenv.3.html Sorry, don't know what I was thinking! Chris _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
