mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02:00
glocalfileinfo: Set is-backup attribute also on Windows
The `is-backup` attribute isn't currently set on Windows. It would be nice to set such basic attributes on all platforms. Let's set the attribute to `FALSE` there.
This commit is contained in:
parent
448a163bee
commit
c965bf23a8
@ -2068,6 +2068,8 @@ _g_local_file_info_get (const char *basename,
|
|||||||
|
|
||||||
if (statbuf.reparse_tag != 0)
|
if (statbuf.reparse_tag != 0)
|
||||||
_g_file_info_set_attribute_uint32_by_id (info, G_FILE_ATTRIBUTE_ID_DOS_REPARSE_POINT_TAG, statbuf.reparse_tag);
|
_g_file_info_set_attribute_uint32_by_id (info, G_FILE_ATTRIBUTE_ID_DOS_REPARSE_POINT_TAG, statbuf.reparse_tag);
|
||||||
|
|
||||||
|
_g_file_info_set_attribute_boolean_by_id (info, G_FILE_ATTRIBUTE_ID_STANDARD_IS_BACKUP, FALSE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
symlink_target = NULL;
|
symlink_target = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user