This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU M4 source repository".
http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=f2c5adaeeca0975529d4aa782db0a9b8852818ec The branch, branch-1.6 has been updated via f2c5adaeeca0975529d4aa782db0a9b8852818ec (commit) from fba265c02ea43d6eb835b0fb27e7e2fa05834cbb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f2c5adaeeca0975529d4aa782db0a9b8852818ec Author: Eric Blake <[EMAIL PROTECTED]> Date: Fri May 23 06:27:16 2008 -0600 Make closing files be consistent. * src/freeze.c (reload_frozen_state): Use close_stream. Reported by Jean-Charles Longuet. Signed-off-by: Eric Blake <[EMAIL PROTECTED]> ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 ++++++ src/freeze.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9fdca03..89faf9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-23 Eric Blake <[EMAIL PROTECTED]> + + Make closing files be consistent. + * src/freeze.c (reload_frozen_state): Use close_stream. + Reported by Jean-Charles Longuet. + 2008-05-22 Eric Blake <[EMAIL PROTECTED]> Don't allow failure to freeze give exit status of 0. diff --git a/src/freeze.c b/src/freeze.c index 15f06fe..c88a266 100644 --- a/src/freeze.c +++ b/src/freeze.c @@ -378,8 +378,7 @@ reload_frozen_state (const char *name) free (string[0]); free (string[1]); - errno = 0; - if (ferror (file) || fclose (file) != 0) + if (close_stream (file) != 0) m4_error (EXIT_FAILURE, errno, NULL, _("unable to read frozen state")); current_file = NULL; current_line = 0; hooks/post-receive -- GNU M4 source repository
