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. 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
  3. 01 Jan, 2014 1 commit
  4. 01 Jan, 2013 1 commit
  5. 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
  6. 01 Jan, 2012 1 commit
  7. 21 Oct, 2011 1 commit
    • Bruno Haible's avatar
      openpty, posix_openpt: Remove code duplication. · 362dd1d5
      Bruno Haible authored
      * lib/posix_openpt.c: Add comments about platforms, from lib/openpty.c.
      * lib/openpty.c: Include <stdlib.h>.
      (openpty): Use posix_openpt on all platforms except IRIX.
      * modules/openpty (Depends-on): Add posix_openpt. Add conditions.
      362dd1d5
  8. 20 Oct, 2011 1 commit
    • Bruno Haible's avatar
      posix_openpt: Support for OpenBSD. · 3b50d196
      Bruno Haible authored
      * lib/posix_openpt.c [OpenBSD]: Include <sys/ioctl.h>, <sys/tty.h>.
      (posix_openpt) [OpenBSD]: New code.
      * lib/grantpt.c: Include <fcntl.h>.
      (grantpt) [OpenBSD]: Only test whether fd is valid, nothing else.
      * modules/grantpt (Depends-on): Add fcntl-h.
      3b50d196
  9. 19 Oct, 2011 2 commits
  10. 18 Oct, 2011 1 commit
    • Eric Blake's avatar
      posix_openpt: new module · 94d63c4b
      Eric Blake authored
      * modules/posix_openpt: New module.
      * m4/posix_openpt.m4: New file.
      * lib/posix_openpt.c: Likewise.
      * m4/stdlib_h.m4 (gl_STDLIB_H): Check for decl.
      (gl_STDLIB_H_DEFAULTS): Set defaults.
      * modules/stdlib (Makefile.am): Substitute macros.
      * lib/stdlib.in.h (posix_openpt): Declare.
      * MODULES.html.sh (systems lacking POSIX:2008): Document it.
      * doc/posix-functions/posix_openpt.texi (posix_openpt): Likewise.
      * modules/posix_openpt-tests: New test module.
      * tests/test-posix_openpt.c: New test.
      94d63c4b
  11. 01 Jan, 2011 1 commit
  12. 01 Jan, 2010 1 commit
  13. 30 Oct, 2009 1 commit
    • Eric Blake's avatar
      filenamecat: split into filenamecat-lgpl · b3338b63
      Eric Blake authored
      The concept of filenamecat is simple enough to use in an LGPL
      manner, even though current clients are GPL for other reasons.
      At any rate, it is nice to separate mfile_name_concat into its
      own file so that the linker does not fail without xalloc_die.
      
      * modules/filenamecat-lgpl: New module.
      * modules/filenamecat (Files): Move library-safe files into
      filenamecat-lgpl.
      (Depends-on): Add filenamecat-lgpl.
      (configure.ac): Declare witness.
      * lib/filenamecat.h (file_name_concat): Only declare when using
      GPL module.
      * lib/filenamecat.c (longest_relative_suffix, mfile_name_concat):
      Move...
      * lib/filenamecat-lgpl.c: ...into new file.
      * m4/filenamecat.m4 (gl_FILE_NAME_CONCAT_LGPL): New macro.
      (gl_FILE_NAME_CONCAT): Use it.
      * MODULES.html.sh (File system functions): Mention new module.
      Signed-off-by: default avatarEric Blake <ebb9@byu.net>
      b3338b63
  14. 11 Oct, 2007 1 commit
  15. 07 Oct, 2007 1 commit
  16. 24 Sep, 2007 1 commit
    • Jim Meyering's avatar
      filenamecat.c: Add a test. · de546cfa
      Jim Meyering authored
      * lib/filenamecat.c (main) [TEST_FILE_NAME_CONCAT]: Add a test
      showing how the function works when DIR is the empty string.
      de546cfa
  17. 08 Aug, 2007 1 commit
    • Jim Meyering's avatar
      New function: mfile_name_concat. · fe32d831
      Jim Meyering authored
      * lib/filenamecat.c (mfile_name_concat): New function, just like
      file_name_concat, but return NULL upon failure rather than exiting
      with a diagnostic.
      * lib/filenamecat.h: Declare it.
      fe32d831
  18. 13 Sep, 2006 1 commit
    • Paul Eggert's avatar
      * _fpending.c: Include <config.h> unconditionally, since we no · 0632e115
      Paul Eggert authored
      longer worry about uses that don't define HAVE_CONFIG_H.
      * acl.c, alloca.c, argmatch.c, atexit.c, backupfile.c:
      * basename.c, c-stack.c, c-strtod.c, calloc.c, canon-host.c:
      * canonicalize.c, chdir-long.c, chdir-safer.c, chown.c:
      * cloexec.c, close-stream.c, closeout.c, creat-safer.c:
      * cycle-check.c, diacrit.c, dirchownmod.c, dirfd.c, dirname.c:
      * dup-safer.c, dup2.c, error.c, euidaccess.c, exclude.c:
      * exitfail.c, fchmodat.c, fchown-stub.c, fd-safer.c:
      * file-type.c, fileblocks.c, filemode.c, filenamecat.c:
      * fnmatch.c, fopen-safer.c, fprintftime.c, free.c, fsusage.c:
      * ftruncate.c, fts-cycle.c, fts.c, full-write.c, gai_strerror.c:
      * getcwd.c, getdate.y, getdomainname.c, getgroups.c:
      * gethostname.c, gethrxtime.c, getloadavg.c, getlogin_r.c:
      * getndelim2.c, getnline.c, getopt.c, getopt1.c, getpass.c:
      * gettime.c, gettimeofday.c, getugroups.c, getusershell.c:
      * glob.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c:
      * human.c, idcache.c, inet_ntop.c, inet_pton.c, inttostr.c:
      * isdir.c, lchown.c, linebuffer.c, long-options.c, lstat.c:
      * malloc.c, md5.c, memcasecmp.c, memchr.c, memcmp.c, memcoll.c:
      * memcpy.c, memmove.c, memrchr.c, mkancesdirs.c, mkdir-p.c:
      * mkdir.c, mkdirat.c, mkstemp-safer.c, mkstemp.c, modechange.c:
      * mountlist.c, nanosleep.c, obstack.c, open-safer.c:
      * openat-die.c, openat.c, pagealign_alloc.c, physmem.c:
      * pipe-safer.c, posixtm.c, posixver.c, putenv.c, quote.c:
      * quotearg.c, raise.c, readtokens.c, readtokens0.c, readutmp.c:
      * realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c:
      * same.c, save-cwd.c, savedir.c, setenv.c, settime.c, sha1.c:
      * sig2str.c, snprintf.c, strdup.c, strerror.c, strftime.c:
      * stripslash.c, strndup.c, strnlen.c, strpbrk.c, strtod.c:
      * strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c:
      * timegm.c, tmpfile-safer.c, unlinkdir.c, userspec.c, utime.c:
      * utimecmp.c, utimens.c, version-etc-fsf.c, version-etc.c:
      * xalloc-die.c, xgetcwd.c, xgethostname.c, xmalloc.c:
      * xmemcoll.c, xnanosleep.c, xreadlink.c, xstrtod.c:
      * xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
      Likewise.
      0632e115
  19. 03 Jul, 2006 1 commit
  20. 19 Sep, 2005 1 commit
    • Paul Eggert's avatar
      Use a consistent style for including <config.h>. · 222b0486
      Paul Eggert authored
      * __fpending.c, acl.c, argmatch.c,
      argp-help.c, argp-parse.c,
      argp-pvh.c, backupfile.c, basename.c, c-stack.c,
      calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c,
      creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c,
      dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c,
      fd-safer.c, file-type.c, fileblocks.c, filemode.c,
      filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c,
      fsusage.c, ftruncate.c, full-write.c, fwriteerror.c,
      getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c,
      getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c,
      hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c,
      inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c,
      memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c,
      modechange.c, mountlist.c, open-safer.c, physmem.c,
      pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c,
      progreloc.c, putenv.c, quote.c, quotearg.c, readline.c,
      readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c,
      safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c,
      strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c,
      strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c,
      strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c,
      userspec.c, utimecmp.c, version-etc-fsf.c,
      version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c,
      xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c,
      xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
      Standardize inclusion of config.h.
      * __fpending.h, dirfd.h, getdate.h, human.h,
      inttostr.h:  Removed inclusion of config.h from header files.
      * inttostr.c:  Adjusted in-tree users.
      * timespec.h: Remove superfluous warning to include config.h.
      * atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c,
      gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c,
      nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c,
      unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H.
      222b0486
  21. 02 Jun, 2005 1 commit
    • Paul Eggert's avatar
      Sync from coreutils. · 359c0a71
      Paul Eggert authored
      Use "file name" when talking about file names, instead of "filename"
      or "path", as per the GNU coding standards.
      
      * MODULES.html.sh: mkdir-p renamed from makepath.
      filenamecat renamed from path-concat.
      * modules/filenamecat: Renamed from modules/path-concat.
      (Files): filenamecat.h and filenamecat.c renamed from
      path-concat.h and path-concat.c.
      (configure.ac): gl_FILE_NAME_CONCAT, not gl_PATH_CONCAT.
      (Include): filenamecat.h, not path-concat.h.
      * modules/mkdir-p: Renamed from modules/makepath.
      (Files): mkdir-p.h and mkdir-p.c renamed from makepath.h and makepath.c.
      (configure.ac): gl_MKDIR_PARENTS, not gl_MAKEPATH.
      (Include): mkdir-p.h, not makepath.h.
      * lib/mkdir-p.c: Renamed from makepath.c.
      (make_dir_parents): Renamed from make_path.  All callers changed.
      * lib/mkdir-p.h: Likewise.  All includers changed.
      * lib/filenamecat.c: Renamed from path-concat.c.
      (file_name_concat): Renamed from path_concat.  All callers changed.
      [TEST_FILE_NAME_CONCAT]: Renamed from TEST_PATH_CONCAT.
      * lib/filenamecat.h: Likewise.  All includers changed.
      * lib/acl.c: Don't use "path" or "filename" to mean "file name"
      in comments or local variable names.
      * lib/basename.c: Likewise.
      * lib/canonicalize.c, canonicalize.h: Likewise.
      * lib/dirname.c, dirname.h: Likewise.
      * lib/euidaccess.c: Likewise.
      * lib/exclude.c: Likewise
      * lib/fnmatch_.h, fnmatch_loop.c: Likewise.
      * lib/fsusage.c, fsuage.h: Likewise.
      * lib/fts.c, fts_.h: Likewise.
      * lib/getcwd.c: Likewise.
      * lib/getloadavg.c: Likewise.
      * lib/mkstemp.c: Likewise.
      * lib/mountlist.c, mountlist.h: Likewise.
      * lib/openat.c, openat.h: Likewise.
      * lib/readlink-stub.c: Likewise.
      * lib/readutmp.c, readutmp.h: Likewise.
      * lib/rename.c: Likewise.
      * lib/rmdir.c: Likewise.
      * lib/same.c: Likewise.
      * lib/savedir.c: Likewise.
      * lib/stripslash.c: Likewise.
      * lib/tempname.c: Likewise.
      * lib/xreadlink.c: Likewise.
      * lib/exclude.c (excluded_file_name): Renamed from excluded_filename.
      All uses changed.
      * lib/exclude.h: Likewise.
      * m4/mkdir-p.m4: Renamed from makepath.m4.
      (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH.  All uses changed.
      Rename files from makepath.c to mkdir-p.c, and from
      makepath.h to mkdir-p.h.
      * m4/filenamecat.m4: Renamed from path-concat.m4.
      (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT.  All uses changed.
      Rename files from path-concat.c to filenamecat.c,
      and from path-concat.h to filenamecat.h.
      * m4/getcwd-path-max.m4: Don't use "path" or "filename" to mean
      "file name" in local variables or comments.
      * rename.m4: Likewise.
      
      * lib/euidaccess.c (getuid, getgid, getuid, getegid)
      [!defined _POSIX_VERSION]: Remove decls; not needed these days.
      * lib/idcache.c (getpwuid, getpwnam, getgrgid, getgrnam)
      [!defined _POSIX_VERSION]: Remove decls; not needed these days.
      * lib/pathmax.h: Include <limits.h> unconditionally, since other
      files have been getting away with it for years (MORE/BSD 4.3
      is extinct now).
      * lib/userspec.c (getpwnam, getgrnam, getgrgid)
      [!defined _POSIX_VERSION]: Remove decls; not needed these days.
      
      * lib/pathmax.h (_POSIX_PATH_MAX) [!defined _POSIX_PATH_MAX]:
      Define to 256, not 255, as per modern POSIX.
      359c0a71
  22. 15 May, 2005 1 commit
    • Paul Eggert's avatar
      Sync from coreutils. · 6ef9a073
      Paul Eggert authored
      * modules/yesno (Depends-on): Add getline.
      * gethrxtime.c, gethrxtime.h, getpass.h, mountlist.h, path-concat.c,
      regex.h, strtoll.c, unlocked-io.h, xtime.h:
      White space changes only.
      * makepath.c (make_path): Port to hosts where leading "//" is special.
      * yesno.c: Include getline.h, not ctype.h.
      (yesno): Don't remove leading white space; POSIX doesn't allow it.
      Use getline to remove arbitrary restriction on response length.
      6ef9a073
  23. 14 May, 2005 1 commit
  24. 21 Mar, 2005 1 commit
  25. 06 Aug, 2004 1 commit
    • Paul Eggert's avatar
      (mempcpy): Don't define if a system header defines it. · 9db47123
      Paul Eggert authored
      Don't include stdio.h, stdlib.h, unistd.h, strdup.h.
      (longest_relative_suffix): New function.
      (path_concat): Use it.  Assume first argument is not NULL.
      Port to DOS.  Omit redundant separators.
      Report an error instead of returning NULL.
      Use mempcpy instead of memcpy.
      (xpath_concat): Remove: not declared or used.
      9db47123
  26. 25 Feb, 2004 1 commit
  27. 09 Sep, 2003 1 commit
  28. 23 Feb, 2002 1 commit
  29. 12 May, 2001 1 commit
  30. 13 Mar, 2001 1 commit
  31. 04 Dec, 2000 2 commits
  32. 21 Jun, 2000 1 commit
  33. 29 Apr, 2000 1 commit
  34. 05 Apr, 2000 1 commit
  35. 26 Sep, 1999 1 commit
  36. 07 Dec, 1998 1 commit
  37. 15 Mar, 1998 1 commit
  38. 25 Dec, 1997 1 commit