autoconf-patches
[Top][All Lists]
Advanced

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

Re: Logging --version


From: Alexandre Oliva
Subject: Re: Logging --version
Date: 04 Apr 2001 12:52:57 -0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

On Apr  4, 2001, Akim Demaille <address@hidden> wrote:

> This is what I fear.  What could happen?

Hmm...  How about Or getting a file named `--version' created in the
current directory, when testing for touch.  Or getting this blank file
printed, when testing for lpr later on?  Or getting a shell script
named --version, that happens to be in your PATH, to be run, when
testing for some particular shell?  Or getting an error message in
your mail box saying that there's no mailbox named --version, when
testing for mail delivery programs?  I'm sure someone could come up
with more terrifying examples.

Alexandre> I'd rather special-case --version so that we only do it
Alexandre> when we know it's a reasonable safe thing to do.

> Say, compilers?

Yep.  Perhaps tools in general (as in AC_CHECK/PATH_TOOL, as opposed
to AC_CHECK/PATH_PROG).

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

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