[GRASS-dev] [bug #4757] (grass) lib/gis/done_msg.c fails

Request Tracker grass-bugs at intevation.de
Wed Jun 28 09:37:15 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4757
-------------------------------------------------------------------------

Subject: lib/gis/done_msg.c fails

grass obtained from: CVS
grass binary for platform: Compiled from Sources

Hi,

both getlogin() and G_whoami() fail in lib/gis/done_msg.c.
It is not clear to me why these functions are needed at all.

Proposal: simplify the function to:

#include <grass/gis.h>
#include <grass/glocale.h>

int G_done_msg(char *msg)
{
        G_message(_("%s complete. %s\n"), G_program_name(), msg);
        return 0;
}


Markus

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list