X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=36334f4b07492bbed1cf1aadd0eca5ab4aeda03b;hb=573dad2ce496fa87dac2e79f37bae62e0be1d2c6;hp=d6a79ecf3ddb9e10bfab29a24b55659e671f72e6;hpb=6169d5316f95e433f8fa54d751fc47a692ba6871;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index d6a79ecf3..36334f4b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,88 @@ +2012-10-14 Pádraig Brady + canonicalize: fix C89 compilation + * lib/canonicalize.c (canonicalize_filename_mode): Swap order of + declarations so C89 is supported. Also remove the comment + referencing memorty allocation as the suggested feature could + not be implemented as suggested. + Reported by Michael Goffioul. + +2012-10-12 Paul Eggert + + group-member: omit unnecessary dependencies + This is for Emacs, which has its own allocator and where we + don't want to use xalloc. + * lib/group-member.c: Include xalloc-oversized.h, not xalloc.h, + since we no longer use xmalloc. Do not include stdbool.h, since + the changes below happen to remove the only use of bool. + (GROUPBUF_SIZE): New constant. + (struct group_info): Remove n_groups member. Add groupbuf member. + This lets us get the groups without using malloc, usually. + (free_group_info, get_group_info): Adjust to this. + (get_group_info): Return the number of groups found, or -1 on error. + Use plain malloc not xmalloc, and treat its failure as if there + are no groups, as the user already loses in case of error. + (group_member): Simplify, based on changes to get_group_info. + * modules/group-member (Depends-on): Remove dependencies on + xalloc and stdbool. Add dependency on xalloc-oversized. + +2012-10-08 Alexandre Duret-Lutz (tiny change) + + gethrxtime: port to C++ + * lib/gethrxtime.h, lib/xtime.h [__cplusplus]: Add extern "C". + +2012-10-04 Paul Eggert + + ptsname: fix macro-name typo + * lib/stdlib.in.h (ptsname): Fix misspelling of GNULIB_NAMESPACE. + +2012-10-03 Simon Josefsson + + inttostr: Relax license. + * modules/inttostr (License): Change from LGPL to LGPLv2+. + +2012-10-03 Eric Blake + + ptsname_r: support ptys returned by FreeBSD posix_openpt + * lib/ptsname_r.c (__ptsname_r): Don't munge name if it already + lives in /dev/pts/. + +2012-10-02 Eric Blake + + pselect: reject invalid file descriptors + * m4/pselect.m4 (gl_FUNC_PSELECT): Probe for FreeBSD bug. + * lib/pselect.c (rpl_pselect) [!win32]: Work around it. + * modules/pselect (Depends-on): Add dup2. + * doc/posix-functions/pselect.texi (pselect): Document this. + + select: reject invalid file descriptors + * m4/select.m4 (gl_FUNC_SELECT): Probe for FreeBSD bug. + * lib/select.c (rpl_select) [!win32]: Work around it. + * modules/select (Depends-on): Add dup2. + * doc/posix-functions/select.texi (select): Document this. + + select: enhance test + * tests/test-select.h (do_select_bad_nfd_nowait, test_bad_nfd): + New functions. + (test_function): Enhance test. + (do_select_bad_fd): Avoid any stale errno values. + + ptsname: reject invalid file descriptors + http://www.austingroupbugs.net/view.php?id=503 + * m4/ptsname.m4 (gl_FUNC_PTSNAME): Probe for FreeBSD bug. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Add new witness. + * modules/stdlib (Makefile.am): Replace witness. + * lib/stdlib.in.h (ptsname): Allow for replacement. + * modules/ptsname (configure.ac): Trigger replacement. + * doc/posix-functions/ptsname.texi (ptsname): Document this. + +2012-10-02: Nikos Mavrogiannopoulos (tiny change) + + hash-pjw-bare: new module + * lib/hash-pjw-bare.c: New file, very much like hash-pjw.c. + * lib/hash-pjw-bare.h: Likewise. + * modules/hash-pjw-bare: New file. + * MODULES.html.sh (Misc): Add it. + 2012-10-02 Eric Blake manywarnings: cater to more gcc infelicities