bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gethostname


From: Sam Steingold
Subject: gethostname
Date: Mon, 11 Aug 2008 15:40:52 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080506)

gnulib/lib/gethostname.c says:

#ifdef HAVE_UNAME
# include <sys/utsname.h>
#endif

1. why aren't you testing for HAVE_SYS_UTSNAME_H instead?

2. are there really systems without uname & <sys/utsname.h>, given that these are in posix? http://www.opengroup.org/onlinepubs/009695399/functions/uname.html





reply via email to

[Prev in Thread] Current Thread [Next in Thread]