fix filesystem type ext err

This commit is contained in:
litenglong 2024-10-24 16:35:16 +08:00
parent 91d6869711
commit 8880c2b02a
2 changed files with 30 additions and 1 deletions

View 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

View File

@ -1,12 +1,13 @@
Name: glib2
Version: 2.66.8
Release: 14
Release: 15
Summary: The core library that forms the basis for projects such as GTK+ and GNOME
License: LGPLv2+
URL: http://www.gtk.org
Source0: http://download.gnome.org/sources/glib/2.66/glib-%{version}.tar.xz
Patch9001: fix-accidentally-delete-temp-file-within-dtrace.patch
Patch9002: gio-fix-filesystem-type-ext-err.patch
Patch6001: backport-gsocketclient-set-IP-BIND-ADDRESS-NO-PORT-if-binding.patch
Patch6002: backport-gsocketclient-emit-RESOLVING-RESOLVED-events-only-once.patch
@ -245,6 +246,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%endif
%changelog
* Thu Oct 24 2024 litenglong <litenglong@kylinos.cn> - 2.66.8-15
- fix filesystem type ext err
* Wed Jun 19 2024 hanhuihui <hanhuihui5@huawei.com> - 2.66.8-14
- fix CVE-2024-34397