On Sat, Mar 7, 2009 at 8:29 AM, Glynn Clements 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 should b
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
On Sat, Mar 7, 2009 at 8:01 AM, Markus Neteler wrote:
> On Sat, Mar 7, 2009 at 6:34 AM, Glynn Clements
> 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.:
>>
>>
On Sat, Mar 7, 2009 at 6:34 AM, Glynn Clements 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.:
>
> if (access(path, 0) != 0)
> if (G_mkdir(path) != 0)
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
> #include
On Fri, Mar 6, 2009 at 10:35 AM, Maris Nartiss 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/*/*
...
/usr/include/bits/posix1_lim.h:#define _POSIX_LINK_
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.
Maris.
1. http://en.wikipedia.org/wiki/Ext3
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.or
Hi
I am processing MODIS LST time series and got this problem:
r.in.gdal -o --o aqua_lst1km20090130.QC_Night.tif
out=aqua_lst1km20090130.QC_Night
100%
ERROR: Unable to make mapset element cell_misc/aqua_lst1km20090130.QC_Night
(/home/neteler/grassdata/patUTM32/modisLST005filt/cell_misc/a