GNOME Bugzilla – Bug 309949
Setting symlink_name file info not supported by gnome_vfs_set_file_info
Last modified: 2006-07-16 09:58:47 UTC
gnome_vfs_set_file_info doesn't have a GNOME_VFS_SET_FILE_INFO_SYMLINK_NAME flags. Unfortunately, setting a symlink name isn't trivial for the file method. Am I right that it only works through unlinking and then re-symlinking?
Created attachment 68983 [details] [review] Proposed patch Here we go. For now, I've just implemented the file method.
Updating version and component.
btw. I'm not sure whether I should check for file_info->valid_fields containing symlink_name. Is this just meant to be used as an output parameter (i.e. for do_get_file_info)?
A slightly modified patch was committed that doesn't check for valid_fields containing SYMLINK_NAME, and also updates the set_file_info documentation.