autoconf-patches
[Top][All Lists]
Advanced

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

Re: testsuite -C dir


From: Eric Blake
Subject: Re: testsuite -C dir
Date: Tue, 29 Jan 2008 06:50:57 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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

According to Paolo Bonzini on 1/28/2008 11:10 PM:
|
|> I inadvertently stripped the leading
|> ./, so atlocal wasn't being sourced if the current directory was not in
|> the path in absolute form.
|
| I didn't know source used the path.  Actually I thought the contrary...

. has always used PATH; but in older shells, it also implicitly tacked .
onto its path search.  Since this was a security hole for trojan files,
POSIX forbids implicit `.'.  Thus, the only safe way to source a file in
the current directory is with anchored notation, since you can't rely on
`.' being in the user's PATH.

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

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

iD8DBQFHny9A84KuGfSFAYARAs2AAJ9ZwEeA9eHMrWbsrh3CzDqlXCfB5gCfWDVh
uj7/Rte6vF43Hui6h3Ji0n4=
=dXXw
-----END PGP SIGNATURE-----




reply via email to

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