1. 11 Mar, 2019 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · e2f35443
      Paul Eggert authored
      This incorporates:
      2019-03-10 alloca-opt: Fix conflict mingw's new <alloca.h> file
      2019-03-03 getloadavg: Write NULL for the null pointer
      Reported by Michal Privoznik <mprivozn@redhat.com>.
      * lib/getloadavg.c (getloadavg): Write NULL instead of 0.
      * build-aux/config.guess, build-aux/move-if-change:
      * doc/misc/texinfo.tex, lib/alloca.in.h, lib/getloadavg.c:
      * m4/alloca.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
      e2f35443
  2. 01 Jan, 2019 1 commit
  3. 08 Mar, 2018 1 commit
    • Paul Eggert's avatar
      Update from Gnulib · bb1309f1
      Paul Eggert authored
      This includes:
      2018-03-07 maint: write-file-hooks -> before-save-hook
      2018-03-05 binary-io: pacify gcc -Wunused-parameter
      2018-03-05 fflush: adjust to glibc 2.28 libio.h removal
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/gitlog-to-changelog, build-aux/install-sh:
      * build-aux/move-if-change, build-aux/update-copyright:
      * doc/misc/texinfo.tex, lib/binary-io.h, lib/fpending.c:
      * lib/stdio-impl.h: Copy from Gnulib.
      bb1309f1
  4. 01 Jan, 2018 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · 220a9ecb
      Paul Eggert authored
      This incorporates:
      2018-01-01 maint: Run 'make update-copyright'
      2017-12-29 Add cross-compilation results for GNU/Hurd.
      2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0
      220a9ecb
  5. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · a0202fdc
      Paul Eggert authored
      This incorporates:
      2017-09-13 all: prefer https: URLs
      This just changes http: to https: in comments,
      in files copied from Gnulib.
      a0202fdc
  6. 01 Jan, 2017 1 commit
  7. 19 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · cd19641e
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      cd19641e
  8. 12 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 0ed0a9b7
      Paul Eggert authored
      This mostly just changes "UTC" to "UTC0" for POSIX conformance.
      It also updates to the latest version of texinfo.tex.
      * build-aux/gitlog-to-changelog, build-aux/move-if-change:
      * build-aux/update-copyright, doc/misc/texinfo.tex:
      Update from gnulib.
      0ed0a9b7
  9. 01 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 98253051
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      98253051
  10. 01 Jan, 2015 2 commits
  11. 01 Jan, 2014 1 commit
  12. 01 Jan, 2013 1 commit
  13. 26 May, 2012 1 commit
  14. 07 Sep, 2011 2 commits
  15. 24 Jul, 2011 1 commit
    • Paul Eggert's avatar
      Merge from gnulib, using build-aux to remove clutter. · 24e0f6b1
      Paul Eggert authored
      * m4/largefile.m4: New file, so that Emacs does not mess up when
      accessing files with large inode numbers in MacOS X 10.5 and later.
      * m4/nocrash.m4: New file, to avoid triggering background debugger
      and/or create core dumps during 'configure'.
      * build-aux/move-if-change: Renamed from move-if-change.
      * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
      * build-aux/snippet/c++defs.h: Renamed from c++defs.h.
      * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
      * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
      * .bzrignore: The autogenerated files compile, config.guess,
      config.sub, depcomp, install-sh, and missing are now in build-aux.
      * Makefile.in (epaths-force, sync-from-gnulib):
      move-if-change is now in build-aux.
      (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
      of gnulib's pthread_sigmask module, but Emacs doesn't need it.
      (mkdir): install-sh is now in build-aux.
      * config.bat: c++defs.h is now in build-aux/snippets.
      * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
      usual parameter).
      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
      * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
      to build-aux/snippet.
      * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
      * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
      Merge from gnuilib.  This fixes porting bugs on Cygwin, Irix, and
      Solaris, enables MacOS extensions, and enables nocrash during
      'configure'.
      * make-dist: Adjust to new build-aux and build-aux/snippit dirs.
      * admin/notes/copyright: The files compile, config.guess, config.sub,
      depcomp, install-sh, missing, and move-if-change are now in the
      new build-aux subdirectory.  The files arg-nonnull.h, c++defs.h,
      and warn-on-use.h are now in build-aux/snippets.  New file
      build-aux/snippets/_Noreturn.h.
      * leim/Makefile.in (install): install-sh is now in build-aux.
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
      to build-aux.
      * msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
      from top level to build-aux/snippet.
      * src/Makefile.in (gl-stamp): move-if-change is now in build-aux.
      24e0f6b1
  16. 30 Jan, 2011 1 commit
    • Paul Eggert's avatar
      gnulib: import mktime and move-if-change fixes from gnulib · 3de84ad9
      Paul Eggert authored
      * configure: Regenerate from the following.
      
      2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>
      
      mktime: clarify long_int width checking
      * lib/mktime.c (long_int_is_wide_enough): Move this assertion to
      the top level, to make it clearer that the assumption about
      long_int width is being checked.  See
      <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00554.html>.
      
      2011-01-29  Paul Eggert  <eggert@cs.ucla.edu>
      
      TYPE_MAXIMUM: avoid theoretically undefined behavior
      * lib/intprops.h (TYPE_MINIMUM, TYPE_MAXIMUM): Do not shift a
      negative number, which the C Standard says has undefined behavior.
      In practice this is not a problem, but might as well do it by the book.
      Reported by Rich Felker and Eric Blake; see
      <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00493.html>.
      * m4/mktime.m4 (AC_FUNC_MKTIME): Likewise.
      * lib/mktime.c (TYPE_MAXIMUM): Redo slightly to match the others.
      
      mktime: #undef mktime before #defining it
      * lib/mktime.c (mktime) [DEBUG]: #undef mktime before #defining it.
      
      mktime: systematically normalize tm_isdst comparisons
      * lib/mktime.c (isdst_differ): New function.
      (__mktime_internal): Use it systematically for all isdst comparisons.
      This completes the fix for libc BZ #6723, and removes the need for
      normalizing tm_isdst.  See
      <http://sourceware.org/bugzilla/show_bug.cgi?id=6723>
      (not_equal_tm) [DEBUG]: Use isdst_differ here, too.
      
      mktime: fix some integer overflow issues and sidestep the rest
      
      This was prompted by a bug report by Benjamin Lindner for MinGW
      <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00472.html>.
      His bug is due to signed integer overflow (0 - INT_MIN), and I
      I scanned through mktime.c looking for other integer overflow
      problems, fixing all the bugs I found.
      
      Although the C Standard says the resulting code is still not safe
      in the presence of integer overflow, in practice it should be good
      enough for all real-world two's-complement implementations, except
      for debugging environments that deliberately trap on integer
      overflow (e.g., gcc -ftrapv).
      
      * lib/mktime.c (WRAPV): New macro.
      (SHR): Also check that long_int and time_t shift right in the
      usual way, before using the fast-but-unportable method.
      (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove, no longer
      used.  The code already assumed two's complement, so there's
      no need to test for alternatives.  All uses removed.
      (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by
      the C standard.  Problem reported by Rich Felker in
      <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00488.html>.
      (twos_complement_arithmetic): Also check long_int and time_t.
      (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions.
      (guess_time_tm, ranged_convert, __mktime_internal): Use them.
      (__mktime_internal): Avoid integer overflow with unary subtraction
      in two instances where -1 - X is an adequate replacement for -X,
      since the calculations are approximate.
      
      2011-01-29  Eric Blake  <eblake@redhat.com>
      
      mktime: avoid infinite loop
      * m4/mktime.m4 (AC_FUNC_MKTIME): Avoid overflow on possibly-signed
      type; behavior is still undefined but portable to all known targets.
      Reported by Rich Felker.
      
      2011-01-28  Paul Eggert  <eggert@cs.ucla.edu>
      
      mktime: avoid problems on NetBSD 5 / i386
      * lib/mktime.c (long_int): New type.  This works around a problem
      on NetBSD 5 / i386, where 'long int' and 'int' are both 32 bits
      but time_t is 64 bits, and where I expect the existing code is
      wrong in some cases.
      (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it.
      (ydhms_diff): Bring back the compile-time check for wide-enough
      year and yday.
      
      mktime: fix misspelling in comment
      * lib/mktime.c (__mktime_internal): Fix misspelling in comment.
      This merges all recent glibc changes of importance.
      
      2011-01-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
      
      move-if-change: cope with concurrent mv of identical file.
      * move-if-change (CMPPROG): Accept environment
      variable as an override for `cmp'.
      (usage): Document CMPPROG.
      Adjust comparison to drop stdout.  Cope with failure of mv if
      the target file exists and is identical to the source, for
      parallel builds.
      Report from H.J. Lu against binutils in PR binutils/12283.
      3de84ad9
  17. 07 Jan, 2011 1 commit
  18. 03 Dec, 2010 3 commits
  19. 03 Oct, 1999 1 commit
    • Dave Love's avatar
      # · a4a9692d
      Dave Love authored
      a4a9692d