Re: AS_EXECUTABLE_P again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stepan Kasal <kasal@xxxxxx> 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/pts@0: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.


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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux