[PATCH] Hide sethostname() in unistd.h

Eric Blake eblake@redhat.com
Wed Jun 17 21:15:00 GMT 2015

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 manually and some other 
>> minor additions, busybox (which many commands enabled) compiles and 
>> works reasonably.
>> Would ITP make sense ?
> TBH I'm not sure.  Presuming you're discussing the single-executable
> build (so as not to clobber coreutils etc.), there is still the question
> of (not) matching the heavily-patched coreutils wrt .exe handling etc.
> What do you think the use case would be?

Portability testing is one thing - I often compare how
bash/dash/zsh/mksh handle a shell construct, and adding busybox sh into
the mix adds another perspective.  But yeah, I don't see busybox
becoming the default source of these apps, so much as an alternative

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150617/d43aef50/attachment.sig>

More information about the Cygwin-patches mailing list