On Mar 31 15:23, Renato Silva wrote: > The gethostname function has a problem where a small buffer size will > not produce an accurate errno. This is because the Windows error is > not being appropriately mapped. This causes programs such as hostname > from coreutils to fail because they are not informed about the long > name. > > Changelog entry: > 2015-03-31 Renato Silva > * net.cc: Fix buffer size error handling in cygwin_gethostname.
Good catch. Patch applied. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpoYqV4d65CP.pgp
Description: PGP signature