fix filesystem type ext err
This commit is contained in:
parent
97e760d0e6
commit
13d726d746
25
gio-fix-filesystem-type-ext-err.patch
Normal file
25
gio-fix-filesystem-type-ext-err.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 901711c799f67a62739edf07312aa12aecd6e334 Mon Sep 17 00:00:00 2001
|
||||
From: litenglong <litenglong@kylinos.cn>
|
||||
Date: Wed, 23 Oct 2024 15:44:27 +0800
|
||||
Subject: [PATCH] gio fix filesystem type ext err
|
||||
|
||||
---
|
||||
gio/glocalfile.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gio/glocalfile.c b/gio/glocalfile.c
|
||||
index dbb5690..9e01547 100644
|
||||
--- a/gio/glocalfile.c
|
||||
+++ b/gio/glocalfile.c
|
||||
@@ -637,7 +637,7 @@ get_fs_type (long f_type)
|
||||
case 0xEF51:
|
||||
return "ext2";
|
||||
case 0xEF53:
|
||||
- return "ext3/ext4";
|
||||
+ return "ext2/ext3/ext4";
|
||||
case 0xF2F52010:
|
||||
return "f2fs";
|
||||
case 0x65735546:
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: glib2
|
||||
Version: 2.78.3
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: The core library that forms the basis for projects such as GTK+ and GNOME
|
||||
License: LGPLv2+
|
||||
URL: https://www.gtk.org
|
||||
@ -9,7 +9,7 @@ Source0: https://download.gnome.org/sources/glib/2.78/glib-%{version}.tar
|
||||
Patch1: gspawn-eperm.patch
|
||||
Patch2: backport-gmessages-fix-dropping-irrelevant-log-domains.patch
|
||||
Patch3: backport-gutils-Fix-an-unlikely-minor-leak-in-g_build_user_data_dir.patch
|
||||
|
||||
Patch4: gio-fix-filesystem-type-ext-err.patch
|
||||
|
||||
Patch6001: backport-CVE-2024-34397.patch
|
||||
Patch6002: backport-gdbusconnection-Allow-name-owners-to-have-the-syntax-of-a-well-known-name.patch
|
||||
@ -201,6 +201,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Oct 24 2024 litenglong <litenglong@kylinos.cn> - 2.78.3-4
|
||||
- fix filesystem type ext err
|
||||
|
||||
* Mon Sep 9 2024 zhangzikang <zhangzikang@kylinos.cn> - 2.78.3-3
|
||||
- backport patch:
|
||||
backport-gdbusmessage-Clean-the-cached-arg0-when-setting-the-message-body.patch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user