This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++-3.0 bug in cout
- To: Juha Mäkinen <juham at koti dot tpo dot fi>
- Subject: Re: g++-3.0 bug in cout
- From: Francois Gouget <fgouget at free dot fr>
- Date: Fri, 1 Jun 2001 09:45:39 -0700 (PDT)
- cc: gcc-bugs at gcc dot gnu dot org
On Fri, 1 Jun 2001, Juha Mäkinen wrote:
> I sent a report on the weird behavior of a perfectly simple
> hello-world type program. Now I must confess, I did do
> something silly after all. My PATH usually contains among
> others the directory . (that is, my user-id PATH, my root-user
> PATH certainly does NOT ) and for some reason it had gone missing
> in a recent upgrade. So the # test did not find the right program.
>
> Should have done # ./test -- I blush.
I think there's another lesson here: never call a test program test!
More generally, try to avoid reusing the name of a program installed on
the system. That's why test programs are always called foo ;-)
--
Francois Gouget fgouget@free.fr http://fgouget.free.fr/
It really galls me that most of the computer power in the world
is wasted on screen savers.
Chris Caldwell from the GIMPS project
http://www.mersenne.org/prime.htm