Commit b0739f22 authored by David Benjamin's avatar David Benjamin Committed by Colin Walters

Continue searching in PATH on ENODEV and ETIMEDOUT

Synchronize the error-handling logic from glibc. Users with networked
filesystems in their PATH may hit ETIMEDOUT.
parent cf912785
......@@ -1680,6 +1680,14 @@ g_execute (const gchar *file,
case ENODEV:
/* Some strange filesystems like AFS return even
* stranger error numbers. They cannot reasonably mean anything
* else so ignore those, too.
/* Some other error means we found an executable file, but
* something went wrong executing it; return the error to our
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment