[GRASS5] Re: [GRASS-CVS] hamish: grass/src/general/g.gisenv main.c,1.9,1.10

Markus Neteler neteler at itc.it
Fri Apr 18 05:35:35 EDT 2003


On Fri, Apr 18, 2003 at 03:16:08AM +0200, grass at intevation.de wrote:
> Author: hamish
> 
> Update of /grassrepository/grass/src/general/g.gisenv
> In directory doto:/tmp/cvs-serv17054
> 
> Modified Files:
> 	main.c 
> Log Message:
> allow program to run even with a corrupted mapset (so you can fix it)  [Bug 1797]
> 
> 
> Index: main.c
> ===================================================================
> RCS file: /grassrepository/grass/src/general/g.gisenv/main.c,v
> retrieving revision 1.9
> retrieving revision 1.10
> diff -u -d -r1.9 -r1.10
> --- main.c	12 Apr 2003 06:27:11 -0000	1.9
> +++ main.c	18 Apr 2003 01:16:06 -0000	1.10
> @@ -12,7 +12,8 @@
>      struct Option *get, *set;
>      struct GModule *module;
>      
> -    G_gisinit (argv[0]);
> +    G_set_program_name(argv[0]);
> +    G_no_gisinit();
>  
>      module = G_define_module();
>      module->description =


Is this fix also desired for 5.1? If yes, someone (me?) should
merge it into.

Markus




More information about the grass-dev mailing list