On Sat, Mar 7, 2009 at 8:29 AM, Glynn Clements gl...@gclements.plus.com wrote:
Markus Neteler wrote:
access() sets errno when it fails.
If you want the reason why mkdir() failed, you need to test the return
value from G_mkdir(), e.g.:
...
Or is a second try to access unavoidable?
It
On Fri, Mar 6, 2009 at 10:35 AM, Maris Nartiss maris@gmail.com wrote:
Hello,
with ETX3 You can't have more than 31998 sub-directories per one
directory [1]. It doesn't matter if You use 32 or 64 bit arch.
Sniff, right:
grep _LINK_MAX /usr/include/*/*
...
Markus Neteler wrote:
Is this patch reasonable?
svn diff mapset_msc.c
Index: mapset_msc.c
===
--- mapset_msc.c(revision 36196)
+++ mapset_msc.c(working copy)
@@ -12,6 +12,7 @@
#include string.h
#include
On Sat, Mar 7, 2009 at 8:01 AM, Markus Neteler nete...@osgeo.org wrote:
On Sat, Mar 7, 2009 at 6:34 AM, Glynn Clements gl...@gclements.plus.com
wrote:
Markus Neteler wrote:
...
access() sets errno when it fails.
If you want the reason why mkdir() failed, you need to test the return
value
Markus Neteler wrote:
access() sets errno when it fails.
If you want the reason why mkdir() failed, you need to test the return
value from G_mkdir(), e.g.:
if (access(path, 0) != 0)
if (G_mkdir(path) != 0)
G_fatal_error(_(Unable to make mapset