On Thu, Nov 12, 2009 at 2:27 PM, Vladimir Dronnikov <[email protected]> wrote:
> Line 87 of env.c should be
>
>        for (ep = environ; ep && *ep; ep++) {
>
> instead of
>
>        for (ep = environ; *ep; ep++) {
>
> or plain "env -" segfaults.

Fixed now, thanks.

> Also, wonder how one can clear current environment within a shell script?

Using export -n or unset?

--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to