!205 [sync] PR-197: fix filesystem type ext err

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-10-28 02:16:11 +00:00 committed by Gitee
commit a4f3a5f66c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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