[GRASS-dev] Re: mkdir function

Glynn Clements glynn at gclements.plus.com
Wed Dec 13 17:58:22 EST 2006


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 */


-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list