CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/07/24 20:02:16
Index: ChangeLog
===================================================================
RCS file: /sources/m4/m4/ChangeLog,v
retrieving revision 1.1.1.1.2.127
retrieving revision 1.1.1.1.2.128
diff -u -b -r1.1.1.1.2.127 -r1.1.1.1.2.128
--- ChangeLog 22 Jul 2006 21:43:27 -0000 1.1.1.1.2.127
+++ ChangeLog 24 Jul 2006 20:02:16 -0000 1.1.1.1.2.128
@@ -1,3 +1,26 @@
+2006-07-24 Eric Blake <[EMAIL PROTECTED]>
+
+ Fix bugs related to stream handling.
+ * m4/gnulib-cache.m4: Augment with gnulib-tool --import
+ unlocked-io stdio-safer stdlib-safer close-stream.
+ * configure.ac (AC_CHECK_FUNCS_ONCE): Assume tmpfile; it can be
+ provided by gnulib if needed.
+ * src/output.c [! HAVE_TMPFILE]: Likewise.
+ * src/m4.h (includes): Replace unistd, stdio, and stdlib with
+ their safer counterparts.
+ (retcode): New global variable.
+ * src/input.c (pop_input): Check for read failure.
+ * src/freeze.c (reload_frozen_state): Likewise.
+ (produce_frozen_state): Check for write failure.
+ * src/debug.c (debug_set_file): Likewise.
+ * src/m4.c (usage, main): Likewise.
+ (retcode): Make global.
+ * src/builtin.c (m4_m4exit): Likewise. Ensure that the exit
+ status is non-zero except when everything succeeds.
+ * doc/m4.texinfo (M4exit): Document these changes.
+ (Incompatibilities): Remove documentation of bug now fixed.
+ * NEWS: Document these fixes.
+
2006-07-22 Eric Blake <[EMAIL PROTECTED]>
* src/format.c (format): Avoid compiler warning that str may be
@@ -2585,4 +2608,4 @@
* Initial beta release. Release 0.50, manual 0.05.
- $Revision: 1.1.1.1.2.127 $ $Date: 2006/07/22 21:43:27 $
+ $Revision: 1.1.1.1.2.128 $ $Date: 2006/07/24 20:02:16 $