1. 19 Nov, 2011 9 commits
  2. 18 Nov, 2011 4 commits
    • Jim Meyering's avatar
      hash: deprecate poorly-named hash_insert0: use hash_insert_if_absent · 2895f9dc
      Jim Meyering authored
      * lib/hash.c (hash_insert_if_absent): Rename from hash_insert0.
      Add a sentence to the comment.
      (hash_insert0): New function that simply calls hash_insert_if_absent.
      * lib/hash.h (hash_insert_if_absent): Declare it.
      (hash_insert0): Add deprecation attribute.
      * lib/di-set.c (di_set_insert): Use hash_insert_if_absent,
      not hash_insert0.
      * NEWS: Mention it, even though it's not really an incompatible change
      Prompted by a question from Matthew Booth <mbooth@redhat.com>.
    • Dagobert Michelsen's avatar
      openat: avoid compilation failure due to lack of <errno.h> inclusion · ff37e816
      Dagobert Michelsen authored
      * lib/openat.c: Include <errno.h>.
    • Paul Eggert's avatar
      * modules/getcwd (Depends-on): Add fdopendir. · 0e001bce
      Paul Eggert authored
      This fixes one of the two problems reported by Kai Habel in
    • Paul Eggert's avatar
      modules/crypto/gc-*: simplify dependencies and fix stdalign.h bug · a9fb0eca
      Paul Eggert authored
      stdalign problem reported by Ian Beckwith in
      * modules/crypto/gc-arcfour (Depends-on):
      Depend conditionally on crypto/arcfour.
      * modules/crypto/gc-arctwo (Depends-on):
      Depend conditionally on crypto/arctwo.
      * modules/crypto/gc-des (Depends-on):
      Depend conditionally on crypto/des.
      * modules/crypto/gc-hmac-md5 (Depends-on):
      Depend conditionally on crypto/hmac-md5.
      * modules/crypto/gc-hmac-sha1 (Depends-on):
      Depend conditionally on crypto/hmac-sha1.
      * modules/crypto/gc-md2 (Depends-on): Remove stdint, minmax.
      * modules/crypto/gc-md4 (Depends-on):
      Depend conditionally on crypto/md4.
      * modules/crypto/gc-md5 (Depends-on):
      Depend conditionally on crypto/md5.
      * modules/crypto/gc-rijndael (Depends-on):
      Depend conditionally on crypto/rijndael.
      * modules/crypto/gc-sha1 (Depends-on):
      Depend conditionally on crypto/sha1.
      * modules/crypto/gc-arcfour:
      * modules/crypto/gc-arctwo:
      * modules/crypto/gc-des:
      * modules/crypto/gc-hmac-md5:
      * modules/crypto/gc-hmac-sha1:
      * modules/crypto/gc-md2:
      * modules/crypto/gc-md4:
      * modules/crypto/gc-md5:
      * modules/crypto/gc-rijndael:
      * modules/crypto/gc-sha1:
      (Files, Depends-on, configure.ac): Remove now-unnecessary stuff,
      now that the conditional dependencies do the work for us.
  3. 17 Nov, 2011 3 commits
    • Jim Meyering's avatar
      tests: factor out st_ctime-comparison code (a dozen uses) · 14e4d7a5
      Jim Meyering authored
      * tests/test-utimens-common.h (ctime_compare): Define.
      * tests/test-futimens.h (test_futimens): Replace open-coded equivalent.
      * tests/test-lutimens.h (test_lutimens): Likewise.
      * tests/test-utimens.h (test_utimens): Likewise.
    • Jim Meyering's avatar
      test-getcwd: don't leave behind a confdir3/ directory upon interrupt · 87df2247
      Jim Meyering authored
      Invoke the test program via an init.sh-using wrapper.
      * tests/test-getcwd.sh: New file.
      * modules/getcwd-tests (Files): Add it.
      (Makefile.am) [TESTS]: Invoke the shell script wrapper.
    • Gary V. Vaughan's avatar
      gitlog-to-changelog: support multi-author commits. · f51babfa
      Gary V. Vaughan authored
      The FSF cares about keeping track of all authors of patches to its
      projects, but Git doesn't provide obvious support for multi-author
      changesets. Consensus seems to be forming around the use of extra
      Signed-off-by inspired lines in the log message formatted as
      `Co-authored-by: A U Thor <email@example.com>' for round-tripping
      multi-author commits between version control systems.
      * gitlog-to-changelog: Extract `Co-authored-by:' lines from the git
      log message and output in standard ChangeLog multi-author format.
      Reported by Peter Rosin <peda@lysator.liu.se>
  4. 16 Nov, 2011 1 commit
    • Bruno Haible's avatar
      Fix some modules' file list. · 4f6a7ef5
      Bruno Haible authored
      * modules/fstatat (Files): Add m4/lstat.m4.
      * modules/openat (Files): Likewise.
      * modules/unlinkat (Files): Likewise.
  5. 15 Nov, 2011 1 commit
  6. 13 Nov, 2011 6 commits
  7. 12 Nov, 2011 4 commits
    • Jim Meyering's avatar
      revamp the other test-exclude?.sh scripts to use init.sh, too · 293ba048
      Jim Meyering authored
      * tests/test-exclude1.sh: Use init.sh.
      * tests/test-exclude2.sh: Likewise.
      * tests/test-exclude3.sh: Likewise.
      * tests/test-exclude4.sh: Likewise.
      * tests/test-exclude5.sh: Likewise.
      * tests/test-exclude6.sh: Likewise.
      * tests/test-exclude7.sh: Likewise.
      * tests/test-exclude8.sh: Likewise.
      * modules/exclude-tests (Files): List init.sh.
    • Jim Meyering's avatar
      test-exclude2.sh, test-exclude5.sh: fail if test-exclude fails · e500079a
      Jim Meyering authored
      These shell scripts ignored failure of the binary test-exclude,
      so making the latter return 77 didn't cause them to be skipped.
      * tests/test-exclude5.sh: Exit with test-exclude's error status
      when that program fails.  Revamp to use init.sh.
      * tests/test-exclude2.sh: Likewise.
    • Jim Meyering's avatar
      test-exclude: fix a typo · 24586b2e
      Jim Meyering authored
      * tests/test-exclude.c (main): Test for "leading_dir", not "leading-dir".
    • Karl Berry's avatar
      autoupdate · 17febe77
      Karl Berry authored
  8. 11 Nov, 2011 2 commits
  9. 10 Nov, 2011 5 commits
  10. 09 Nov, 2011 5 commits
    • Bruno Haible's avatar
      Improve MODULES.html output. · 8a3d36c8
      Bruno Haible authored
      * modules/mkfifoat (Description): Use the word "function".
      * modules/readlinkat (Description): Likewise.
      * modules/symlinkat (Description): Likewise.
    • Eric Blake's avatar
      ptsname_r-tests: new test module · 12597d10
      Eric Blake authored
      For now, this tests glibc behavior of both returning an errno
      value as well as setting errno; we may need to relax that.
      * modules/ptsname_r-tests: New module.
      * tests/test-ptsname_r.c: New file.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    • Karl Berry's avatar
      update from texinfo · 9709cb4b
      Karl Berry authored
    • Eric Blake's avatar
      ptsname_r: new module · 78232883
      Eric Blake authored
      For now, this replacement focuses solely on compilation
      compatibility, and assumes that isatty() and ttyname_r() work
      on a master side pty; if this assumption fails, or if
      thread-safety is also required, then a later patch can follow
      the lead of strerror_r.c in wrapping the system ptsname()
      with a lock.
      * modules/ptsname_r: New module.
      * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): New file.
      * lib/ptsname.c (__ptsname_r): Split...
      * lib/ptsname_r.c: ...into new file.
      * m4/stdlib_h.m4 (gl_STDLIB_H): Check for decl.
      (gl_STDLIB_H_DEFAULTS): Set witness defaults.
      * modules/stdlib (Makefile.am): Substitute witnesses.
      * lib/stdlib.in.h (ptsname_r): Declare it.
      * doc/glibc-functions/ptsname_r.texi (ptsname_r): Document it.
      * MODULES.html.sh (Misc): Likewise.
      * modules/ptsname (Depends-on): Alter dependency.
      * doc/posix-functions/ptsname.texi (ptsname): Mention new module.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    • Jim Meyering's avatar
      announce-gen: be more concise when there's only one URL+tarball · c025e2c9
      Jim Meyering authored
      * build-aux/announce-gen (get_tool_versions): When you distribute
      only one type of tarball, combine the first two "Here are..."
      sections and make the key-checking grammar independent of
      how many tarballs there are.