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. 11 Feb, 2013 1 commit
    • Paul Eggert's avatar
      unsetenv etc.: port to Solaris 11 + GNU Emacs · 49adc728
      Paul Eggert authored
      * lib/canonicalize-lgpl.c, lib/getaddrinfo.c, lib/getdelim.c:
      * lib/glob.c, lib/random_r.c, lib/setenv.c, lib/tsearch.c:
      * lib/unsetenv.c (_GL_ARG_NONNULL): Define before including <config.h>.
      GNU Emacs's <config.h> includes <stdlib.h> (which is not a great
      idea but is too painful to fix right now), and without this gnulib
      change <stdlib.h> was defining _GL_ARG_NONNULL incorrectly when
      compiling unsetenv.c on Solaris 11.  Fix the problem for
      unsetenv.c, and fix other similar occurrences.
      49adc728
  5. 01 Jan, 2013 1 commit
  6. 06 Jan, 2012 1 commit
  7. 01 Jan, 2012 1 commit
  8. 05 Jun, 2011 1 commit
  9. 08 Apr, 2011 1 commit
  10. 01 Jan, 2011 1 commit
  11. 09 Jun, 2010 2 commits
  12. 16 Apr, 2010 1 commit
  13. 01 Jan, 2010 1 commit
  14. 11 Dec, 2009 1 commit
  15. 10 Dec, 2009 1 commit
  16. 17 Nov, 2009 1 commit
    • Eric Blake's avatar
      setenv, unsetenv: work around various bugs · 8dffeb6f
      Eric Blake authored
      POSIX requires setenv(NULL,"",0), setenv("a=b","",0),
      unsetenv(NULL), and unsetenv("a=b") to fail with EINVAL, but
      many BSD implementations lack validation.  The gnulib
      replacement for void unsetenv did not do validation, and the
      replacement for setenv was out of sync with glibc.  Also, some
      BSD implementations of setenv("a","==",1) eat the leading '='.
      
      See also some recent Austin Group interpretations on environ:
      http://austingroupbugs.net/view.php?id=167
      http://austingroupbugs.net/view.php?id=185
      
      * lib/setenv.c (setenv) [!HAVE_SETENV]: Resync from glibc.
      (setenv) [HAVE_SETENV]: Work around bugs.
      * lib/unsetenv.c (unsetenv) [HAVE_UNSETENV]: Work around bugs.
      * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE, gl_FUNC_UNSETENV): Check
      for bugs.
      (gl_FUNC_SETENV): Write in terms of gl_FUNC_SETENV_SEPARATE.
      * m4/environ.m4 (gl_ENVIRON): Avoid expand-before-require.
      * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Update defaults.
      * modules/stdlib (Makefile.am): Update substitutions.
      * lib/stdlib.in.h (setenv, unsetenv): Update prototypes.
      * doc/posix-functions/setenv.texi (setenv): Document the bugs.
      * doc/posix-functions/unsetenv.texi (unsetenv): Likewise.
      * modules/setenv-tests: New test.
      * modules/unsetenv-tests: Likewise.
      * tests/test-setenv.c: New file.
      * tests/test-unsetenv.c: Likewise.
      Signed-off-by: default avatarEric Blake <ebb9@byu.net>
      8dffeb6f
  17. 24 Feb, 2008 1 commit
  18. 26 Dec, 2007 1 commit
  19. 07 Oct, 2007 1 commit
  20. 09 Jun, 2007 1 commit
  21. 03 Mar, 2007 1 commit
  22. 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
  23. 29 Jul, 2006 1 commit
  24. 22 Mar, 2006 1 commit
  25. 27 Feb, 2006 1 commit
  26. 24 Feb, 2006 1 commit
  27. 14 May, 2005 1 commit
  28. 02 Mar, 2005 1 commit
  29. 07 Aug, 2004 1 commit
  30. 20 Jan, 2004 1 commit
  31. 12 Sep, 2003 1 commit
  32. 10 Sep, 2003 1 commit
  33. 14 Jul, 2003 1 commit
  34. 10 Jan, 2003 1 commit
  35. 11 Dec, 2002 1 commit
  36. 09 Jul, 2000 1 commit
  37. 15 Jul, 1996 1 commit
  38. 01 Apr, 1996 1 commit
  39. 31 Mar, 1996 1 commit