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 80292 - save articles does not create directory tree
save articles does not create directory tree
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Charles Kerr
Charles Kerr
Depends on:
Blocks:
 
 
Reported: 2002-04-30 01:31 UTC by Colin Leroy
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
apply with -p1 (633 bytes, patch)
2002-04-30 01:31 UTC, Colin Leroy
none Details | Review

Description Colin Leroy 2002-04-30 01:31:08 UTC
'Lo,

I saw, using format strings for saving, that "Save article" did not create
the directory tree if it doesn't exists.

Following is a patch against pan-fix branch, applies also to HEAD branch.
Comment 1 Colin Leroy 2002-04-30 01:31:35 UTC
Created attachment 8044 [details] [review]
apply with -p1
Comment 2 Charles Kerr 2002-04-30 15:36:36 UTC
Fixed in CVS:
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=task-save.c&rev1=1.14&rev2=1.15&root=/cvs/gnome

I tweaked your patch a little bit because you called g_dirname(fname)
at a point before the "is_nonempty_string(fname)" check, but otherwise
the patch was fine.