mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-08 17:44:49 +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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user