1. 02 Feb, 2016 1 commit
  2. 31 Jan, 2016 1 commit
  3. 25 Jan, 2016 2 commits
  4. 24 Jan, 2016 6 commits
  5. 22 Jan, 2016 1 commit
  6. 21 Jan, 2016 3 commits
  7. 20 Jan, 2016 1 commit
    • Pádraig Brady's avatar
      gnu-web-doc-update: fix addition of new files · 64653060
      Pádraig Brady authored
      If there were already added (emnpty) dirs,
      then cvs aborts the add with the message:
        cvs [add aborted]: there is a version in <./dirname> already
      * build-aux/gnu-web-doc-update: Add directories separately
      to the addition of files, to avoid the above issue
      impacting the addition of files.
  8. 19 Jan, 2016 1 commit
  9. 18 Jan, 2016 4 commits
  10. 15 Jan, 2016 14 commits
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      gnulib-tool: don't assume ln -s works · 0e50dd00
      Paul Eggert authored
      * gnulib-tool (func_ln_s): New function.
      (func_ln): Use it.
    • KO Myung-Hun's avatar
      utimes: detect utimes() correctly on OS/2 kLIBC · 8968c785
      KO Myung-Hun authored
      utimes() of OS/2 kLIBC has some limitations.
      1. OS/2 itself supports a file date since 1980 year in local time.
      2. OS/2 itself supports only even seconds for a file time.
      3. utimes() of OS/2 kLIBC does not work on an opened file.
      * m4/utimes.m4: Detect utimes() correctly on OS/2 kLIBC.
      * doc/posix-functions/utimes.texi: Document the above limitations of
      utimes() on OS/2 kLIBC.
    • Paul Eggert's avatar
      openat_proc_name: port to OS/2 kLIBC · de11c4a4
      Paul Eggert authored
      OS/2 kLIBC provides a function to retrive a path from a fd. Use it
      instead of /proc/self/fd.
      * lib/openat-proc.c (openat_proc_name):
      Don't assume file name length is less than INT_MAX.
      Port to OS/2 kLIBC with __libc_Back_ioFHToPath().
    • KO Myung-Hun's avatar
      stdint: check _INTPTR_T_DECLARED for intptr_t etc. · 1aa6d214
      KO Myung-Hun authored
      OS/2 kLIBC's stdint.h defines _INTPTR_T_DECLARED and needs its own
      definitions of intptr_t and uintptr_t (which use int and unsigned)
      to avoid clashes with declarations of system functions like sbrk.
      * lib/stdint.in.h (intptr_t, uintptr_t): Check
      _INTPTR_T_DECLARED before defining them.
    • Pádraig Brady's avatar
      doc: mention unfixed issues with unsupported localtime() values · 95c48427
      Pádraig Brady authored
      Note perl has configure time checks in place to avoid this.
      * doc/posix-functions/localtime.texi: Mention that FreeBSD 10
      returns nonsense for localtime(2^56).
      * doc/posix-functions/localtime_r.texi: Likewise.
    • Paul Eggert's avatar
      Go back to gettext-0.19.7 · ec513ffc
      Paul Eggert authored
    • KO Myung-Hun's avatar
      opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC · 7524d610
      KO Myung-Hun authored
      * lib/closedir.c (closedir): Unregister fd if closedir() succeeds.
      * lib/dirent.in.h (_gl_register_dirp_fd, _gl_unregister_dirp_fd):
      Declare on kLIBC.
      * lib/dirfd.c (struct dirp_fd_list): New. Structures to keep track of
      fd associated with dirp.
      (_gl_register_dirp_fd): New. Register fd associated with dirp to
      (_gl_unregister_dirp_fd): New. Unregister fd with closing it.
      (dirfd): Implemented for kLIBC.
      * lib/fdopendir.c (fdopendir): Implemented for kLIBC.
      * lib/opendir.c (opendir): New. Register fd and dirp pair if open()
      * m4/closedir.m4 (gl_FUNC_CLOSEDIR): Replace if OS/2.
      * m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
      (REPLACE_DIRFD): Define to 1 if replaced.
      * m4/opendir.m4 (gl_FUNC_OPENDIR): Likewise.
      * modules/closedir (Depends-on): Add dirfd.
      * modules/dirfd (Depends-on): Add 'test $REPLACE_DIRFD = 1' to errno
      (configure.ac): Add dirfd to LIBOBJS if $REPLACE_DIRFD = 1 as well.
      * modules/opendir (Depends-on): Add dirfd.
    • KO Myung-Hun's avatar
      dup, dup2, fcntl: support a directory fd on OS/2 kLIBC · c7e1cc41
      KO Myung-Hun authored
      On OS/2 kLIBC, dup(), dup2() and fcntl() do not work on a directory
      * lib/dup.c (dup_nothrow): New.
      * lib/dup2.c (klibc_dup2dirfd): New. dup2() for a directory fd.
      (klibc_dup2): New.
      * lib/fcntl.c (klibc_fcntl): New.
      * m4/dup.m4 (gl_FUNC_DUP): Check if dup() works on a directory fd.
      * m4/dup2.m4 (gl_FUNC_DUP2): Check if dup2() works on a directory fd.
      * m4/fcntl.m4 (gl_FUNC_FCNTL): Check if F_DUPFD works on a directory
    • KO Myung-Hun's avatar
      pipe_filter_ii_execute: port to OS/2 kLIBC · cb05f286
      KO Myung-Hun authored
      Pipes on kLIBC do not support O_NONBLOCK like Win32.
      * lib/pipe-filter-ii.c (start_wrapper, _beginthreadex, CloseHandle,
      WaiForSingleObject, WaitForMultipleObjects): New on OS/2 kLIBC.
      Reuse Win32 code on OS/2 kLIBC.
      * lib/spawn-pipe.c: Reuse Win32 code on OS/2 kLIBC.
      * lib/w32spawn.h: Do not include windows.h on OS/2 kLIBC.
    • KO Myung-Hun's avatar
      wchar: fix "conflicting types" error for __wcwidth on OS/2 kLIBC · caee5155
      KO Myung-Hun authored
      On OS/2 kLIBC, wcwidth is a macro that expands to the name of a
      static inline function.  The implementation of wcwidth in wcwidth.c
      causes a "conflicting types" error.
      * lib/wchar.in.h: Undefine wcwidth on OS/2 kLIBC.
    • KO Myung-Hun's avatar
      w32spawn: clear SHELL_SPECIAL_CHARS and SHELL_SPACE_CHAR on OS/2 kLIBC · ef179418
      KO Myung-Hun authored
      spawn() on OS/2 kLIBC is not silly like one on Windows
      * libc/w32spawn.h (SHELL_SPECIAL_CHARS, SHELL_SPACE_CHAR): Set both to
      empty string on OS/2 kLIBC.
    • KO Myung-Hun's avatar
      pipe-filter-aux: undefine HAVE_SELECT on KLIBC · c9e89c9d
      KO Myung-Hun authored
      On OS/2 kLIBC, select() works only on sockets.
      * lib/pipe-filter-aux.h (HAVE_SELECT): Undefine on OS/2 kLIBC.
    • KO Myung-Hun's avatar
      binary-io: don't put fd in binary mode if it is a console on EMX · 46c54f17
      KO Myung-Hun authored
      * lib/binary-io.h (SET_BINARY): Don't put fd in binary mode if it is
      a console on EMX.
  11. 14 Jan, 2016 2 commits
    • Pádraig Brady's avatar
      doc: mention setlocale() issues on OpenBSD · 5ac0e2ba
      Pádraig Brady authored
      * doc/posix-functions/setlocale.texi: Mention setlocale(LC_ALL,"")
      never fails, and the need to check categories individually.
    • Pádraig Brady's avatar
      sig2str: list all signals on FreeBSD >= 7 · dce117ac
      Pádraig Brady authored
      FreeBSD >= 7 is contravening POSIX by not defining NSIG
      to the maximal statically defined signal value.
      It does define _SIG_MAXSIG though, so base SIGNUM_BOUND on that.
      * lib/sig2str.h (SIGNUM_BOUND): Define to (_SIG_MAXSIG - 2)
      where available, even when NSIG is defined.
  12. 13 Jan, 2016 2 commits
  13. 12 Jan, 2016 2 commits
    • Paul Eggert's avatar
      Port "$@" to OpenIndiana ksh93 · 8c4223e2
      Paul Eggert authored
      In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
      Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
      (derived from ksh 93t+ 2010-03-05).  ${1+"$@"} works around an ancient
      bug long-dead shells, so remove the workaround.
      * build-aux/announce-gen, build-aux/do-release-commit-and-tag:
      * build-aux/gitlog-to-changelog, build-aux/gnu-web-doc-update:
      * build-aux/prefix-gnulib-mk, build-aux/update-copyright:
      * build-aux/useless-if-before-free, tests/test-update-copyright.sh:
      Use "$@" instead of ${1+"$@"}.
    • Paul Eggert's avatar
      autoupdate · 3f89681a
      Paul Eggert authored