GNOME Bugzilla – Bug 629813
Example programs with an underscore in the file name not generating the correct html file name
Last modified: 2010-09-18 21:15:58 UTC
Most of our example program file names contain an underscore (e.g. r_ciph.c). After upgrading from doxygen 1.6.1 to 1.7.1, the html pages resulting from an \example command have an incorrect file name. In doxygen 1.6.1, \example r_ciph.c results in an html page with a double underscore in the file name (e.g. r__ciph_8c-example.html). Any hyperlinks in the generated documentation link correctly to these pages. In doxygen 1.7.1, \example r_ciph.c results in an html page with a SINGLE underscore in the file name (e.g. r_ciph_8c-example.html). However, the hyperlinks in the generated documentation still refer to the double underscore file name (i.e. r__ciph_8c-example.html). If I rename the sample program without an underscore (e.g. rciph.c), and update any associated references to the file, everything works. The resulting html page becomes rciph_8c-example.html, and hyperlinks refer to this file correctly. I can also work around the problem using SHORT_NAMES=YES in the configuration file, but I see this as a temporary solution only.
*** This bug has been marked as a duplicate of bug 625555 ***