mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
Merge branch 'fix-access-rights-for-directory-monitoring-on-win32' into 'master'
Use the right permissions for directory watching on Win32 Closes gimp#4594 See merge request GNOME/glib!1976
This commit is contained in:
commit
5968425fe4
@ -345,7 +345,7 @@ g_win32_fs_monitor_init (GWin32FSMonitorPrivate *monitor,
|
||||
monitor->file_attribs = INVALID_FILE_ATTRIBUTES;
|
||||
monitor->pfni_prev = NULL;
|
||||
monitor->hDirectory = CreateFileW (wdirname_with_long_prefix != NULL ? wdirname_with_long_prefix : monitor->wfullpath_with_long_prefix,
|
||||
FILE_GENERIC_READ | FILE_GENERIC_WRITE,
|
||||
FILE_LIST_DIRECTORY,
|
||||
FILE_SHARE_DELETE | FILE_SHARE_READ | FILE_SHARE_WRITE,
|
||||
NULL,
|
||||
OPEN_EXISTING,
|
||||
|
Loading…
Reference in New Issue
Block a user