clear the SYMBOLIC_LINK flag if present on the file_info struct. Since
2004-02-10 James Henstridge <james@daa.com.au> * font-method.c (fill_file_info): clear the SYMBOLIC_LINK flag if present on the file_info struct. Since gnome-vfs doesn't support cross-vfs symlinks, the symlink would no longer resolve when returned by the fonts:/// method. Fixes bug #133811.
This commit is contained in:
parent
3aa5e4ceb4
commit
33f2620bc0
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-02-10 James Henstridge <james@daa.com.au>
|
||||
|
||||
* font-method.c (fill_file_info): clear the SYMBOLIC_LINK flag if
|
||||
present on the file_info struct. Since gnome-vfs doesn't support
|
||||
cross-vfs symlinks, the symlink would no longer resolve when
|
||||
returned by the fonts:/// method. Fixes bug #133811.
|
||||
|
||||
2004-01-14 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* Release 2.5.2
|
||||
|
|
|
@ -253,6 +253,12 @@ fill_file_info(GnomeVFSFileInfo *file_info, GnomeVFSFileInfoOptions options,
|
|||
if (result == GNOME_VFS_OK) {
|
||||
g_free(file_info->name);
|
||||
file_info->name = g_strdup(name);
|
||||
|
||||
file_info->valid_fields &= ~GNOME_VFS_FILE_INFO_FIELDS_SYMLINK_NAME;
|
||||
g_free(file_info->symlink_name);
|
||||
file_info->symlink_name = NULL;
|
||||
file_info->type = GNOME_VFS_FILE_TYPE_REGULAR;
|
||||
GNOME_VFS_FILE_INFO_SET_SYMLINK(file_info, FALSE);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue