Re: [PATCH] Hide sethostname() in unistd.h

2015-06-19 Thread Corinna Vinschen
On Jun 19 07:27, Christian Franke wrote: > Corinna Vinschen wrote: > >On Jun 17 15:15, Eric Blake wrote: > >>On 06/17/2015 02:57 PM, Yaakov Selkowitz wrote: > >>>On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: > Busybox does not use autoconf or similar. It requires manual platform >

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-18 Thread Christian Franke
Corinna Vinschen wrote: On Jun 17 15:15, Eric Blake wrote: On 06/17/2015 02:57 PM, Yaakov Selkowitz wrote: On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: Busybox does not use autoconf or similar. It requires manual platform specific configuration which does not yet support a missin

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-18 Thread Corinna Vinschen
On Jun 17 15:15, Eric Blake wrote: > On 06/17/2015 02:57 PM, Yaakov Selkowitz wrote: > > On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: > >> Busybox does not use autoconf or similar. It requires manual platform > >> specific configuration which does not yet support a missing > >> seth

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Eric Blake
On 06/17/2015 02:57 PM, Yaakov Selkowitz wrote: > On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: >> Busybox does not use autoconf or similar. It requires manual platform >> specific configuration which does not yet support a missing >> sethostname(). After adding HAVE_SETHOSTNAME manu

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Yaakov Selkowitz
On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: > Busybox does not use autoconf or similar. It requires manual platform > specific configuration which does not yet support a missing > sethostname(). After adding HAVE_SETHOSTNAME manually and some other > minor additions, busybox (whic

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Christian Franke
Corinna Vinschen wrote: On Jun 17 07:38, Christian Franke wrote: Corinna Vinschen wrote: On Jun 16 18:27, Christian Franke wrote: Found during an experimental build of busybox: The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on Cygwin. It should be disabled because Cy

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Corinna Vinschen
On Jun 17 07:38, Christian Franke wrote: > Corinna Vinschen wrote: > >On Jun 16 18:27, Christian Franke wrote: > >>Found during an experimental build of busybox: > >> > >>The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on > >>Cygwin. > >>It should be disabled because Cygwin

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-16 Thread Christian Franke
Corinna Vinschen wrote: On Jun 16 18:27, Christian Franke wrote: Found during an experimental build of busybox: The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on Cygwin. It should be disabled because Cygwin does not provide this function. Christian What about imple

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-16 Thread Corinna Vinschen
On Jun 16 18:27, Christian Franke wrote: > Found during an experimental build of busybox: > > The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on > Cygwin. > It should be disabled because Cygwin does not provide this function. > > Christian > > 2015-06-16 Christian Fran

[PATCH] Hide sethostname() in unistd.h

2015-06-16 Thread Christian Franke
Found during an experimental build of busybox: The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on Cygwin. It should be disabled because Cygwin does not provide this function. Christian 2015-06-16 Christian Franke * libc/include/sys/unistd.h (sethostname): Hide pr