GNOME Bugzilla – Bug 80292
save articles does not create directory tree
Last modified: 2004-12-22 21:47:04 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.
Created attachment 8044 [details] [review] apply with -p1
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.