[GRASS-dev] do not get debug messages in 63-cvs

Martin Landa landa.martin at gmail.com
Mon Nov 6 01:05:36 EST 2006


Hi,

2006/11/5, Florian Kindl <Florian.Kindl at uibk.ac.at>:
> On Sun, 5 Nov 2006, Martin Landa wrote:
>
> > I am also not sure, is this patch enough to fix it?
> > -    G_debug ( 4, "G_getl2: ->%s<-", buf );
> > +    if (G__getenv ("DEBUG"))
> > +       G_debug ( 4, "G_getl2: ->%s<-", buf );
> >
>
> here, it works ...

yes, I meant -- when you do not set up DEBUG variable and call
G_getl2() function no debug message (inside the function) will be
printed. It is not nice solution.

Cheers, Martin

> --
> Florian Kindl
> Institute of Geography
> University of Innsbruck
>
>


-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *




More information about the grass-dev mailing list