aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-04-28 19:30:52 +0200
committerJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-04-28 19:30:52 +0200
commit11c996c675afa475d46834b2b09039097e25afb5 (patch)
tree8e720e41b15affe811b21d74bddba14c302612fa /profile.c
parent74db9f3cb12c4c45487b8646473daad7d0df641f (diff)
parent1dd19986291bdd1129ac08eec40d963a65170422 (diff)
downloadegawk-11c996c675afa475d46834b2b09039097e25afb5.tar.gz
egawk-11c996c675afa475d46834b2b09039097e25afb5.tar.bz2
egawk-11c996c675afa475d46834b2b09039097e25afb5.zip
Merge remote-tracking branch 'origin/master' into cmake
Conflicts: README_d/ChangeLog
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/profile.c b/profile.c
index 4764fe00..435cad18 100644
--- a/profile.c
+++ b/profile.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1999-2011 the Free Software Foundation, Inc.
+ * Copyright (C) 1999-2013 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -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 */