[GRASS-SVN] r43105 - grass/trunk/general/g.access
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 14 14:01:28 EDT 2010
Author: mmetz
Date: 2010-08-14 18:01:28 +0000 (Sat, 14 Aug 2010)
New Revision: 43105
Modified:
grass/trunk/general/g.access/get_perms.c
Log:
g.access: LFS for wingrass
Modified: grass/trunk/general/g.access/get_perms.c
===================================================================
--- grass/trunk/general/g.access/get_perms.c 2010-08-14 18:00:11 UTC (rev 43104)
+++ grass/trunk/general/g.access/get_perms.c 2010-08-14 18:01:28 UTC (rev 43105)
@@ -1,3 +1,4 @@
+#include <grass/config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "access.h"
@@ -4,7 +5,7 @@
int get_perms(char *path, int *perms, int *group, int *other)
{
- struct stat buf;
+ STRUCT_STAT buf;
if (stat(path, &buf) != 0)
return -1;
More information about the grass-commit
mailing list