This is the mail archive of the cygwin-patches mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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. ChristianWhat about implementing sethostname instead? extern "C" int sethostname (const char *name, size_t len) ...
I didn't consider this as an alternative because I guessed that it is intentional that sethostname is missing. (it is not a typical that someone wants to use Cygwin to change the name of a Windows machine)
Christian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |