+2010-03-27 Bruno Haible <bruno@clisp.org>
+
+ * m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Renamed from gl_GETLOGIN_R.
+ * modules/getlogin_r (configure.ac): Update.
+
+ * m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Renamed from gl_INET_NTOP.
+ * m4/getaddrinfo.m4 (gl_GETADDRINFO): Update.
+ * modules/inet_ntop (configure.ac): Update.
+
+ * m4/inet_pton.m4 (gl_FUNC_INET_PTON): Renamed from gl_INET_PTON.
+ * modules/inet_pton (configure.ac): Update.
+
+ * m4/mbslen.m4 (gl_FUNC_MBSLEN): Renamed from gl_MBSLEN.
+ * modules/mbslen (configure.ac): Update.
+
+ * m4/pty.m4 (gl_FUNC_FORKPTY): Renamed from gl_FORKPTY.
+ (gl_FUNC_OPENPTY): Renamed from gl_OPENPTY.
+ * modules/forkpty (configure.ac): Update.
+ * modules/openpty (configure.ac): Update.
+
+2010-03-26 Simon Josefsson <simon@josefsson.org>
+
+ * top/maint.mk (sc_texinfo_acronym): Don't infloop if there is
+ no *.texi files. Reported by Eric Blake <eblake@redhat.com>.
+
+2010-03-25 Eric Blake <eblake@redhat.com>
+
+ maint: use pragma consistently across replacement headers
+ * lib/ctype.in.h (system_header): Hoist for consistent placement.
+ * lib/dirent.in.h (system_header): Likewise.
+ * lib/errno.in.h (system_header): Likewise.
+ * lib/float.in.h (system_header): Likewise.
+ * lib/getopt.in.h (system_header): Likewise.
+ * lib/iconv.in.h (system_header): Likewise.
+ * lib/inttypes.in.h (system_header): Likewise.
+ * lib/langinfo.in.h (system_header): Likewise.
+ * lib/locale.in.h (system_header): Likewise.
+ * lib/math.in.h (system_header): Likewise.
+ * lib/netdb.in.h (system_header): Likewise.
+ * lib/netinet_in.in.h (system_header): Likewise.
+ * lib/pty.in.h (system_header): Likewise.
+ * lib/sched.in.h (system_header): Likewise.
+ * lib/se-selinux.in.h (system_header): Likewise.
+ * lib/search.in.h (system_header): Likewise.
+ * lib/spawn.in.h (system_header): Likewise.
+ * lib/stdarg.in.h (system_header): Likewise.
+ * lib/stdint.in.h (system_header): Likewise.
+ * lib/string.in.h (system_header): Likewise.
+ * lib/strings.in.h (system_header): Likewise.
+ * lib/sys_file.in.h (system_header): Likewise.
+ * lib/sys_ioctl.in.h (system_header): Likewise.
+ * lib/sys_socket.in.h (system_header): Likewise.
+ * lib/sys_times.in.h (system_header): Likewise.
+ * lib/sys_utsname.in.h (system_header): Likewise.
+ * lib/sys_wait.in.h (system_header): Likewise.
+ * lib/sysexits.in.h (system_header): Likewise.
+ * lib/unistd.in.h (system_header): Likewise.
+ * lib/wctype.in.h (system_header): Likewise.
+
+ arpa/inet: fix mingw compilation warning
+ * lib/arpa_inet.in.h (system_header): Hoist to be unconditional.
+ Reported by Matthew Bolte.
+
+2010-03-25 Bruno Haible <bruno@clisp.org>
+
+ Avoid collision between gnulib wrapper and libintl wrapper.
+ * lib/printf.c (printf): Don't define if a printf wrapper is already
+ defined in intl/printf.c.
+ Reported by Michel Boaventura <michel@michelboaventura.com>.
+
+2010-03-25 Bruno Haible <bruno@clisp.org>
+
+ Use ANSI C.
+ * lib/readutmp.h (getutent): Provide ANSI C prototype.
+
+2010-03-25 Bruno Haible <bruno@clisp.org>
+
+ Minor formatting changes.
+ * lib/acosl.c: Insert space before function argument list.
+ * lib/argz.c: Likewise.
+ * lib/asinl.c: Likewise.
+ * lib/expl.c: Likewise.
+ * lib/gen-uni-tables.c: Likewise.
+ * lib/gettext.h: Likewise.
+ * lib/glthread/lock.h: Likewise.
+ * lib/tanl.c: Likewise.
+ * lib/uniname/uniname.c: Likewise.
+ * tests/test-idpriv-drop.c: Likewise.
+ * tests/test-idpriv-droptemp.c: Likewise.
+ * tests/test-lock.c: Likewise.
+ * tests/test-tls.c: Likewise.
+ * lib/argp-help.c: Insert space before function-like macro argument
+ list.
+ * lib/memcmp.c: Likewise.
+ * tests/test-base64.c: Likewise.
+ * lib/localename.c: Insert space before sizeof's argument list.
+ * lib/safe-alloc.h: Likewise.
+ * lib/file-set.h: Insert space before macro argument list.
+ * tests/test-argp.c: Likewise.
+ * lib/argp-namefrob.h: Insert space before function parameter list.
+ * lib/getaddrinfo.c: Likewise.
+ * lib/netdb.in.h: Likewise.
+ * lib/parse-duration.h: Likewise.
+ * lib/parse-duration.c: Likewise.
+ * lib/poll.c: Likewise.
+ * lib/select.c: Likewise.
+ * lib/trim.h: Likewise.
+ * tests/test-usleep.c: Likewise.
+ * lib/ldexpl.c: Insert space before function parameter list and before
+ function argument list.
+ * lib/logl.c: Likewise.
+ * lib/sqrtl.c: Likewise.
+ * lib/trim.c: Likewise.
+ * lib/cosl.c: Use GNU style indentation. Insert space before function
+ argument list.
+ * lib/sinl.c: Likewise.
+ * lib/tsearch.c: Insert space after 'for'.
+ Reported by Jim Meyering.
+
+2010-03-23 Pádraig Brady <P@draigBrady.com> (tiny change)
+
+ * maint.mk (sc_Wundef_boolean): Check for the presence of the
+ config header before grepping, as it's not present before
+ autoreconf/configure are run. Reported by Simon Josefsson.
+
+2010-03-23 Bruno Haible <bruno@clisp.org>
+
+ pt_chown: Make it work with automake < 1.11.
+ * modules/pt_chown (Makefile.am): Define pkglibexecdir.
+ Reported by Simon Josefsson.
+
+2010-03-23 Bruno Haible <bruno@clisp.org>
+
+ pt_chown: Don't depend on GPLed modules.
+ * lib/pt_chown.c: Don't include idpriv.h.
+ (main): Don't drop privileges.
+ * modules/pt_chown (Depends-on): Remove idpriv-drop.
+ Reported by Simon Josefsson.
+
+2010-03-24 Simon Josefsson <simon@josefsson.org>
+
+ * top/maint.mk (sc_texinfo_acronym): Add rule, based on
+ suggestions from karl@freefriends.org (Karl Berry).
+
+2010-03-22 Eric Blake <eblake@redhat.com>
+
+ gethostname: further tweaks
+ * lib/unistd.in.h (includes): Only worry about <winsock2.h> if we
+ are overriding gethostname.
+ Suggested by Bruno Haible.
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ Fix comments.
+ * lib/forkpty.c (rpl_forkpty): Fix comment.
+ * lib/openpty.c (rpl_openpty): Likewise.
+ Reported by Eric Blake.
+
+2010-03-22 Eric Blake <eblake@redhat.com>
+
+ gethostname: fix build on mingw
+ * lib/unistd.in.h (includes): Work around fact that mingw
+ <winsock2.h> re-includes <unistd.h>, by avoiding any
+ redeclarations if we are being included by <winsock2.h>.
+ Reported by Matthias Bolte.
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ forkpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
+ * lib/forkpty.c (forkpty): New replacement function, from glibc with
+ modifications.
+ * lib/pty.in.h (forkpty): Update declaration. Add comments.
+ * m4/pty.m4 (gl_FORKPTY): If forkpty is not declared, arrange to
+ provide the replacement.
+ * modules/forkpty (Depends-on): Add openpty, login_tty.
+ * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Initialize HAVE_FORKPTY.
+ * modules/pty (Makefile.am): Substitute HAVE_FORKPTY.
+ * doc/glibc-functions/forkpty.texi: More supported platforms.
+ * config/srclist.txt: Add forkpty.c (commented).
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ * modules/forkpty-tests: Use the common TEMPLATE-TESTS.
+ (Makefile.am): Verify that PTY_LIB is defined.
+
+ * modules/openpty-tests: Use the common TEMPLATE-TESTS.
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'login_tty'.
+ * modules/login_tty-tests: New file.
+ * tests/test-login_tty.c: New file.
+
+ New module 'login_tty'.
+ * lib/login_tty.c: New file.
+ * m4/pty.m4 (gl_FUNC_LOGIN_TTY): New macro.
+ * modules/login_tty: New file.
+ * doc/glibc-functions/login_tty.texi: Mention the new module.
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ login_tty: Documentation.
+ * doc/glibc-functions/login_tty.texi: New file.
+ * doc/gnulib.texi (Glibc <utmp.h>): Include it.
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ pty: Consistent macro naming.
+ * m4/pty_h.m4 (gl_PTY_H): Renamed from gl_PTY.
+ * m4/pty.m4 (gl_FORKPTY, gl_OPENPTY): Update.
+ * modules/pty (configure.ac): Update.
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ Tests for openpty: Make stricter.
+ * tests/test-openpty.c (main): Add test of canonical processing and
+ erase.
+ * modules/openpty-tests (Makefile.am): Verify that PTY_LIB is defined.
+
+ openpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
+ * lib/openpty.c (openpty): New replacement function.
+ * lib/pty.in.h: Include <termios.h>.
+ (openpty): Update declaration. Add comments.
+ * m4/pty.m4 (gl_OPENPTY): Require AC_USE_SYSTEM_EXTENSIONS. If openpty
+ is not declared, arrange to provide the replacement. Check for _getpty
+ and posix_openpt.
+ * modules/openpty (Depends-on): Add extensions, fcntl-h, ioctl.
+ * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Initialize HAVE_OPENPTY.
+ * modules/pty (Makefile.am): Substitute HAVE_OPENPTY.
+ * modules/pty-tests (test_pty_c___LDADD): New variable.
+ * doc/glibc-functions/openpty.texi: More supported platforms.
+
+2010-03-21 Bruno Haible <bruno@clisp.org>
+
+ setenv: Tweaks.
+ * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Include necessary headers in
+ the test program.
+ * doc/posix-functions/setenv.texi: Update platforms list.
+
2010-03-21 Bruno Haible <bruno@clisp.org>
New module 'unlockpt'.
errno value in error message.
2010-03-20 Bruno Haible <bruno@clisp.org>
- Jim Meyering <meyering@redhat.com>
+ Jim Meyering <meyering@redhat.com>
lchown: Avoid "unused variable" warning.
* lib/lchown.c (rpl_lchown): Move variable 'st' into #if block.