On Thursday 02 August 2007 12:37, Alex Landau wrote:
> Hi,
> Now it's udhcpc's turn. Actually a tiny patch that only changes the #ifdef
> which decides
> whether we have an MMU or not.
> Alex
>
> Index: networking/udhcp/dhcpc.c
> ===================================================================
> --- networking/udhcp/dhcpc.c (revision 19396)
> +++ networking/udhcp/dhcpc.c (working copy)
> @@ -109,7 +109,7 @@
>
> static void client_background(void)
> {
> -#ifdef __uClinux__
> +#if !BB_MMU
> bb_error_msg("cannot background in uclinux (yet)");
> /* ... mainly because udhcpc calls client_background()
> * in _the _middle _of _udhcpc _run_, not at the start!
Applied, thanks.
udhcp still needs more love. For one, the plan is to make
udhcpc NOMMU-friendly someday.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox