APPROVE COMMIT 21.5
I think this is an obvious bug fix. Somehow I got the autoconf macro
AC_FUNC_SEEKO mixed up with the C preprocessor symbol HAVE_FSEEKO in
the recent large file support patch. This fixes the problem. My only
consolation is that nobody else noticed either.
diff -r ec3712ffd0e6 src/ChangeLog
--- a/src/ChangeLog Fri Mar 15 13:52:53 2013 -0600
+++ b/src/ChangeLog Thu Mar 28 08:31:46 2013 -0600
@@ -1,3 +1,9 @@
+2013-03-28 Jerry James <james(a)xemacs.org>
+
+ * config.h.in: AC_FUNC_FSEEKO is the name of the autoconf macro.
+ HAVE_FSEEKO is the name of the C preprocessor symbol. Do not
+ confuse the two.
+
2013-03-11 Vin Shelton <acs(a)xemacs.org>
* config.h.in: Move large file support outside WIN32_NO_CONFIGURE block.
diff -r ec3712ffd0e6 src/config.h.in
--- a/src/config.h.in Fri Mar 15 13:52:53 2013 -0600
+++ b/src/config.h.in Thu Mar 28 08:31:46 2013 -0600
@@ -760,7 +760,7 @@
#undef SIZEOF_OFF_T
/* Large file support */
-#undef AC_FUNC_FSEEKO
+#undef HAVE_FSEEKO
/* some systems (Cygwin) typedef u?intptr_t in <sys/types.h>
but the standard is <inttypes.h>
@@ -1179,7 +1179,7 @@
#define SUPPORT_CONFOUNDING_FUNCTIONS NEED_TO_HANDLE_21_4_CODE
/* Large file support */
-#ifdef AC_FUNC_FSEEKO
+#ifdef HAVE_FSEEKO
# define OFF_T off_t
# define FSEEK(stream, offset, whence) fseeko (stream, offset, whence)
# define FTELL(stream) ftello (stream)
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches