Clearenv not available in FreeBSD
utisoft at gmail.com
Mon Jan 24 16:17:48 UTC 2011
On 24 January 2011 15:54, Denys Vlasenko <vda.linux at googlemail.com> wrote:
> 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.
> +#ifndef HAVE_CLEARENV
> +# define clearenv() environ == NULL
> Shouldn't it be = instead of == ?
Indeed it should be, and I've also discovered it'd be better as:
# define clearenv() environ = NULL
Sorry, don't know what I was thinking!
More information about the busybox