X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fpmccabe2html;h=863c73e939244e209f43397f4e40a4ecb0f78c57;hb=0012ebc176b72505d01b547c91aff5a4e5feef5e;hp=330b647547e374a7776a95b3545420c239fc4b29;hpb=6359858989e4e543aba52b4c59cb4162d7912883;p=gnulib.git diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html index 330b64754..863c73e93 100644 --- a/build-aux/pmccabe2html +++ b/build-aux/pmccabe2html @@ -1,6 +1,6 @@ # pmccabe2html - AWK script to convert pmccabe output to html -*- awk -*- -# Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 2007-2013 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -144,7 +144,7 @@ function html_fnc_table (caption, num_lines_p, first_line_p, file_p) - for (nfnc = 1; nfnc < nfuncs; nfnc++) + for (nfnc = 1; nfnc <= nfuncs; nfnc++) { html_fnc(nfnc, fname_p, @@ -425,7 +425,7 @@ function html_fnc (nfun, print codeline } close(fname nfun "_fn.txt") - system("rm " fname nfun "_fn.txt") + system("rm " "'" fname "'" nfun "_fn.txt") print "" print "" print "" @@ -653,7 +653,7 @@ function wiki_fnc_table (caption, num_lines_p, first_line_p, file_p) - for (nfnc = 1; nfnc < nfuncs; nfnc++) + for (nfnc = 1; nfnc <= nfuncs; nfnc++) { wiki_fnc(nfnc, fname_p,