[GRASS-dev] Incorrect stuff coming through stderr?

Māris Nartišs maris.gis at gmail.com
Thu Aug 31 02:53:42 EDT 2006


Can't confirm on 6.3cvs. GUI shows nice progress bar but CLI prints x% as it 
should be.

Only place in question for r.in.ascii is at file gethead.c:301

	fprintf (stderr, "  %s\n", msg);

As this is some kind of error printing routine, this could be converted to 
G_warning atleast.

Oh, btw, why r.in.ascii lacks license information? No author, no GPL?

Just my 0.01,
Maris.

On Thursday 31 August 2006 05:44, Michael Barton wrote:
> One of my colleagues just noticed that the information below is being
> written to stderr from r.in.ascii.
>
> It seems to us that this is incorrect, and should be directed to stdout or
> something else.
>
> Michael
>
> ___________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution & Social Change
> Center for Social Dynamics & Complexity
> Arizona State University
>
> WWW - http://www.public.asu.edu/~cmbarton
> Phone: 480-965-6262
> Fax: 480-965-7671
>
> ------ Forwarded Message
> From: <Gary.Mayer at asu.edu>
> Date: Thu, 31 Aug 2006 01:28:47 +0000
> To: <Michael.Barton at asu.edu>
> Subject: Std err
>
> I don't know it it will paste correctly, but this is what I was talking
> about:
>
>  0%   4%   8%  12%  16%  20%  24%
> 28%  32%  36%  40%  44%  48%  52%
> 56%  60%  64%  68%  72%  76%  80%
> 84%  88%  92%  96% 100%
> CREATING SUPPORT FILES FOR managed.2.6
>
> It occurs when I create the new maps using r.in.ascii and is sent via
> standard error.
>
> - Gary
>
> ------ End of Forwarded Message
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev




More information about the grass-dev mailing list