1. 29 Aug, 2013 1 commit
    • Paul Eggert's avatar
      headers: check that _GL_INLINE_HEADER_BEGIN is defined · ece81a73
      Paul Eggert authored
      Suggested by Bruce Korb in:
      * doc/extern-inline.texi (extern inline):
      Suggest checking that _GL_INLINE_HEADER_BEGIN is defined.
      * lib/acl-internal.h, lib/argp-fmtstream.h, lib/argp.h:
      * lib/binary-io.h, lib/bitrotate.h, lib/count-leading-zeros.h:
      * lib/count-one-bits.h, lib/eealloc.h, lib/execinfo.in.h:
      * lib/gethrxtime.h, lib/gl_list.h, lib/gl_oset.h, lib/gl_xlist.h:
      * lib/gl_xoset.h, lib/gl_xsublist.h, lib/glthread/cond.h:
      * lib/glthread/thread.h, lib/math.in.h, lib/mbchar.h, lib/mbfile.h:
      * lib/mbiter.h, lib/mbuiter.h, lib/openat.h, lib/pipe-filter-aux.h:
      * lib/priv-set.h, lib/pthread.in.h, lib/savewd.h, lib/se-context.in.h:
      * lib/se-selinux.in.h, lib/sig-handler.h, lib/stat-time.h:
      * lib/sys_socket.in.h, lib/timespec.h, lib/u64.h, lib/unistd.in.h:
      * lib/utimens.h, lib/wctype.in.h, lib/xalloc.h, lib/xsize.h:
      * lib/xtime.h:
      Check that _GL_INLINE_HEADER_BEGIN is defined.
  2. 28 Aug, 2013 1 commit
  3. 26 Aug, 2013 1 commit
    • Simon Josefsson's avatar
      gc: support HMAC-SHA256 and HMAC-SHA512. · 4e1dc0e3
      Simon Josefsson authored
      * lib/gc.h: Add gc_hmac_sha256 and gc_hmac_sha512.
      * lib/gc-libgcrypt.c (gc_hmac_sha256, gc_hmac_sha512): New
      (gc_hmac_md5): Use symbolic constant.
      * lib/gc-gnulib.c: Include hmac.h for HMAC-SHA256/512 too.
      (gc_hmac_sha256, gc_hmac_sha512): New functions.
      * lib/hmac.h: Add hmac_sha256 and hmac_sha512 prototypes.
      * m4/sha256.m4: Protect against empty expansion.
      * m4/sha512.m4: Likewise.
      * lib/hmac-sha256.c: New file.
      * lib/hmac-sha512.c: Likewise.
      * m4/gc-hmac-sha256.m4: Likewise.
      * m4/gc-hmac-sha512.m4: Likewise.
      * m4/gc-sha256.m4: Likewise.
      * m4/gc-sha512.m4: Likewise.
      * modules/crypto/gc-hmac-sha256: Likewise.
      * modules/crypto/gc-hmac-sha256-tests: Likewise.
      * modules/crypto/gc-hmac-sha512: Likewise.
      * modules/crypto/gc-hmac-sha512-tests: Likewise.
      * modules/crypto/hmac-sha256: Likewise.
      * modules/crypto/hmac-sha256-tests: Likewise.
      * modules/crypto/hmac-sha512: Likewise.
      * modules/crypto/hmac-sha512-tests: Likewise.
      * tests/test-gc-hmac-sha256.c: Likewise.
      * tests/test-gc-hmac-sha512.c: Likewise
      * tests/test-hmac-sha256.c: Likewise.
      * tests/test-hmac-sha512.c: Likewise
  4. 24 Aug, 2013 1 commit
  5. 23 Aug, 2013 1 commit
    • Paul Eggert's avatar
      selinux-at: omit unnecessary include · c9451e3b
      Paul Eggert authored
      * lib/selinux-at.c: Don't include dosname.h; not needed, since
      this source file doesn't use its macros, and subsidiary files that
      use the macros already include it.
  6. 22 Aug, 2013 1 commit
  7. 21 Aug, 2013 1 commit
    • Eric Blake's avatar
      d-ino: avoid false negative on symlink · 9a52d861
      Eric Blake authored
      If the first entry listed in a directory is a symlink, we
      had a spurious mismatch between d_ino (which should match the
      symlink) and stat() results (which chases the symlink).
      Reported by Stephane Chazelas <stephane.chazelas@gmail.com>.
      * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use lstat.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
  8. 20 Aug, 2013 1 commit
  9. 16 Aug, 2013 1 commit
  10. 15 Aug, 2013 5 commits
    • Mike Miller's avatar
      bootstrap: port to OpenBSD sed · 0ba08775
      Mike Miller authored
      * build-aux/bootstrap (insert_if_absent): Port to OpenBSD sed which
      does not interpret `-' as a file argument to mean stdin.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    • Eric Blake's avatar
      warnings: minor optimization · ed0ba878
      Eric Blake authored
      Paul Eggert suggested that expr is more efficient than echo|sed.
      * m4/warnings.m4 (gl_COMPILER_OPTION_IF): Use fewer processes.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    • Eric Blake's avatar
      warnings: check -Wfoo rather than -Wno-foo · 826b63b6
      Eric Blake authored
      As reported by Christophe Fergeau and others, use of the
      warnings modules is awkward when probing for negative
      warning flags.  For example, clang recognizes
      -Wno-unused-command-line-argument, but gcc does not;
      gcc silently ignores unknown warnings in isolation, but when
      something else also causes a compilation problem, gcc then
      compounds the overall message by also complaining about the
      unrecongized command line option at that time.  The gcc manual
      documents that this behavior is intentional so that someone
      can add a -Wno-foo silencer to CFLAGS for a warning that older
      gcc does not understand, and where the warning is undesired
      under newer gcc; it also documents that probing for the -Wfoo
      positive form of the error is a reliable way to tell if the
      negative form will actually suppress anything.  Clang will
      warn for both positive and negative forms of an unknown
      Since common usage includes:
      for w in $list; do
      the solution must be polymorphic to work on both m4 literals
      and shell variables (similar to AS_VAR_SET polymorphism).
      * m4/warnings.m4 (gl_COMPILER_OPTION_IF): If name begins with
      -Wno-, test if the compiler recognizes the positive form instead.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    • Karl Berry's avatar
      accept doclicense option · 1c77dbc8
      Karl Berry authored
    • Karl Berry's avatar
      accept doclicense option · 71b8fa3d
      Karl Berry authored
  11. 13 Aug, 2013 1 commit
  12. 11 Aug, 2013 5 commits
  13. 10 Aug, 2013 2 commits
    • Karl Berry's avatar
      autoupdate · e485bbab
      Karl Berry authored
    • Pádraig Brady's avatar
      bootstrap: support checksum utils without a --status option · c50edd64
      Pádraig Brady authored
      * build-aux/bootstrap: Only look for sha1sum if updating po files.
      Add sha1 to the list of supported checksum utils since it's now
      supported through adjustments below.
      (update_po_files): Remove the use of --status
      in a way that will suppress all error messages, but since this is
      only used to minimize updates, it shouldn't cause an issue.
      Exit early if there is a problem updating the po file checksums.
      (find_tool): Remove the check for --version support as this
      is optional as per commit 86186b17.  Don't even check for the
      presence of the command as if that is needed, it's supported
      through configuring prerequisites in bootstrap.conf.
      Prompt that when a tool isn't found, one can define an environment
      variable to add to the hardcoded search list.
  14. 09 Aug, 2013 3 commits
  15. 07 Aug, 2013 1 commit
    • Jim Meyering's avatar
      regex: port to non-glibc/lock-using systems · ade95dda
      Jim Meyering authored
      Since 29-05-2013 commit, 55ba71f4, compilation on a non-glibc
      system with GNULIB_LOCK would fail due to absence of the
      included "glthread/lock.h".  This would affect any package
      for which the "lock" module is used only by the regex module,
      and not explicitly used.
      * m4/regex.m4 (gl_PREREQ_REGEX): Require gl_GLIBC21.
      * modules/regex (Depends-on) [!GLIBC && $ac_use_included_regex]:
      Add a dependency on the "lock" module.
  16. 06 Aug, 2013 1 commit
  17. 20 Jul, 2013 3 commits
  18. 19 Jul, 2013 1 commit
  19. 18 Jul, 2013 1 commit
    • Werner LEMBERG's avatar
      bootstrap: use correct source when copying build-aux files · 644c4049
      Werner LEMBERG authored
      in my setup for ttfautohint (http://repo.or.cz/w/ttfautohint.git) I
      have the following assignment in `bootstrap.conf':
      It seems that the patch below is necessary to make this really work
      (at least it works for me): if I understand the issue correctly,
      $build_aux is a *destination* variable, so it must not be used for the
      files listed in $gnulib_extra_files which uses the directory structure
      of the `gnulib' repository.
      * build-aux/bootstrap (gnulib_extra_files): This variable is
      relative to upstream gnulib layout, not downstream.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
  20. 17 Jul, 2013 1 commit
  21. 15 Jul, 2013 3 commits
  22. 09 Jul, 2013 3 commits
  23. 08 Jul, 2013 1 commit