mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01: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)
|
||||
_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
|
||||
|
||||
symlink_target = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user