OSDN Git Service

execXp should go to next PATH dir on any error except ENOEXEC,
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 18 Jul 2007 22:32:40 +0000 (22:32 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 18 Jul 2007 22:32:40 +0000 (22:32 -0000)
commit2ea436fb13abd2793dc39cca24a8f90d8f3b6328
tree3a432e73a76ea38beb521127d91165e987328419
parent434e9e3cba0f57fca25e1ed2bc4444fac59e4fef
execXp should go to next PATH dir on any error except ENOEXEC,
not just on ENOENT (in particular, on EPERM). At least glibc does so.
Fixing this.
libc/unistd/exec.c