=================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/dos/process/dosexec.c,v retrieving revision 1.14 retrieving revision 1.15 diff -p -u -r1.14 -r1.15 --- djgpp/src/libc/dos/process/dosexec.c 2001/07/08 17:21:35 1.14 +++ /cvs/djgpp/djgpp/src/libc/dos/process/dosexec.c 2001/07/08 17:53:19 1.15 @@ -1239,6 +1239,8 @@ __dosexec_find_on_path(const char *progr if (!hasdot || _use_lfn(program)) for (i=0; interpreters[i].extension; i++) { + if (interpreters[i].flags & INTERP_FLAG_SKIP_SEARCH) + continue; strcpy(rp, interpreters[i].extension); if (access(buf, 0) == 0 && access(buf, D_OK)) { @@ -1352,9 +1354,6 @@ find_extension (const char *path, char * #define SPAWN_SEARCH_FLAGS \ (SPAWN_EXTENSION_SRCH | SPAWN_INTERP_ONLY_SRCH) -int __djgpp_spawn(int mode, const char *path, char *const argv[], - char *const envp[], unsigned long flags); - int __spawnve(int mode, const char *path, char *const argv[], char *const envp[]) {