[GRASS-dev] Re: mkdir function

Markus Neteler neteler at itc.it
Thu Dec 14 08:28:30 EST 2006


Glynn Clements wrote on 12/13/2006 11:58 PM:
> Glynn Clements wrote:
>
>   
>> I've attached an updated patch; apart from eliminating
>> the compilation errors, it eliminates the warnings arising from the
>> addition of G_lstat().
>>     
>
> However, photo.elev fails to compile due to a conflicting use of
> "stat" in elev.h.
>
> In retrospect, this is probably sufficient (and less problematic):
>
> --- include/gisdefs.h	13 Dec 2006 16:48:41 -0000	1.74
> +++ include/gisdefs.h	13 Dec 2006 22:57:17 -0000
> @@ -870,6 +870,7 @@
>  int G_is_dirsep(char);
>  char *G_convert_dirseps_to_host(char *);
>  char *G_convert_dirseps_from_host(char *);
> +struct stat;
>  int G_lstat(const char *, struct stat *);
>  
>  /* percent.c */
>   
Thanks Glynn. So should I submit the other changes then?

Markus




More information about the grass-dev mailing list