[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU shishi branch, master, updated. shishi-1-0-2-19-gb37b835
From: |
Mats Erik Andersson |
Subject: |
[SCM] GNU shishi branch, master, updated. shishi-1-0-2-19-gb37b835 |
Date: |
Wed, 18 Sep 2013 15:38:14 +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 "GNU shishi".
http://git.savannah.gnu.org/cgit/shishi.git/commit/?id=b37b835129eec8008a3c031dd75ec456955de597
The branch, master has been updated
via b37b835129eec8008a3c031dd75ec456955de597 (commit)
from bf59c314fe531ee5815fe3a9846c9fa86a25b13c (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 b37b835129eec8008a3c031dd75ec456955de597
Author: Mats Erik Andersson <address@hidden>
Date: Sun Sep 15 23:14:24 2013 +0200
pmccabe2html: Portability issue.
Replace systime() and strftime() with command
pipes, assigning one variable for each purpose.
The functions are only available in gawk.
Fix also two mistakes in HTML tags, thus again
producing a renderable page.
-----------------------------------------------------------------------
Summary of changes:
build-aux/pmccabe2html | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html
index 863c73e..094c3e9 100644
--- a/build-aux/pmccabe2html
+++ b/build-aux/pmccabe2html
@@ -47,6 +47,10 @@
# Prologue & configuration
BEGIN {
+ # Portable lookup of present time.
+ "date +%s" | getline epoch_time
+ "date" | getline chronos_time
+
section_global_stats_p = 1
section_function_cyclo_p = 1
@@ -69,7 +73,7 @@ BEGIN {
Copyright (c) 2007, 2008 Free Software Foundation, Inc."
html_doctype = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01
Transitional//EN\" \
\"http://www.w3.org/TR/html401/loose.dtd\">"
- html_comment = "<!-- Generated by gnulib's pmccabe2html at " systime() "
-->"
+ html_comment = "<!-- Generated by gnulib's pmccabe2html at " epoch_time "
-->"
html_title = "Cyclomatic Complexity report for " package_name
# Wiki options
@@ -211,7 +215,7 @@ function html_header ()
print cssline
}
print "-->"
- print "</style />"
+ print "</style>"
close(css)
}
print "</head>"
@@ -852,12 +856,12 @@ END {
if (output_lang == "html")
{
print "<div class=\"page_title\">" package_name " Cyclomatic
Complexity Report</div>"
- print "<p>Report generated at: <span class=\"report_timestamp\">"
strftime() "</div></p>"
+ print "<p>Report generated at: <span class=\"report_timestamp\">"
chronos_time "</span></p>"
}
if (output_lang == "wiki")
{
print "==" package_name " Cyclomatic Complexity Report=="
- print "Report generated at: '''" strftime() "'''"
+ print "Report generated at: '''" chronos_time "'''"
}
if (section_global_stats_p)
hooks/post-receive
--
GNU shishi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU shishi branch, master, updated. shishi-1-0-2-19-gb37b835,
Mats Erik Andersson <=