1. 01 Jan, 2016 1 commit
    • Paul Eggert's avatar
      version-etc: new year · 71090a2a
      Paul Eggert authored
      * build-aux/gendocs.sh (version):
      * doc/gendocs_template:
      * doc/gendocs_template_min:
      * doc/gnulib.texi:
      * lib/version-etc.c (COPYRIGHT_YEAR):
      Update copyright dates by hand in templates and the like.
      * all files: Run 'make update-copyright'.
      71090a2a
  2. 24 Sep, 2015 1 commit
  3. 01 Jan, 2015 1 commit
    • Paul Eggert's avatar
      version-etc: new year · b9bfe784
      Paul Eggert authored
      * doc/gnulib.texi:
      * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date.
      * all files: Run 'make update-copyright'.
      b9bfe784
  4. 01 Jan, 2014 1 commit
  5. 07 May, 2013 1 commit
    • Mike Frysinger's avatar
      acl: include quote.h · 05ed80b6
      Mike Frysinger authored
      These files use quote(), so include quote.h for it otherwise we fail to
      build with errors like:
      copy-acl.c: In function 'copy_acl':
      copy-acl.c:51:7: error: implicit declaration of function 'quote'
      	[-Werror=implicit-function-declaration]
      
      * lib/copy-acl.c: Include quote.h.
      * lib/set-acl.c: Likewise.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      05ed80b6
  6. 30 Apr, 2013 1 commit
  7. 28 Apr, 2013 1 commit
    • Paul Eggert's avatar
      qacl: new module, broken out from the acl module · b20b7b0b
      Paul Eggert authored
      This is for GNU Emacs, which wants the acl functions but does
      not want 'error' invoked when they fail.
      * lib/acl-internal.h: Do not include error.h, quote.h.
      (ENOSYS, ENOTSUP): Remove; no longer needed.
      (ACL_NOT_WELL_SUPPORTED): Remove; replaced by acl_errno_valid.
      * lib/acl.h: Include <stdbool.h>.
      (acl_errno_valid): New function.
      * lib/copy-acl.c, lib/set-acl.c: Include errno,h, not acl-internal.h.
      * lib/copy-acl.c (qcopy_acl): Move to lib/qcopy-acl.c.
      * lib/set-acl.c: Rename from lib/set-mode-acl.c.
      (chmod_or_fchmod, qset_acl): Move to lib/qset-acl.c.
      (ACL_INTERNAL_INLINE): Remove; no longer needed.
      * lib/file-has-acl.c (file_has_acl):
      * lib/qcopy-acl.c (qcopy_acl):
      * lib/qset-acl.c (qset_acl):
      Use acl_errno_valid instead of ACL_NOT_WELL_SUPPORTED.
      * modules/acl (Files): Move lib/acl.h, lib/acl-internal.h,
      lib/acl_entries.c, lib/set-mode-acl.c (renamed to lib/set-acl.c),
      lib/file-has-acl.c, m4/acl.m4 to qacl module.
      Add lib/set-acl.c.
      (Depends-on): Move extern-inline, fstat, sys_stat to qacl module.
      Add qacl.
      (configure.ac): Move gl_FUNC_ACL to qacl module.
      (lib_SOURCES): Remove file-has-acl.c (moved to qacl module).
      Rename set-mode-acl.c to set-acl.c.
      * lib/acl-errno-valid.c: New file.
      * lib/qcopy-acl.c: New file, moved from the old lib/copy-acl.c; the
      copy_acl function remains in copy-acl.c.
      * lib/qcopy-acl.c, lib/qset-acl.c: Do not include gettext.h.
      (_): Remove; not needed.
      * lib/qset-acl.c: New file, moved from the old lib/set-mode-acl.c; the
      set_acl function remains in set-acl.c (renamed from set-mode-acl.c).
      * modules/qacl: New file, moved from the old modules/acl.
      (Files, lib_SOURCES): Add acl-errno-valid.c, qcopy-acl.c, qset-acl.c.
      Remove set-mode-acl.c, copy-acl.c.
      (Depends-on): Remove error, gettext-h, quote.  Add stdbool.
      b20b7b0b
  8. 01 Jan, 2013 1 commit
  9. 22 Jun, 2012 1 commit
    • Bruno Haible's avatar
      Write "Mac OS X" instead of "MacOS X". · 06b335ad
      Bruno Haible authored
      * README: Write "Mac OS X" instead of "MacOS X".
      * build-aux/bootstrap: Likewise.
      * build-aux/install-reloc: Likewise.
      * lib/acl-internal.h: Likewise.
      * lib/acl_entries.c: Likewise.
      * lib/argp-ba.c: Likewise.
      * lib/argp-pv.c: Likewise.
      * lib/config.charset: Likewise.
      * lib/copy-acl.c: Likewise.
      * lib/csharpexec.c: Likewise.
      * lib/euidaccess.c: Likewise.
      * lib/fbufmode.c: Likewise.
      * lib/fflush.c: Likewise.
      * lib/file-has-acl.c: Likewise.
      * lib/filemode.h: Likewise.
      * lib/fpurge.c: Likewise.
      * lib/freadable.c: Likewise.
      * lib/freadahead.c: Likewise.
      * lib/freading.c: Likewise.
      * lib/freadptr.c: Likewise.
      * lib/freadseek.c: Likewise.
      * lib/fseeko.c: Likewise.
      * lib/fseterr.c: Likewise.
      * lib/fsusage.c: Likewise.
      * lib/fwritable.c: Likewise.
      * lib/fwriting.c: Likewise.
      * lib/get-rusage-as.c: Likewise.
      * lib/get-rusage-data.c: Likewise.
      * lib/getdomainname.c: Likewise.
      * lib/idpriv-drop.c: Likewise.
      * lib/idpriv-droptemp.c: Likewise.
      * lib/localcharset.c: Likewise.
      * lib/locale.in.h: Likewise.
      * lib/localename.c: Likewise.
      * lib/mbsrtowcs-state.c: Likewise.
      * lib/nproc.c: Likewise.
      * lib/passfd.c: Likewise.
      * lib/posix_openpt.c: Likewise.
      * lib/printf-parse.c: Likewise.
      * lib/progreloc.c: Likewise.
      * lib/safe-read.h: Likewise.
      * lib/safe-write.h: Likewise.
      * lib/sched.in.h: Likewise.
      * lib/set-mode-acl.c: Likewise.
      * lib/signal.in.h: Likewise.
      * lib/stdint.in.h: Likewise.
      * lib/stdio-impl.h: Likewise.
      * lib/stdlib.in.h: Likewise.
      * lib/strtod.c: Likewise.
      * lib/sys_select.in.h: Likewise.
      * lib/tcgetsid.c: Likewise.
      * lib/unistd.in.h: Likewise.
      * lib/unlockpt.c: Likewise.
      * lib/vasnprintf.c: Likewise.
      * lib/vma-iter.c: Likewise.
      * lib/wcsrtombs-state.c: Likewise.
      * m4/acl.m4: Likewise.
      * m4/acosl.m4: Likewise.
      * m4/asinl.m4: Likewise.
      * m4/atanl.m4: Likewise.
      * m4/c-stack.m4: Likewise.
      * m4/cosl.m4: Likewise.
      * m4/expl.m4: Likewise.
      * m4/extensions.m4: Likewise.
      * m4/fdatasync.m4: Likewise.
      * m4/fmal.m4: Likewise.
      * m4/frexp.m4: Likewise.
      * m4/frexpf.m4: Likewise.
      * m4/frexpl.m4: Likewise.
      * m4/fsusage.m4: Likewise.
      * m4/getdomainname.m4: Likewise.
      * m4/getloadavg.m4: Likewise.
      * m4/getopt.m4: Likewise.
      * m4/gettext.m4: Likewise.
      * m4/gnulib-common.m4: Likewise.
      * m4/intdiv0.m4: Likewise.
      * m4/intlmacosx.m4: Likewise.
      * m4/largefile.m4: Likewise.
      * m4/ldexpl.m4: Likewise.
      * m4/link-follow.m4: Likewise.
      * m4/locale-ar.m4: Likewise.
      * m4/locale-fr.m4: Likewise.
      * m4/locale-ja.m4: Likewise.
      * m4/locale-tr.m4: Likewise.
      * m4/locale-zh.m4: Likewise.
      * m4/locale_h.m4: Likewise.
      * m4/lock.m4: Likewise.
      * m4/logl.m4: Likewise.
      * m4/mathfunc.m4: Likewise.
      * m4/minus-zero.m4: Likewise.
      * m4/mktime.m4: Likewise.
      * m4/mmap-anon.m4: Likewise.
      * m4/multiarch.m4: Likewise.
      * m4/nanosleep.m4: Likewise.
      * m4/nocrash.m4: Likewise.
      * m4/poll.m4: Likewise.
      * m4/printf-frexpl.m4: Likewise.
      * m4/printf.m4: Likewise.
      * m4/signbit.m4: Likewise.
      * m4/sinl.m4: Likewise.
      * m4/sqrtl.m4: Likewise.
      * m4/strerror_r.m4: Likewise.
      * m4/tanl.m4: Likewise.
      * m4/threadlib.m4: Likewise.
      * m4/ttyname_r.m4: Likewise.
      * m4/unlink.m4: Likewise.
      * m4/visibility.m4: Likewise.
      * m4/wcwidth.m4: Likewise.
      * tests/minus-zero.h: Likewise.
      * tests/test-alloca-opt.c: Likewise.
      * tests/test-copy-acl.sh: Likewise.
      * tests/test-copy-file.sh: Likewise.
      * tests/test-fdatasync.c: Likewise.
      * tests/test-file-has-acl.sh: Likewise.
      * tests/test-flock.c: Likewise.
      * tests/test-fsync.c: Likewise.
      * tests/test-localename.c: Likewise.
      * tests/test-malloca.c: Likewise.
      * tests/test-nonblocking-pipe.h: Likewise.
      * tests/test-nonblocking-socket.h: Likewise.
      * tests/test-openpty.c: Likewise.
      * tests/test-posix_openpt.c: Likewise.
      * tests/test-ptsname.c: Likewise.
      * tests/test-ptsname_r.c: Likewise.
      * tests/test-sameacls.c: Likewise.
      * tests/test-select.h: Likewise.
      * tests/test-set-mode-acl.sh: Likewise.
      * tests/test-snprintf-posix.h: Likewise.
      * tests/test-sprintf-posix.h: Likewise.
      * tests/test-strtod.c: Likewise.
      * tests/test-time.c: Likewise.
      * tests/test-vasnprintf-posix.c: Likewise.
      * tests/test-vasprintf-posix.c: Likewise.
      * doc/acl-resources.txt: Likewise.
      * doc/**/*.texi: Likewise.
      Reported by Max Horn <max@quendi.de>.
      06b335ad
  10. 20 Feb, 2012 1 commit
  11. 19 Feb, 2012 1 commit
  12. 12 Jan, 2012 2 commits
  13. 01 Jan, 2012 1 commit
  14. 06 Sep, 2011 1 commit
    • Bruno Haible's avatar
      acl: Fix a test failure on IRIX 6.5 with NFS. · 06d3319b
      Bruno Haible authored
      * lib/acl-internal.h (MODE_INSIDE_ACL): Define to 0 on IRIX.
      * lib/set-mode-acl.c (qset_acl): Test !HAVE_ACL_TYPE_EXTENDED instead
      of MODE_INSIDE_ACL. If !MODE_INSIDE_ACL, do a chmod_or_fchmod always.
      * lib/copy-acl.c (qcopy_acl): Likewise.
      06d3319b
  15. 05 Sep, 2011 2 commits
    • Bruno Haible's avatar
      acl: Clean up Solaris code. · 1b73d498
      Bruno Haible authored
      * lib/acl-internal.h: Remove no-op #if.
      * lib/file-has-acl.c: Likewise.
      * lib/set-mode-acl.c (qset_acl): Remove unused Solaris code.
      * lib/copy-acl.c (qcopy_acl): Likewise.
      1b73d498
    • Bruno Haible's avatar
      acl: Improve support of NFSv4 ACLs on Solaris 10 (newer version). · ceb5e179
      Bruno Haible authored
      * lib/acl-internal.h (acl_nontrivial): Declare also on newer Solaris
      10.
      * lib/file-has-acl.c (acl_nontrivial): Define also on newer Solaris 10.
      (acl_ace_nontrivial): Likewise. Recognize the trivial ACLs with 6 ACEs.
      * lib/copy-acl.c (qcopy_acl): On newer Solaris 10, use acl or facl
      instead of acl_get, facl_get, acl_set, facl_set.
      ceb5e179
  16. 13 Jun, 2011 1 commit
    • Bruno Haible's avatar
      acl: Add support for HP-UX >= 11.11 JFS ACLs. · 227b08bb
      Bruno Haible authored
      * doc/acl-resources.txt: Add info about the ACL APIs on HP-UX.
      * m4/acl.m4 (gl_FUNC_ACL): Also test for HP-UX 11.11 API.
      * lib/acl-internal.h [HP-UX 11.11]: Include <aclv.h>.
      (acl, aclsort): New declarations.
      (aclv_nontrivial): New declaration.
      * lib/file-has-acl.c (aclv_nontrivial) [HP-UX 11.11]: New function.
      (file_has_acl): Read also the second kind of HP-UX ACLs.
      * lib/set-mode-acl.c (qset_acl) [HP-UX 11.11]: Try to set the second
      kind of HP-UX ACLs if the first kind fails.
      * lib/copy-acl.c (qcopy_acl) [HP-UX 11.11]: Read and set also the
      second kind of HP-UX ACLs.
      * tests/test-sameacls.c [HP-UX 11.11]: Include <aclv.h>.
      (main) [HP-UX 11.11]: Test also whether the second kind of HP-UX ACLs
      agree.
      * tests/test-file-has-acl.sh (acl_flavor) [HP-UX 11.11]: Set to
      hpuxjfs.
      Handle hpuxjfs.
      * tests/test-set-mode-acl.sh (acl_flavor) [HP-UX 11.11]: Set to
      hpuxjfs.
      Handle hpuxjfs.
      * tests/test-copy-acl.sh (acl_flavor) [HP-UX 11.11]: Set to hpuxjfs.
      (func_test_same_acls): Use both lsacl and getacl.
      Handle hpuxjfs.
      * tests/test-copy-file.sh (acl_flavor) [HP-UX 11.11]: Set to hpuxjfs.
      (func_test_same_acls): Use both lsacl and getacl.
      Handle hpuxjfs.
      227b08bb
  17. 12 Jun, 2011 1 commit
  18. 01 Jan, 2011 1 commit
  19. 19 Dec, 2010 1 commit
    • Paul Eggert's avatar
      acl: port to Solaris 8 when copying from tmpfs to ufs · ef6309e7
      Paul Eggert authored
      * lib/copy-acl.c (qcopy_acl): Also allow EINVAL as an ignorable
      error number.  Problem observed on Solaris 8 with latest
      coreutils, with "mv A B", where A is on a tmpfs file system and B
      is on a ufs file system.  This caused coreutils' mv/part-symlink
      test to fail.
      ef6309e7
  20. 03 Oct, 2010 1 commit
    • Bruno Haible's avatar
      acl: Add support for ACLs on NonStop Kernel. · 7c2e3688
      Bruno Haible authored
      * m4/acl.m4 (gl_FUNC_ACL): For Solaris, test for facl(), not for acl().
      Check whether the function aclsort() exists.
      * lib/acl-internal.h: For Solaris, test HAVE_FACL, not HAVE_ACL.
      (acl_nontrivial) [HAVE_ACLSORT]: New declaration.
      * lib/file-has-acl.c: For Solaris, test HAVE_FACL, not HAVE_ACL.
      (acl_nontrivial [HAVE_ACLSORT]: New function.
      (file_has_acl): Implement for NonStop Kernel.
      * lib/set-mode-acl.c: For Solaris, test HAVE_FACL, not HAVE_ACL.
      (qset_acl): Implement for NonStop Kernel.
      * lib/copy-acl.c (qcopy_acl): Implement for NonStop Kernel.
      * tests/test-sameacls.c: For Solaris, test HAVE_FACL, not HAVE_ACL.
      (main): Implement for NonStop Kernel.
      * tests/test-file-has-acl.sh (acl_flavor): Set to 'nsk' on NonStop
      Kernel. Handle this flavor.
      * tests/test-set-mode-acl.sh: Likewise.
      * tests/test-copy-acl.sh: Likewise.
      * tests/test-copy-file.sh: Likewise.
      7c2e3688
  21. 10 Aug, 2010 1 commit
  22. 02 Mar, 2010 1 commit
    • Ben Walton's avatar
      copy-acl: enhance Solaris ACL error handling · ca156dd8
      Ben Walton authored
      Gracefully handle EOPNOTSUPP in qcopy_acl and qset_acl.  These
      functions, as used in coreutils, were causing the test suite to fail
      on Solaris 8 i386 with ZFS-backed NFSv3 mounts.  The failures included
      errors such as:
      
      FAIL: cp/backup-dir
      cp: preserving permissions for `y/x': Operation not supported on
      transport endpoint
      
      * lib/copy-acl.c (qcopy_acl): Also ignore EOPNOTSUPP.
      * lib/set-mode-acl.c (qset_acl): Likewise.
      Signed-off-by: default avatarBen Walton <bwalton@artsci.utoronto.ca>
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      ca156dd8
  23. 01 Jan, 2010 1 commit
  24. 29 Dec, 2009 1 commit
    • Jim Meyering's avatar
      update nearly all FSF copyright year lists to include 2009 · 3030c5b5
      Jim Meyering authored
      The files named by the following are exempted:
      
          grep -v '^#' config/srclist.txt|grep -v '^$' \
            | while read src dst; do
                test -f "$dst" && { echo "$dst"; continue; }
                test -d "$dst" || continue
                echo "$dst"/$(basename "$src")
              done > exempt
          git ls-files tests/unictype >> exempt
      
      In the remaining files, convert to all-interval notation if
      - there is already at least one year interval like 2000-2003
      - the file is maintained by me
      - the file is in lib/uni*/, where that style already prevails
      Otherwise, use update-copyright's default.
      3030c5b5
  25. 10 Dec, 2009 1 commit
  26. 11 Oct, 2008 1 commit
  27. 11 Jun, 2008 1 commit
  28. 08 Jun, 2008 8 commits
  29. 07 Jun, 2008 1 commit
  30. 06 Jun, 2008 1 commit
  31. 04 Jun, 2008 1 commit