> Date: Sat, 22 Jan 2005 16:30:07 +0100
> From: Stepan Kasal <[EMAIL PROTECTED]>
> Cc: Eric Blake <[EMAIL PROTECTED]>, autoconf@gnu.org, bug-texinfo@gnu.org
> 
> I proposed to change the implementation of AS_EXECUTABLE_P on platforms
> supporting `test -x' from
>        test -f $1 && test -x $1
> to
>        test -x $1 && test ! -d $1
> 
> But Paul has pointed out the change can bring problems eg. with named
> pipes in /tmp (some people have /tmp in their path).

What problems does that cause?  I don't see how named pipes are
related to looking for executables.

> 2) On Cygwin, both `test -x foo' and `test -f foo' look for foo.exe.

That's a bug, IMHO.

> I see two options:
> - change DJGPP's `test -f foo' to search also for foo.exe
>       (as suggested by Paul)
> - make a DJGPP-specific change to AS_EXECUTABLE_P
> 
> But I don't think any of them is worth the time it would take.

So what _are_ you suggesting for AS_EXECUTABLE_P to do?

Also, you didn't tell what do "test -f" and "test -x" do in non-Cygwin
Windows ports of Bash and Sh-utils.  I don't think we should ignore
those.


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to