gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, master, updated. 484d9d37355f1941fb41c6c


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, master, updated. 484d9d37355f1941fb41c6cd61ddbb64c157e099
Date: Tue, 02 Apr 2013 17:44:43 +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, master has been updated
       via  484d9d37355f1941fb41c6cd61ddbb64c157e099 (commit)
      from  984f2f063f5c1cbfeb1cb8f62901ad8ef7884f19 (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=484d9d37355f1941fb41c6cd61ddbb64c157e099

commit 484d9d37355f1941fb41c6cd61ddbb64c157e099
Author: Arnold D. Robbins <address@hidden>
Date:   Tue Apr 2 20:44:25 2013 +0300

    Bug fix in profiling output.

diff --git a/ChangeLog b/ChangeLog
index 971541c..f478323 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-02         Arnold D. Robbins     <address@hidden>
+
+       * profile.c (print_lib_list): Send final newline to prof_fp
+       instead of stdout.  Thanks to Hermann Peifer for the bug report.
+
 2013-03-27         Arnold D. Robbins     <address@hidden>
 
        * Makefile.am (SUBDIRS): Move extension back into the middle of
diff --git a/profile.c b/profile.c
index 4764fe0..8c5f3b7 100644
--- a/profile.c
+++ b/profile.c
@@ -935,7 +935,6 @@ print_lib_list(FILE *prof_fp)
        SRCFILE *s;
        static bool printed_header = false;
 
-
        for (s = srcfiles->next; s != srcfiles; s = s->next) {
                if (s->stype == SRC_EXTLIB) {
                        if (! printed_header) {
@@ -946,7 +945,7 @@ print_lib_list(FILE *prof_fp)
                }
        }
        if (printed_header)     /* we found some */
-               printf("\n");
+               fprintf(prof_fp, "\n");
 }
 
 /* dump_prog --- dump the program */

-----------------------------------------------------------------------

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


hooks/post-receive
-- 
gawk



reply via email to

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