Fix error mapping in gethostname
Tue Mar 31 19:20:00 GMT 2015
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
> Changelog entry:
> 2015-03-31 Renato Silva
> * net.cc: Fix buffer size error handling in cygwin_gethostname.
Good catch. Patch applied.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Cygwin-patches