[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AS_EXECUTABLE_P again
From: |
Paul Eggert |
Subject: |
Re: AS_EXECUTABLE_P again |
Date: |
Fri, 21 Jan 2005 11:48:48 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Stepan Kasal <address@hidden> writes:
> it seems that changing AS_EXECUTABLE_P from
>
> test -f $1 && test -x $1
>
> to
> test -x $1 && test ! -d $1
>
> might please the DJGPP people.
>
> Does it hust someone else?
Yes. For example, it won't work on the following files on my Solaris 8 box:
crwx-w---- 1 charlton tty 24, 4 Jan 21 11:31
/devices/pseudo/address@hidden:4
srwxrwxrwx 1 root root 0 Oct 4 12:15 /tmp/.X11-unix/X0
> Do you think the problem with special files might be important?
It's possible, yes. I've seen people put /tmp in their PATH.
It's not wise, but they do it.
Can't we get DJGPP fixed? It seems to be the odd man out here.