[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. bc4094635391dc

From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. bc4094635391dcb93cc3d5d6bef56a96bfff2a00
Date: Mon, 07 May 2012 19:05:38 +0000

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 "gawk".

The branch, gawk-4.0-stable has been updated
       via  bc4094635391dcb93cc3d5d6bef56a96bfff2a00 (commit)
      from  f8ca822a7e81bd80afa7181ec5c0f0b4a50a4945 (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 bc4094635391dcb93cc3d5d6bef56a96bfff2a00
Author: Arnold D. Robbins <address@hidden>
Date:   Mon May 7 22:05:02 2012 +0300

    Don't include config.h twice in replace.c.

diff --git a/ChangeLog b/ChangeLog
index cf55c5f..299c2f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
        * debug.c (print_instruction): Ditto.
        * builtin.c: Fix %lf format to be %f everywhere.
+       Unrelated:
+       * replace.c: Don't include "config.h", awk.h gets it for us.
 2012-05-04         Arnold D. Robbins     <address@hidden>
        * getopt.c [DJGPP]: Change to __DJGPP__.
diff --git a/replace.c b/replace.c
index d1c05ad..4259aaf 100644
--- a/replace.c
+++ b/replace.c
@@ -27,8 +27,7 @@
  * Do all necessary includes here, so that we don't have to worry about
  * overlapping includes in the files in missing.d.
-#include "config.h"
-#include "awk.h"
+#include "awk.h"       /* includes config.h for us */
 #ifndef HAVE_SYSTEM


Summary of changes:
 ChangeLog |    4 ++++
 replace.c |    3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]