Mail Archives: djgpp-workers/2000/05/23/16:50:18
> I've been using __dosexec_find_on_path in my Bash 2.04 beta to find disk
> commands. But when LFN is available, a search for "autoconf" will return
> "autoconf.sh" when both "autoconf" and "autoconf.sh" are both in the same
> directory in a PATH. This causes 'spawnve (P_WAIT, "autoconf", args, env)' to
> execute autoconf.sh instead of autoconf. Is this the way it's supposed to
> work? Looks like I'll have to make some changes to Bash 2.04 to prevent this.
The comments in dosexec.c say that this is the way it does work, but in this
narrow case it does seem wrong.
- Raw text -