From a5a62cd7eed5192ff29c6e142d33ed5637991e23 Mon Sep 17 00:00:00 2001 From: elig0n Date: Thu, 26 Mar 2026 13:23:58 +0200 Subject: [PATCH] filelist.c: skip stat of urls when sorting --- src/filelist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/filelist.c b/src/filelist.c index e7a2a9fc..053e750b 100644 --- a/src/filelist.c +++ b/src/filelist.c @@ -28,6 +28,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "filelist.h" #include "signals.h" #include "options.h" +#include "utils.h" #ifdef HAVE_LIBCURL #include @@ -331,7 +332,7 @@ gib_list *feh_file_info_preload(gib_list * list, int load_images) } else if (opt.verbose) feh_display_status('.'); } else { - if (feh_file_stat(file)) { + if (!path_is_url(file->filename) && feh_file_stat(file)) { D(("Failed to stat file %p\n", file)); remove_list = gib_list_add_front(remove_list, l); }