This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g++-3.0 bug in cout


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]