bug-texinfo
[Top][All Lists]
Advanced

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

Re: AS_EXECUTABLE_P again -- summary (was: bug in texi2dvi, and hack pat


From: Eli Zaretskii
Subject: Re: AS_EXECUTABLE_P again -- summary (was: bug in texi2dvi, and hack patch)
Date: Sat, 22 Jan 2005 20:52:16 +0200

> Date: Sat, 22 Jan 2005 17:57:44 +0100
> From: Stepan Kasal <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> 
> If there was a named pipe /tmp/foo with an executable bit set, the test
> could misclasify it as an executable file.

Thanks for the explanations.

FWIW, I don't regard this as ``misclasification'', since the named
pipe does, indeed, have its executable bit set.

> > So what _are_ you suggesting for AS_EXECUTABLE_P to do?
> 
> I'm happy with the current code.  (Part of it is my work. :-)
> It does `test -f $1 && test -x $1' on most platforms.

Would changing it to

        test -f $1 || test -x $1

leave you and others happy?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]