From 88c51de3db5624d4255eada22a98e9b42710f4a3 Mon Sep 17 00:00:00 2001 From: Yue-Lan Date: Mon, 8 May 2023 10:48:52 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]=20#169359=20=E3=80=90=E5=B8=82=E5=9C=BA?= =?UTF-8?q?=E3=80=91=E3=80=90=E4=BA=BA=E8=A1=8C=E6=B8=85=E7=AE=97=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E3=80=91=E6=8C=82=E8=BD=BDU=E7=9B=98=E5=90=8E?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86=E5=99=A8=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gio/glocalfileenumerator.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gio/glocalfileenumerator.c b/gio/glocalfileenumerator.c index 21030bd..4ab0659 100644 --- a/gio/glocalfileenumerator.c +++ b/gio/glocalfileenumerator.c @@ -431,7 +431,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); }