]> code.delx.au - gnu-emacs/commitdiff
Merge from trunk.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2011 16:34:41 +0000 (09:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Sep 2011 16:34:41 +0000 (09:34 -0700)
1  2 
ChangeLog
admin/ChangeLog
leim/ChangeLog
lib-src/ChangeLog
msdos/ChangeLog
src/ChangeLog

diff --cc ChangeLog
index ab2bf756a1350c56fbb3ebb2a676c403f6e4d2d7,aae3e190049ab05912dc39dec5c02da918032e49..f33d61ef9f1d07ed1650fd5c3e5f9036a2fb0c51
+++ b/ChangeLog
@@@ -1,37 -1,3 +1,51 @@@
- 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Merge from gnulib, using build-aux to remove clutter (Bug#9169).
++      This is to fix the following problems:
++       . On FreeBSD 6.4, HP-UX 11.31, and Solaris 9, and when Emacs is
++         configured not to use gtk or any other thread-using library,
++         signals aren't blocked correctly.
++       . On IRIX 6.5 it fixes an unwanted clash between Emacs's
++         and IRIX's signal handling.
++       . On Cygwin 1.7.5 it works around an incompatibility with
++         the system pthread_sigmask.
++       . On MacOS X 10.5 (32-bit), files whose inode numbers
++         exceed 2**31 cannot be read or manipulated.
++       . pthread_sigmask: Actually use results of gl_THREADLIB.
++       . strtoimax, strtoumax: Avoid link error on OSF/1 with DTK cc.
++       . find 'ar' program that fits with --host argument.
++       . Allow the user to override the choice of AR, ARFLAGS, RANLIB.
 +      * autogen/README: Update destination list.
 +      * autogen/copy_autogen, autogen/update_autogen, .bzrignore:
 +      The autogenerated files compile, config.guess,
 +      config.sub, depcomp, install-sh, and missing are now in build-aux.
 +      * 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.
 +      * 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.
 +
  2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        * configure.in (snprintf): New check.
diff --cc admin/ChangeLog
index 40300fc8dcf05c7d5cbffbeef6e184aedd6aaff1,17cbcbb3bdf3e67069644657532fb9078ff9c9b2..9856f38fabb2ae95b364de2615f0e2b807fe1b2d
@@@ -1,12 -1,3 +1,12 @@@
- 2011-09-03  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Merge from gnulib (Bug#9169).
 +      * 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.
 +
  2011-08-23  Eli Zaretskii  <eliz@gnu.org>
  
        * unidata/unidata-gen.el (unidata-prop-alist): Update the default
diff --cc leim/ChangeLog
index c28e947262571165ceda8a155e5eaba9d6b87167,426c679fe1f2951ee6dd66df9049f23be8cd1e95..23050bf791a4b945290722d3e9e55d141705dd15
@@@ -1,7 -1,3 +1,7 @@@
- 2011-09-03  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in (install): install-sh is now in build-aux (Bug#9169).
 +
  2011-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * quail/latin-ltx.el: Complete the super and subscript letters.
index 42073641cb9960c0403cd0d5ecd4cdd600cd7148,9041eae8bbe3da72d0c137d3d328a2af8ff7f2d3..65ca56b17a816698e799faa23e46d3065fe1c3b2
@@@ -1,8 -1,3 +1,8 @@@
- 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
 +      to build-aux (Bug#9169).
 +
  2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        Integer and memory overflow issues (Bug#9397).
diff --cc msdos/ChangeLog
index 9b8a96c117c5b97cb8c4c96631579106e7d18720,e1ce2a312e05f0a9cd062a5f993adbb9172592c9..46a5b69cc1681e900c79c2273178f1a4aa3292cb
@@@ -1,8 -1,3 +1,8 @@@
- 2011-07-25  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
 +      from top level to build-aux/snippet (Bug#9169).
 +
  2011-06-07  Eli Zaretskii  <eliz@gnu.org>
  
        * sedlibmk.inp (PTRDIFF_T_SUFFIX): Edit to nothing.
diff --cc src/ChangeLog
index e730c79f65bda63567e0f7057436c2822de83659,e1bdfedbd31454ca0969a9ba5e93dbabd026e409..6131249beb9fe175502e2ead15a080eb9f088bbb
@@@ -1,7 -1,26 +1,30 @@@
- 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
++2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in (gl-stamp): move-if-change now in build-aux (Bug#9169).
 +
+ 2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
+       * fileio.c: Fix bugs with large file offsets (Bug#9428).
+       The previous code assumed that file offsets (off_t values) fit in
+       EMACS_INT variables, which is not true on typical 32-bit hosts.
+       The code messed up by falsely reporting buffer overflow in cases
+       such as (insert-file-contents "big" nil 1 2) into an empty buffer
+       when "big" contains more than 2**29 bytes, even though this
+       inserts just one byte and does not overflow the buffer.
+       (Finsert_file_contents): Store file offsets as off_t
+       values, not as EMACS_INT values.  Check for overflow when
+       converting between EMACS_INT and off_t.  When checking for
+       buffer overflow or for overlap, take the offsets into account.
+       Don't use EMACS_INT for small values where int suffices.
+       When checking for overlap, fix a typo: ZV was used where
+       ZV_BYTE was intended.
+       (Fwrite_region): Don't assume off_t fits into 'long'.
+       * buffer.h (struct buffer.modtime_size): Now off_t, not EMACS_INT.
+ 2011-09-05  Michael Albinus  <michael.albinus@gmx.de>
+       * dbusbind.c (xd_signature_cat): Rename from signature_cat.
  2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        sprintf-related integer and memory overflow issues (Bug#9412).