mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 16:08:43 +02:00
Read the new glob2 format with case sensitive flags
This commit is contained in:
@@ -165,7 +165,7 @@ xdg_mime_init_from_directory (const char *directory)
|
||||
strcpy (file_name, directory); strcat (file_name, "/mime/globs2");
|
||||
if (stat (file_name, &st) == 0)
|
||||
{
|
||||
_xdg_mime_glob_read_from_file (global_hash, file_name);
|
||||
_xdg_mime_glob_read_from_file (global_hash, file_name, TRUE);
|
||||
xdg_dir_time_list_add (file_name, st.st_mtime);
|
||||
}
|
||||
else
|
||||
@@ -175,7 +175,7 @@ xdg_mime_init_from_directory (const char *directory)
|
||||
strcpy (file_name, directory); strcat (file_name, "/mime/globs");
|
||||
if (stat (file_name, &st) == 0)
|
||||
{
|
||||
_xdg_mime_glob_read_from_file (global_hash, file_name);
|
||||
_xdg_mime_glob_read_from_file (global_hash, file_name, FALSE);
|
||||
xdg_dir_time_list_add (file_name, st.st_mtime);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user