autoconf
[Top][All Lists]
Advanced

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

Re: AT_TESTED: make it work with full paths from AC_PATH_PROG


From: Eric Blake
Subject: Re: AT_TESTED: make it work with full paths from AC_PATH_PROG
Date: Tue, 17 Nov 2009 22:10:23 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Allan Clark on 11/17/2009 7:21 AM:
>     Nice idea.  However, it adds the potential for false positives.  A
>     better
>     patch would be to check for an absolute name prior to starting the loop
>     over PATH.  I'll work up a patch along those lines.
> 
> 
> Cool.
> 
> What kind of false-positives?  Are you concerned in matching a file
> /bzcat, or /awk in the root directory?  Worried about straying off the
> beaten $PATH?

Yep - that's exactly the problem I'm worried about.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksDgb8ACgkQ84KuGfSFAYCQmgCgg1y0KHkNjlQ4CnhhF9jq87Rj
H5wAnjt0hMwuCkI89wPtglXzgwSwu4qv
=Dbhu
-----END PGP SIGNATURE-----




reply via email to

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