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:
Ondrej Holy 2023-03-06 14:22:05 +01:00
parent 448a163bee
commit c965bf23a8

View File

@ -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;