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 82140 - Obvious bugs in gnome-help.c
Obvious bugs in gnome-help.c
Status: RESOLVED FIXED
Product: libglade
Classification: Deprecated
Component: general
unspecified
Other All
: Normal major
: ---
Assigned To: Federico Mena Quintero
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2002-05-18 01:35 UTC by Federico Mena Quintero
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Federico Mena Quintero 2002-05-18 01:35:18 UTC
Some obvious bugs in gnome-help.c:

gnome_help_display_with_doc_id():
  - It is not using the doc_id at all.
  - It never uses the computed global_help_path().
  - It never checks the return value of stat().
  - The function is quite convoluted.  For readability, it should start
    doing the global stuff until after the local stuff has failed.

Assigning to myself as I am working on this.
Comment 1 Federico Mena Quintero 2002-05-20 18:48:57 UTC
Fixed on CVS.

However, it still doesn't and it looks like it shouldn't pay attention
to the doc_id.  Is this an API bug?