Tweak last commit.
authorBruno Haible <bruno@clisp.org>
Sat, 3 Dec 2011 13:09:14 +0000 (14:09 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 3 Dec 2011 13:09:14 +0000 (14:09 +0100)
commit1917369d72235bea2b78b7d61f5ece0ea8e98d7e
treeda049e39589116fcfddedf99fbc14497bee3e278
parentab8fbf44bf4633d1c326940ce1d0715fb63936d4
Tweak last commit.

* lib/sethostname.c: Don't include <string.h>.
(sethostname): No need to copy the argument string to the stack. Don't
call clearerr. Preserve errno when fprintf failed.
* m4/sethostname.m4 (gl_FUNC_SETHOSTNAME): Comment about HOST_NAME_MAX.
Don't invoke AC_REPLACE_FUNCS.
* modules/sethostname (Link): Remove empty section.
* doc/glibc-functions/sethostname.texi: Gnulib does not fix the ENOSYS
failure problem.
ChangeLog
doc/glibc-functions/sethostname.texi
lib/sethostname.c
m4/sethostname.m4
modules/sethostname