mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 17:06:18 +01:00
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. https://bugzilla.gnome.org/show_bug.cgi?id=672201
This commit is contained in:
parent
cf912785b6
commit
b0739f2223
@ -1680,6 +1680,14 @@ g_execute (const gchar *file,
|
||||
*/
|
||||
break;
|
||||
|
||||
case ENODEV:
|
||||
case ETIMEDOUT:
|
||||
/* Some strange filesystems like AFS return even
|
||||
* stranger error numbers. They cannot reasonably mean anything
|
||||
* else so ignore those, too.
|
||||
*/
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Some other error means we found an executable file, but
|
||||
* something went wrong executing it; return the error to our
|
||||
|
Loading…
Reference in New Issue
Block a user