X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fpmccabe2html;h=7cf8df7e477986530dacf31361f39b23ca17eba2;hb=338dd5d4362fdf5fb29b843d4d8a8f845bc750de;hp=330b647547e374a7776a95b3545420c239fc4b29;hpb=6359858989e4e543aba52b4c59cb4162d7912883;p=gnulib.git diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html index 330b64754..7cf8df7e4 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-2012 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,