[BusyBox] Re: ifconfig: Clean up. [PATCH]

Shaun Jackman sjackman at gmail.com
Tue Jul 26 15:27:56 UTC 2005


On 7/26/05, Rainer Weikusat <rainer.weikusat at sncag.com> wrote:
> > +     if (CONFIG_FEATURE_CLEAN_UP) close(sockfd);
> >       return goterr;
> >  }
> 
> What is this supposed to accomplish, besides inflating the binary for
> no reason?

If CLEAN_UP is undefined, it shouldn't affect the binary size at all.
If CLEAN_UP is defined, it cleans up the resources the applet has
allocated, namely file descriptors in this case.

Cheers,
Shaun



More information about the busybox mailing list