Re: [PATCH] ifplugd

Maxim Kryžanovský xmaks at email.cz
Mon Apr 12 19:40:16 UTC 2010


> Regrding:
> 
> +#if ENABLE_FEATURE_PIDFILE
>  	write_pidfile(pidfile_name);
> +#endif
> 
> This is not needed since libbb.h has
> 
> #define write_pidfile(path)  ((void)0)
> #define remove_pidfile(path) ((void)0)
> 
> if ENABLE_FEATURE_PIDFILE is 0.
> 
> -- 
> vda
>

Ups  .. sorry for wrong testing ENABLE_FEATURE_PIDFILE. I tested it off directly in the ifplugd.c module :-)
--
max


More information about the busybox mailing list