Clearenv not available in FreeBSD

Denys Vlasenko vda.linux at googlemail.com
Mon Jan 24 15:54:59 UTC 2011


On Sun, Jan 23, 2011 at 4:47 PM, Chris Rees <utisoft at gmail.com> 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 == ?

-- 
vda


More information about the busybox mailing list