fix filesystem type ext err

(cherry picked from commit 2a35c6e7fd33af29d749bc47ca1def40310470c8)
This commit is contained in:
litenglong 2024-10-24 16:42:43 +08:00 committed by openeuler-sync-bot
parent 6094de4ec9
commit f3f8b2ff32
2 changed files with 31 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,11 +1,13 @@
Name: glib2
Version: 2.72.2
Release: 16
Release: 17
Summary: The core library that forms the basis for projects such as GTK+ and GNOME
License: LGPLv2+
URL: http://www.gtk.org
Source0: https://download.gnome.org/sources/glib/2.71/glib-%{version}.tar.xz
Patch1: gio-fix-filesystem-type-ext-err.patch
Patch6000: backport-add-version-macros-for-GLib-2.74.patch
Patch6001: backport-gtype-Add-G_TYPE_FLAG_NONE.patch
Patch6002: backport-gioenums-Add-G_TLS_CERTIFICATE_FLAGS_NONE.patch
@ -271,6 +273,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%endif
%changelog
* Thu Oct 24 2024 litenglong <litenglong@kylinos.cn> - 2.72.2-17
- fix filesystem type ext err
* Sat Oct 19 2024 hanhuihui <hanhuihui5@huawei.com> - 2.72.2-16
- fix memory leak, xdg error, gdbus arg0 error