branch: large file regression

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When I swapped from mkstemp to clean-temp in gnulib, I didn't realize that
it lost support for large files in the process.  The latest consensus on
bug-gnulib is that it is configure.ac's responsibility, not gnulib, to
request large file support.  A similar patch is going on head.

2007-01-04  Eric Blake  <[email protected]>

	Fix regression from 1.4.7 in large file handling on some
	platforms, introduced on 2006-10-13.
	* configure.ac (AC_LARGE_SYSFILE): Guarantee that large files
	will be handled.
	* NEWS: Document this fix.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFnbxb84KuGfSFAYARAqjAAJ9ekJpq9xeeYkgFdcYXmmGEd0MLIgCePgmV
skuukvn7eqxNDJ24fgDVwEg=
=UF+k
-----END PGP SIGNATURE-----

_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches
m4.patch223 (text/plain, 1.6 KB)
Index: NEWS
===================================================================
RCS file: /sources/m4/m4/NEWS,v
retrieving revision 1.1.1.1.2.84
diff -u -p -r1.1.1.1.2.84 NEWS
--- NEWS	9 Dec 2006 17:06:30 -0000	1.1.1.1.2.84
+++ NEWS	5 Jan 2007 02:46:15 -0000
@@ -1,10 +1,11 @@
 GNU M4 NEWS - User visible changes.
-Copyright (C) 1992, 1993, 1994, 2004, 2005, 2006 Free Software
+Copyright (C) 1992, 1993, 1994, 2004, 2005, 2006, 2007 Free Software
 Foundation, Inc.
 
-Version 1.4.9 - ?? ??? 200?, by ????  (CVS version 1.4.8a)
+Version 1.4.9 - ?? ??? 2007, by ????  (CVS version 1.4.8a)
 
-* No user visible changes so far...
+* Fix a regression introduced in 1.4.8 that made m4 unable to process
+  files larger than 2GiB on some platforms.
 
 Version 1.4.8 - 20 November 2006, by Eric Blake  (CVS version 1.4.7a)
 
Index: configure.ac
===================================================================
RCS file: /sources/m4/m4/configure.ac,v
retrieving revision 1.36.2.32
diff -u -p -r1.36.2.32 configure.ac
--- configure.ac	9 Dec 2006 17:06:30 -0000	1.36.2.32
+++ configure.ac	5 Jan 2007 02:46:15 -0000
@@ -1,5 +1,5 @@
 # Configure template for GNU M4.			-*-Autoconf-*-
-# Copyright (C) 1991, 1993, 1994, 2004, 2005, 2006 Free Software
+# Copyright (C) 1991, 1993, 1994, 2004, 2005, 2006, 2007 Free Software
 # Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -33,6 +33,7 @@ AC_CANONICAL_HOST
 AC_PROG_CC
 M4_EARLY
 
+AC_SYS_LARGEFILE
 AC_CHECK_HEADERS_ONCE([limits.h siginfo.h sys/wait.h])
 AC_CHECK_TYPES([siginfo_t], [], [],
 [[#include <signal.h>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.