cgicc: Bug in doc/Makefile.in
William Wheeler <[email protected]> Mon, 11 Jul 2016 23:38:16 -0400 (EDT)
| Newsgroups | gmane.comp.gcc.cgicc.bugs |
|---|---|
| Message-ID | <alpine.GSO.2.00.1607112331530.1583@wheeler-fj2> |
Dear Sirs,
I think there is a bug in the doc/Makefile.in file.
The line
if test ! -d html/index.html; then \
should be
if test ! -f html/index.html; then \
The -d flag tests whether html/index.html exists and is a directory.
It isn't, so the next line echos "empty" into html/index.html,
which destroys it.
The -f flag tests whether html/index.html exists and is a file,
which is what it is and should be.
Sincerely,
William Wheeler, Mathematics Faculty, Indiana University, Bloomington