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 130520 - exclude_files directive written back to config file wrong
exclude_files directive written back to config file wrong
Status: RESOLVED FIXED
Product: gnome-pilot
Classification: Other
Component: conduit: backup
unspecified
Other All
: High normal
: ---
Assigned To: gnome-pilot Maintainers
gnome-pilot Maintainers
: 330330 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-04 19:20 UTC by malsyned
Modified: 2006-03-09 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A patch to fix this bug (1.18 KB, patch)
2004-01-04 19:21 UTC, malsyned
none Details | Review

Description malsyned 2004-01-04 19:20:23 UTC
exclude_files is read in load_configuration() by the libgnome routine
gnome_config_get_vector(), which uses gnome_config_make_vector() to parse
the list of files.  This function splits a list of space-separated file
names, with non-delimiting spaces backslash-escaped.  However,
save_configuration() joins its vector of filenames into a comma-separated
string.  libgnome provides a routine, gnome_config_assemble_vector, which
creates a properly-formatted string.

I will attach a patch to this bug report to fix this bug.  This patch
applies cleanly against the last release of gnome-pilot and against the
latest CVS.
Comment 1 malsyned 2004-01-04 19:21:16 UTC
Created attachment 22909 [details] [review]
A patch to fix this bug
Comment 2 JP Rosevear 2005-08-10 14:13:02 UTC
I used gnome_config_set_vector instead which is more intended for public use.
Comment 3 Matt Davey 2006-03-09 16:53:50 UTC
*** Bug 330330 has been marked as a duplicate of this bug. ***