X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=d8a8843fe9cbd7678aee6d638bf5a128b2d87bd8;hb=4ffe8b817bffb608db5d8342fa81824aed191ba6;hp=94e90f0f1310f61f6bcd7f117514e819e2697f2b;hpb=062cad2d07081f9a60adbb90fc1184a435a1a93f;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 94e90f0f1..d8a8843fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,230 @@ +2010-03-23 Pádraig Brady (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 + + 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 + + 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 + + * top/maint.mk (sc_texinfo_acronym): Add rule, based on + suggestions from karl@freefriends.org (Karl Berry). + +2010-03-22 Eric Blake + + gethostname: further tweaks + * lib/unistd.in.h (includes): Only worry about if we + are overriding gethostname. + Suggested by Bruno Haible. + +2010-03-21 Bruno Haible + + Fix comments. + * lib/forkpty.c (rpl_forkpty): Fix comment. + * lib/openpty.c (rpl_openpty): Likewise. + Reported by Eric Blake. + +2010-03-22 Eric Blake + + gethostname: fix build on mingw + * lib/unistd.in.h (includes): Work around fact that mingw + re-includes , by avoiding any + redeclarations if we are being included by . + Reported by Matthias Bolte. + +2010-03-21 Bruno Haible + + 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 + + * 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 + + 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 + + login_tty: Documentation. + * doc/glibc-functions/login_tty.texi: New file. + * doc/gnulib.texi (Glibc ): Include it. + +2010-03-21 Bruno Haible + + 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 + + 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 . + (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 + + 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 + + New module 'unlockpt'. + * lib/unlockpt.c: New file, from glibc with modifications. + * m4/unlockpt.m4: New file. + * modules/unlockpt: New file. + * lib/stdlib.in.h (unlockpt): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether unlockpt is declared. + (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_UNLOCKPT, HAVE_UNLOCKPT. + * modules/stdlib (Makefile.am): Substitute GNULIB_UNLOCKPT, + HAVE_UNLOCKPT. + * doc/posix-functions/unlockpt.texi: Mention the new module. + * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::unlockpt. + * config/srclist.txt: Add unlockpt.c (commented). + +2010-03-21 Jim Meyering + + maint.mk: prohibit inclusion of "intprops.h" without use + * top/maint.mk (sc_prohibit_intprops_without_use): New rule. + +2010-03-21 Bruno Haible + + New module 'grantpt'. + * lib/grantpt.c: New file, from glibc with modifications. + * m4/grantpt.m4: New file. + * modules/grantpt: New file. + * lib/stdlib.in.h (grantpt): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether grantpt is declared. + (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_GRANTPT, HAVE_GRANTPT. + * modules/stdlib (Makefile.am): Substitute GNULIB_GRANTPT, + HAVE_GRANTPT. + * doc/posix-functions/grantpt.texi: Mention the new module. + * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::grantpt. + * config/srclist.txt: Add grantpt.c (commented). + +2010-03-21 Bruno Haible + + New module 'pt_chown'. + * lib/pt_chown.c: New file, from glibc with modifications. + * lib/pty-private.h: New file, from glibc with modifications. + * modules/pt_chown: New file. + * config/srclist.txt: Add pt_chown.c, pty-private.h (commented). + +2010-03-21 Bruno Haible + + Tests for module 'ptsname'. + * modules/ptsname-tests: New file. + * tests/test-ptsname.c: New file. + + New module 'ptsname'. + * lib/ptsname.c: New file, from glibc with modifications. + * m4/ptsname.m4: New file. + * modules/ptsname: New file. + * lib/stdlib.in.h (ptsname): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether ptsname is declared. + (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_PTSNAME, HAVE_PTSNAME. + * modules/stdlib (Makefile.am): Substitute GNULIB_PTSNAME, + HAVE_PTSNAME. + * doc/posix-functions/ptsname.texi: Mention the new module. + * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::ptsname. + * config/srclist.txt: Add ptsname.c (commented). + +2010-03-21 Bruno Haible + + Tests for module 'ttyname_r'. + * modules/ttyname_r-tests: New file. + * tests/test-ttyname_r.c: New file. + + New module 'ttyname_r'. + * lib/ttyname_r.c: New file. + * m4/ttyname_r.m4: New file. + * modules/ttyname_r: New file. + * lib/unistd.in.h (ttyname_r): New declaration. + * m4/unistd_h.m4 (gl_UNISTD_H): Check whether ttyname_r is declared. + (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_TTYNAME_R, HAVE_TTYNAME_R. + * modules/unistd (Makefile.am): Substitute GNULIB_TTYNAME_R, + HAVE_TTYNAME_R. + * tests/test-unistd-c++.cc: Check GNULIB_NAMESPACE::ttyname_r. + * doc/posix-functions/ttyname_r.texi: Mention the new module. + +2010-03-20 Bruno Haible + + signal: Undefine macro definitions in C++ mode. + * lib/signal.in.h (sigismember, sigemptyset, sigaddset, sigdelset, + sigfillset): Undefine macro definitions from the system header in C++ + mode. + Reported by John W. Eaton . + +2010-03-20 Bruno Haible + + Ensure no #include statements inside extern "C" { ... }. + * lib/obstack.h: Shrink extern "C" { ... } region so that it does not + contain #include statements. + * lib/time.in.h: Likewise. + +2010-03-20 Bruno Haible + + Make _GL_WARN_ON_USE usable in C++ and C mode in the same compilation. + * build-aux/warn-on-use.h (_GL_WARN_EXTERN_C): New macro. + (_GL_WARN_ON_USE, _GL_WARN_ON_USE_CXX): Likewise. + Reported by John W. Eaton . + +2010-03-20 Bruno Haible + + * m4/unlink.m4 (gl_FUNC_UNLINK): Fix last commit. + Reported by Jim Meyering. + 2010-03-20 Bruno Haible pipe: Set errno upon failure.