After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629813 - Example programs with an underscore in the file name not generating the correct html file name
Example programs with an underscore in the file name not generating the corre...
Status: RESOLVED DUPLICATE of bug 625555
Product: doxygen
Classification: Other
Component: general
1.7.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-09-16 01:31 UTC by gwnoble
Modified: 2010-09-18 21:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gwnoble 2010-09-16 01:31:29 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.
Comment 1 Dimitri van Heesch 2010-09-18 21:15:58 UTC

*** This bug has been marked as a duplicate of bug 625555 ***