[GRASS-dev] r.patch input file limitation

Markus Neteler neteler at osgeo.org
Thu Jul 23 12:51:28 EDT 2009


On Thu, Jul 23, 2009 at 4:48 AM, Glynn Clements<glynn at gclements.plus.com> wrote:
>
> Markus Neteler wrote:
>
>> would it be difficult to remove the hardcoded limit of input files
>> of the r.patch module?
>
> What limit? It was removed in 7.0 over two years ago:
>
> http://trac.osgeo.org/grass/changeset/23499
>
> and appears to have been backported.
>
> The only limit should be any OS-imposed limit on the number of open files.

Good.
But apparently it wasn't backported to 6.4.svn:

[neteler at localhost r.patch]$ pwd
/home/neteler/grass64_release/raster/r.patch

[neteler at localhost r.patch]$ grep MAXFILES *
nfiles.h: * Must be smaller than MAXFILES as defined in lib/gis/G.h which
nfiles.h:#define MAXFILES 200

Any objections to backport it? I want to avoid last minute breaks
but since it has been tested for 2 years...

Markus


More information about the grass-dev mailing list