1. 18 Jun, 2018 1 commit
    • Bruno Haible's avatar
      pthread_rwlock_rdlock: Add comments regarding glibc behaviour. · 8584beae
      Bruno Haible authored
      * m4/pthread_rwlock_rdlock.m4: Add comment.
      * doc/posix-functions/pthread_rwlock_rdlock.texi: Mention that rwlocks
      are reader-preferring in glibc.
      * doc/posix-functions/pthread_rwlock_tryrdlock.texi: Likwise.
      * doc/posix-functions/pthread_rwlock_timedrdlock.texi: Likewise.
      8584beae
  2. 17 Jun, 2018 1 commit
  3. 20 May, 2018 1 commit
    • Bruno Haible's avatar
      localcharset: Move mapping tables into the code. · bb5cc1c5
      Bruno Haible authored
      * lib/localcharset.h: Document the GNU canonical names for character
      encodings here.
      * lib/localcharset.c: Don't include <fcntl.h>, <unistd.h>,
      relocatable.h, configmake.h.
      (O_NOFOLLOW, ISSLASH, DIRECTORY_SEPARATOR, getc, volatile): Remove
      macros.
      (charset_aliases): Remove variable.
      (get_charset_aliases): Remove function.
      (struct table_entry): New type.
      (alias_table, locale_table): New constants.
      (locale_charset): Use the alias_table or locale_table to get the
      canonicalized encoding name.
      * lib/config.charset: Remove file.
      * lib/ref-add.sin: Remove file.
      * lib/ref-del.sin: Remove file.
      * m4/localcharset.m4 (gl_LOCALCHARSET): Don't require gl_FCNTL_O_FLAGS,
      AC_CANONICAL_HOST, gl_GLIBC21. Don't check for getc_unlocked.
      * modules/localcharset (Notice): Remove.
      (Files): Remove config.charset, ref-add.sin, ref-del.sin, fcntl-o.m4,
      glibc21.m4.
      (Depends-on): Remove configmake.
      (configure.ac): Define LOCALCHARSET_TESTS_ENVIRONMENT to empty.
      (Makefile.am): Simplify.
      * build-aux/prefix-gnulib-mk: Remove special code for the removed files.
      bb5cc1c5
  4. 16 May, 2018 1 commit
  5. 13 May, 2018 12 commits
    • Bruno Haible's avatar
      truncate: Fix compilation error on Android. · a0f15cb0
      Bruno Haible authored
      * m4/truncate.m4 (gl_FUNC_TRUNCATE): Test also whether 'truncate' is
      declared. Set HAVE_DECL_TRUNCATE, not HAVE_TRUNCATE.
      * lib/unistd.in.h (truncate): Test HAVE_DECL_TRUNCATE, not
      HAVE_TRUNCATE.
      * modules/truncate: Likewise.
      * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize HAVE_DECL_TRUNCATE,
      not HAVE_TRUNCATE.
      * modules/unistd (Makefile.am): Substitute HAVE_DECL_TRUNCATE, not
      HAVE_TRUNCATE.
      * doc/posix-functions/truncate.texi: Mention the issue.
      a0f15cb0
    • Bruno Haible's avatar
      tsearch: Fix compilation error on Android. · b2399209
      Bruno Haible authored
      * lib/search.in.h (twalk): Declare when HAVE_TWALK, not HAVE_TSEARCH,
      is 0.
      (GNULIB_defined_tsearch, GNULIB_defined_twalk): New macros.
      * lib/tsearch.c (tsearch, tfind, tdelete): Define only if
      GNULIB_defined_tsearch is true.
      (twalk): Define only if GNULIB_defined_twalk is true.
      * modules/tsearch (configure.ac): Compile tsearch.c also if HAVE_TWALK
      is 0.
      * m4/tsearch.m4 (gl_FUNC_TSEARCH): Set HAVE_TWALK.
      * m4/search_h.m4 (gl_SEARCH_H_DEFAULTS): Initialize HAVE_TWALK.
      * modules/search (Makefile.am): Substitute HAVE_TWALK.
      b2399209
    • Bruno Haible's avatar
      imaxdiv: Fix compilation error on Android. · 88d119b2
      Bruno Haible authored
      * m4/imaxdiv.m4 (gl_FUNC_IMAXDIV): Set HAVE_IMAXDIV_T to 0 if imaxdiv_t
      is not defined.
      * lib/inttypes.in.h (imaxdiv_t): Define if HAVE_IMAXDIV_T, not
      HAVE_DECL_IMAXDIV, is 0.
      * m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Initialize HAVE_IMAXDIV_T.
      * modules/inttypes-incomplete (Makefile.am): Substitute HAVE_IMAXDIV_T.
      88d119b2
    • Bruno Haible's avatar
      Add cross-compilation guesses for Linux systems without glibc. · c0155cf0
      Bruno Haible authored
      * m4/chown.m4 (AC_FUNC_CHOWN): Add cross-compilation guess for Linux.
      * m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
      * m4/link.m4 (gl_FUNC_LINK): Likewise.
      * m4/linkat.m4 (gl_FUNC_LINKAT): Likewise.
      * m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
      * m4/mkdir.m4 (gl_FUNC_MKDIR): Likewise.
      * m4/mkfifo.m4 (gl_FUNC_MKFIFO): Likewise.
      * m4/mknod.m4 (gl_FUNC_MKNOD): Likewise.
      * m4/pselect.m4 (gl_FUNC_PSELECT): Likewise.
      * m4/readlink.m4 (gl_FUNC_READLINK): Likewise.
      * m4/rename.m4 (gl_FUNC_RENAME): Likewise.
      * m4/rmdir.m4 (gl_FUNC_RMDIR): Likewise.
      * m4/select.m4 (gl_FUNC_SELECT): Likewise.
      * m4/stat.m4 (gl_FUNC_STAT): Likewise.
      * m4/symlink.m4 (gl_FUNC_SYMLINK): Likewise.
      * m4/symlinkat.m4 (gl_FUNC_SYMLINKAT): Likewise.
      * m4/unlink.m4 (gl_FUNC_UNLINK): Likewise.
      * m4/utimens.m4 (gl_UTIMENS): Likewise.
      c0155cf0
    • Bruno Haible's avatar
      getpagesize: Fix compilation error on Android. · 0cc03459
      Bruno Haible authored
      * m4/getpagesize.m4 (gl_CHECK_FUNC_GETPAGESIZE): New macro.
      (gl_FUNC_GETPAGESIZE): Invoke it instead of AC_CHECK_FUNC.
      * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Don't invoke
      AC_CHECK_FUNC. Instead, invoke gl_CHECK_FUNC_GETPAGESIZE and define
      HAVE_GETPAGESIZE accordingly.
      * modules/getcwd (Files): Add m4/getpagesize.m4.
      0cc03459
    • Bruno Haible's avatar
      tcgetsid: Fix compilation error on Android. · 9f442cbb
      Bruno Haible authored
      * m4/tcgetsid.m4 (gl_FUNC_TCGETSID): Use AC_LINK_IFELSE instead of
      AC_CHECK_FUNC.
      9f442cbb
    • Bruno Haible's avatar
      getpass: Fix configure test for Android. · 5d35c92b
      Bruno Haible authored
      * m4/getpass.m4 (gl_PREREQ_GETPASS): Use AC_LINK_IFELSE instead of
      AC_CHECK_FUNC.
      5d35c92b
    • Bruno Haible's avatar
      ffs: Fix compilation error on Android. · 2afc250c
      Bruno Haible authored
      * m4/ffs.m4 (gl_FUNC_FFS): Use AC_LINK_IFELSE instead of AC_CHECK_FUNC.
      2afc250c
    • Bruno Haible's avatar
      mkfifo: Fix compilation error on Android. · b24b6bbf
      Bruno Haible authored
      * m4/mkfifo.m4 (gl_FUNC_MKFIFO): Use AC_LINK_IFELSE instead of
      AC_CHECK_FUNC.
      b24b6bbf
    • Bruno Haible's avatar
      c-strtod: Fix configure test for Android. · da1c4df8
      Bruno Haible authored
      * m4/c-strtod.m4 (gl_C_STRTOD): Use AC_LINK_IFELSE instead of
      AC_CHECK_FUNC.
      da1c4df8
    • Bruno Haible's avatar
      random: Fix compilation error on Android. · 3c82739c
      Bruno Haible authored
      * m4/random.m4 (gl_FUNC_RANDOM): Use AC_LINK_IFELSE instead of
      AC_CHECK_FUNC.
      3c82739c
    • Bruno Haible's avatar
      grantpt: Fix compilation error on Android. · 052169ef
      Bruno Haible authored
      * m4/grantpt.m4 (gl_FUNC_GRANTPT): Use AC_LINK_IFELSE instead of
      AC_CHECK_FUNC.
      052169ef
  6. 12 May, 2018 2 commits
  7. 06 May, 2018 2 commits
  8. 05 May, 2018 2 commits
    • Bruno Haible's avatar
      af_alg: New module. · 459221a8
      Bruno Haible authored
      * lib/af_alg.h: Test HAVE_* macro through '#if', not '#ifdef'.
      * lib/af_alg.c: Include "af_alg.h" before the other header files.
      * lib/md5.c: Include "af_alg.h" unconditionally.
      (md5_stream): Invoke afalg_stream unconditionally.
      * lib/sha1.c: Include "af_alg.h" unconditionally.
      (sha1_stream): Invoke afalg_stream unconditionally.
      * lib/sha256.c: Include "af_alg.h" unconditionally.
      (sha256_stream, sha224_stream): Invoke afalg_stream unconditionally.
      * lib/sha512.c: Include "af_alg.h" unconditionally.
      (sha512_stream, sha384_stream): Invoke afalg_stream unconditionally.
      * m4/af_alg.m4: Renamed from m4/linux-if-alg.m4.
      (gl_AF_ALG): Renamed from gl_LINUX_IF_ALG_H.
      * modules/crypto/af_alg: New file.
      * modules/crypto/md5 (Files): Remove files that are now in the
      'crypto/af_alg' module.
      (Depends-on): Add crypto/af_alg.
      (configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
      (Makefile.am): Don't mention af_alg.c here.
      * modules/crypto/sha1 (Files): Remove files that are now in the
      'crypto/af_alg' module.
      (Depends-on): Add crypto/af_alg.
      (configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
      (Makefile.am): Don't mention af_alg.c here.
      * modules/crypto/sha256 (Files): Remove files that are now in the
      'crypto/af_alg' module.
      (Depends-on): Add crypto/af_alg.
      (configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
      (Makefile.am): Don't mention af_alg.c here.
      * modules/crypto/sha512 (Files): Remove files that are now in the
      'crypto/af_alg' module.
      (Depends-on): Add crypto/af_alg.
      (configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
      (Makefile.am): Don't mention af_alg.c here.
      459221a8
    • Matteo Croce's avatar
      sha1sum: use AF_ALG when available · 7074a586
      Matteo Croce authored
      Linux supports accessing kernel crypto API via AF_ALG since
      version 2.6.38. Coreutils uses libcrypto when available and fallbacks to
      generic C implementation of various hashing functions.
      
      Add a generic afalg_stream() function which uses AF_ALG to calculate the
      hash of a stream and use sendfile() when possible (regular file with size
      less or equal than 0x7ffff000 (2,147,479,552) bytes, AKA MAX_RW_COUNT).
      
      Use afalg_stream() only in sha1sum for now, but other hashes are possible.
      The speed gain really depends on the CPU type, on systems which doesn't use
      libcrypto ranges from ~10% to 320%.
      
      This is a test on a Intel(R) Xeon(R) CPU E3-1265L V2 and Debian stretch:
      
          $ truncate -s 2GB 2g.bin
          $ time sha1sum 2g.bin
          752ef2367f479e79e4f0cded9c270c2890506ab0  2g.bin
      
          real    0m4.829s
          user    0m4.437s
          sys     0m0.391s
          $ time ./sha1sum-afalg 2g.bin
          752ef2367f479e79e4f0cded9c270c2890506ab0  2g.bin
      
          real    0m3.164s
          user    0m0.000s
          sys     0m3.162s
      Signed-off-by: 's avatarMatteo Croce <mcroce@redhat.com>
      7074a586
  9. 04 May, 2018 1 commit
    • Paul Eggert's avatar
      maint: port more modules to GCC 8 · 72333a9c
      Paul Eggert authored
      * lib/dirname.h (base_name):
      * lib/exclude.h (new_exclude):
      * lib/xstrndup.h (xstrndup):
      Add malloc attribute.
      * lib/readutmp.c: Pacify GCC 8 about safe use of strncpy.
      * lib/sig-handler.h (get_handler) [SA_SIGINFO]: Simplify.
      This pacifies GCC 8.
      * m4/gnulib-common.m4 (gl_COMMON_BODY):
      Define _GL_ATTRIBUTE_MALLOC here.  All other definitions removed.
      72333a9c
  10. 03 May, 2018 1 commit
    • Bruno Haible's avatar
      Simplify code. Drop support for Borland C++ on Windows. · 44b65c48
      Bruno Haible authored
      Reported by Gisle Vanem <gisle.vanem@gmail.com>.
      
      * lib/accept4.c: Simplify 'defined _WIN32 || defined __WIN32__' to just
      'defined _WIN32'.
      * lib/canonicalize-lgpl.c: Likewise.
      * lib/classpath.c: Likewise.
      * lib/clean-temp.c: Likewise.
      * lib/csharpexec.c: Likewise.
      * lib/ctime.c: Likewise.
      * lib/dosname.h: Likewise.
      * lib/dup2.c: Likewise.
      * lib/errno.in.h: Likewise.
      * lib/error.c: Likewise.
      * lib/euidaccess.c: Likewise.
      * lib/execute.c: Likewise.
      * lib/fcntl.in.h: Likewise.
      * lib/fcntl.c: Likewise.
      * lib/filename.h: Likewise.
      * lib/findprog.c: Likewise.
      * lib/flock.c: Likewise.
      * lib/fopen.c: Likewise.
      * lib/freopen.c: Likewise.
      * lib/fstat.c: Likewise.
      * lib/fsync.c: Likewise.
      * lib/gc-gnulib.c: Likewise.
      * lib/get-rusage-data.c: Likewise.
      * lib/getaddrinfo.c: Likewise.
      * lib/getdelim.c: Likewise.
      * lib/getdtablesize.c: Likewise.
      * lib/gethostname.c: Likewise.
      * lib/getlogin.c: Likewise.
      * lib/getlogin_r.c: Likewise.
      * lib/getopt.c: Likewise.
      * lib/getpagesize.c: Likewise.
      * lib/getpass.c: Likewise.
      * lib/getrusage.c: Likewise.
      * lib/gettimeofday.c: Likewise.
      * lib/glob.c: Likewise.
      * lib/inttypes.in.h: Likewise.
      * lib/isapipe.c: Likewise.
      * lib/javaexec.c: Likewise.
      * lib/link.c: Likewise.
      * lib/localcharset.c: Likewise.
      * lib/localename.h: Likewise.
      * lib/localename.c: Likewise.
      * lib/localtime.c: Likewise.
      * lib/lseek.c: Likewise.
      * lib/mbsinit.c: Likewise.
      * lib/mkdir.c: Likewise.
      * lib/msvc-nothrow.h: Likewise.
      * lib/nanosleep.c: Likewise.
      * lib/nl_langinfo.c: Likewise.
      * lib/nonblocking.c: Likewise.
      * lib/nproc.c: Likewise.
      * lib/open.c: Likewise.
      * lib/openpty.c: Likewise.
      * lib/pathmax.h: Likewise.
      * lib/pipe-filter-aux.c: Likewise.
      * lib/pipe-filter-gi.c: Likewise.
      * lib/pipe-filter-ii.c: Likewise.
      * lib/pipe.c: Likewise.
      * lib/pipe2.c: Likewise.
      * lib/poll.c: Likewise.
      * lib/popen.c: Likewise.
      * lib/posix_openpt.c: Likewise.
      * lib/printf-parse.c: Likewise.
      * lib/progreloc.c: Likewise.
      * lib/putenv.c: Likewise.
      * lib/read.c: Likewise.
      * lib/relocatable.c: Likewise.
      * lib/rename.c: Likewise.
      * lib/same-inode.h: Likewise.
      * lib/secure_getenv.c: Likewise.
      * lib/select.c: Likewise.
      * lib/sethostname.c: Likewise.
      * lib/setlocale.c: Likewise.
      * lib/sigaction.c: Likewise.
      * lib/sigprocmask.c: Likewise.
      * lib/sleep.c: Likewise.
      * lib/spawn-pipe.h: Likewise.
      * lib/spawn-pipe.c: Likewise.
      * lib/spawni.c: Likewise.
      * lib/stat-time.h: Likewise.
      * lib/stat-w32.c: Likewise.
      * lib/stat.c: Likewise.
      * lib/stdio.in.h: Likewise.
      * lib/stdio-impl.h: Likewise.
      * lib/stdio-read.c: Likewise.
      * lib/stdio-write.c: Likewise.
      * lib/stdlib.in.h: Likewise.
      * lib/strerror_r.c: Likewise.
      * lib/strftime-fixes.c: Likewise.
      * lib/sys_stat.in.h: Likewise.
      * lib/sys_types.in.h: Likewise.
      * lib/sys_wait.in.h : Likewise.
      * lib/system-quote.h: Likewise.
      * lib/system-quote.c: Likewise.
      * lib/tmpdir.c: Likewise.
      * lib/tzset.c: Likewise.
      * lib/uname.c: Likewise.
      * lib/unistd.in.h: Likewise.
      * lib/utime.in.h: Likewise.
      * lib/utime.c: Likewise.
      * lib/utimecmp.c: Likewise.
      * lib/utimens.c: Likewise.
      * lib/vasnprintf.c: Likewise.
      * lib/vma-iter.h: Likewise.
      * lib/vma-iter.c: Likewise.
      * lib/wait-process.c: Likewise.
      * lib/wcsftime.c: Likewise.
      * lib/wctype.in.h: Likewise.
      * lib/write.c: Likewise.
      * tests/nap.h: Likewise.
      * tests/test-cloexec.c: Likewise.
      * tests/test-dup-safer.c: Likewise.
      * tests/test-dup2.c: Likewise.
      * tests/test-dup3.c: Likewise.
      * tests/test-fcntl.c: Likewise.
      * tests/test-get-rusage-data.c: Likewise.
      * tests/test-getaddrinfo.c: Likewise.
      * tests/test-getlogin.h: Likewise.
      * tests/test-isatty.c: Likewise.
      * tests/test-localename.c: Likewise.
      * tests/test-mbrtowc-w32.c: Likewise.
      * tests/test-nonblocking.c: Likewise.
      * tests/test-nonblocking-pipe-main.c: Likewise.
      * tests/test-nonblocking-socket-main.c: Likewise.
      * tests/test-nonblocking-socket.h: Likewise.
      * tests/test-pipe.c: Likewise.
      * tests/test-pipe2.c: Likewise.
      * tests/test-poll.c: Likewise.
      * tests/test-pthread_sigmask1.c: Likewise.
      * tests/test-select.h: Likewise.
      * tests/test-sethostname2.c: Likewise.
      * tests/test-sigprocmask.c: Likewise.
      * tests/test-spawn-pipe-child.c: Likewise.
      * tests/test-stat-time.c: Likewise.
      * tests/test-system-quote-main.c: Likewise.
      * tests/test-utimens-common.h: Likewise.
      * tests/test-wcrtomb-w32.c: Likewise.
      * m4/csharpexec.m4 (gt_CSHARPEXEC): Likewise.
      * m4/getcwd.m4 (gl_FUNC_GETCWD_NULL): Likewise.
      * m4/javacomp.m4 (gt_JAVACOMP): Likewise.
      * m4/javaexec.m4 (gt_JAVAEXEC): Likewise.
      * m4/locale-ar.m4 (gt_LOCALE_AR): Likewise.
      * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Likewise.
      * m4/locale-ja.m4 (gt_LOCALE_JA): Likewise.
      * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): Likewise.
      * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Likewise.
      * m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): Likewise.
      * m4/nocrash.m4 (GL_NOCRASH): Likewise.
      * m4/pathmax.m4 (gl_PATHMAX_SNIPPET): Likewise.
      * m4/ptsname_r.m4 (gl_PREREQ_PTSNAME_R): Likewise.
      * m4/stdio_h.m4 (gl_STDIO_H): Likewise.
      * m4/tmpfile.m4 (gl_FUNC_TMPFILE): Likewise.
      * m4/unistd_h.m4 (gl_UNISTD_H): Likewise.
      44b65c48
  11. 28 Apr, 2018 1 commit
    • Paul Eggert's avatar
      manywarnings: port to GCC 8.0 · 36999acc
      Paul Eggert authored
      * build-aux/gcc-warning.spec: Add -Wcatch-value,
      -Wclass-memaccess, -Wdo-subscript, -Wextra-semi.  Adjust to the
      fact that the GCC help message now mentions operands for
      -Warray-bounds, -Wformat, -Wformat-overflow, -Wformat-truncation,
      -Wimplicit-fallthrough, -Wplacement-new, -Wshift-overflow,
      -Wstrict-aliasing, -Wstrict-overflow, -Wstringop-overflow,
      and -Wunused-const-variable.
      * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add -Wattribute-alias,
      -Wcast-align=strict, -Wcast-function-type, -Wif-not-aligned,
      -Wmissing-attributes, -Wmultistatement-macros,
      -Wpacked-not-aligned, -Wsizeof-pointer-div, -Wstringop-truncation,
      -Wsuggest-attribute=cold, -Wsuggest-attribute=malloc.
      36999acc
  12. 28 Mar, 2018 2 commits
  13. 27 Mar, 2018 1 commit
    • Paul Eggert's avatar
      time_rz: work around Mac OS X 10.6 infloop · 96caee5e
      Paul Eggert authored
      * doc/posix-functions/localtime.texi:
      * doc/posix-functions/localtime_r.texi: Mention the bug.
      * lib/time_rz.c (localtime_rz): Work around the bug.  It’d be
      better to fix localtime and localtime_r instead, but that would be
      more work and is not needed to fix the Emacs problem.
      * m4/time_rz.m4 (gl_TIME_RZ): Detect the bug.
      96caee5e
  14. 24 Mar, 2018 3 commits
    • Bruno Haible's avatar
      javacomp-script, javacomp: Add support for Java 10. · 8e33103c
      Bruno Haible authored
      * m4/javacomp.m4 (gt_JAVACOMP): Accept source-version 10 and
      target-version 10.
      * lib/javaversion.h: Update comments.
      * lib/javacomp.c (default_target_version, SOURCE_VERSION_BOUND,
      source_version_index, get_goodcode_snippet, get_failcode_snippet,
      TARGET_VERSION_BOUND, target_version_index,
      corresponding_classfile_version): Accept source_version 10 and
      target_version 10.
      * lib/javacomp.h: Update comments accordingly.
      8e33103c
    • Bruno Haible's avatar
      javacomp-script, javacomp: Update comments. · e6cf0b30
      Bruno Haible authored
      * m4/javacomp.m4: Update comments regarding gcj.
      * lib/javacomp.h: Likewise.
      e6cf0b30
    • Bruno Haible's avatar
      javacomp-script, javacomp: Fix support for Java 7, 8, 9. · 2d3dd35c
      Bruno Haible authored
      * lib/javaversion.h: Update comments.
      * lib/javacomp.h: Likewise.
      * lib/javacomp.c (default_target_version, source_version_index,
      get_goodcode_snippet, get_failcode_snippet): Recognize "9" instead of
      "1.9".
      (TARGET_VERSION_BOUND): Bump to 9.
      (target_version_index, corresponding_classfile_version): Recognize "9"
      instead of "1.9".
      (get_source_version_for_javac): New function.
      (is_envjavac_nongcj_usable, is_javac_usable): Add
      source_version_for_javac argument.
      (compile_java_class): Determine and pass source_version_for_javac.
      * m4/javacomp.m4: Recognize version '9' instead of '1.9'. When invoking
      $JAVAC or javac, pass '-source 1.6' instead of '-source 1.5' when
      appropriate.
      2d3dd35c
  15. 19 Mar, 2018 1 commit
  16. 18 Mar, 2018 1 commit
  17. 16 Mar, 2018 1 commit
    • Bruno Haible's avatar
      glob: Don't compile replacements on recent glibc systems. · a96f69a5
      Bruno Haible authored
      * lib/glob.in.h: Use the usual idiom for the double-inclusion guard. If
      REPLACE_GLOB is 0, include the system's <glob.h> and use
      _GL_CXXALIAS_SYS.
      * m4/glob.m4 (gl_GLOB): Set REPLACE_GLOB instead of GLOB_H. Accept
      _GNU_GLOB_INTERFACE_VERSION 2 as well. Delete the file conf$$-globtest
      inside the AC_RUN_IFELSE block. Remove GL_GENERATE_GLOB_H conditional.
      * modules/glob (Dependencies): Test REPLACE_GLOB instead of GLOB_H.
      Remove snippet/warn-on-use.
      (configure.ac): Test REPLACE_GLOB instead of GLOB_H.
      (Makefile.am): Create glob.h always. Update list of substitutions in
      glob.h. Don't depend on $(WARN_ON_USE_H).
      a96f69a5
  18. 15 Mar, 2018 1 commit
  19. 24 Feb, 2018 1 commit
    • Bruno Haible's avatar
      localename: Add support for musl libc. · ddd23eb8
      Bruno Haible authored
      * m4/localename.m4 (gl_LOCALENAME): Check for <langinfo.h>.
      * lib/localename.c (gl_locale_name_thread_unsafe): Use NL_LOCALE_NAME
      on Linux platforms which define NL_LOCALE_NAME.
      ddd23eb8
  20. 20 Feb, 2018 1 commit
    • Paul Eggert's avatar
      same: new function same_nameat · d50980dd
      Paul Eggert authored
      * lib/same.c: Include fcntl.h.
      * lib/same.c (same_nameat): New function, generalizing same_name.
      (same_name): Now a thin layer around same_nameat.
      * m4/same.m4 (gl_SAME): Check for fpathconf, not pathconf.
      * modules/same (Depends-on): Depend on fstatat, openat.
      d50980dd
  21. 18 Feb, 2018 1 commit
  22. 04 Feb, 2018 1 commit
  23. 03 Feb, 2018 1 commit