glib2.0/debian/patches/169359-U.patch

28 lines
846 B
Diff

From: Yue-Lan <lanyue@ubuntukylin.com>
Date: Mon, 8 May 2023 10:48:52 +0800
Subject: =?utf-8?b?IzE2OTM1OSDjgJDluILlnLrjgJHjgJDkurrooYzmuIXnrpfkuK3lv4M=?=
=?utf-8?b?44CR5oyC6L29VeebmOWQjuaWh+S7tueuoeeQhuWZqOaYvuekuuaWh+S7tuW8gg==?=
=?utf-8?b?5bi4?=
---
gio/glocalfileenumerator.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gio/glocalfileenumerator.c b/gio/glocalfileenumerator.c
index 3694896..2057a49 100644
--- a/gio/glocalfileenumerator.c
+++ b/gio/glocalfileenumerator.c
@@ -435,7 +435,11 @@ g_local_file_enumerator_next_file (GFileEnumerator *enumerator,
{
g_error_free (my_error);
goto next_file;
- }
+ } else if (g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE))
+ {
+ g_error_free (my_error);
+ goto next_file;
+ }
else
g_propagate_error (error, my_error);
}