Wed, Jul 3 2002
18:17:05
|
|
Request created by guest
|
|
Subject: support of longer GRASS file names
Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0pre4
Hi,
it would be a good idea to indicate on the manual pages the maximal number of
supported characters of a GRASS file name.
For example I experimented some problems with different g.*-commands on my long
file names (produced with i.image.mosaic). Neither elimination with g.remove,
nor renaming with
g.rename wasn't realizable on my long file names anymore.
many thanks
sigrid
|
|
Thu, Jul 25 2002
17:30:38
|
|
Mail sent by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Thu, 25 Jul 2002 17:30:35 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Subject |
Re: [GRASS5] [bug #1175] (grass) support of longer GRASS file names
|
Message-ID |
<20020725173035.B30484@itc.it>
|
References |
<20020703161706.42F38139C6@lists.intevation.de>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
User-Agent |
Mutt/1.2.5.1i
|
In-Reply-To |
<20020703161706.42F38139C6@lists.intevation.de>; from grass-bugs@intevation.de on Wed, Jul 03, 2002 at 06:17:06PM +0200
|
X-Spam-Status |
No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20
|
X-Spam-Level |
|
On Wed, Jul 03, 2002 at 06:17:06PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1175
> -------------------------------------------------------------------------
>
> Subject: support of longer GRASS file names
>
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.0pre4
>
> Hi,
>
> it would be a good idea to indicate on the manual pages the maximal number
of
> supported characters of a GRASS file name.
> For example I experimented some problems with different g.*-commands on my
long file names (produced with i.image.mosaic). Neither elimination with g.remove,
nor renaming with
> g.rename wasn't realizable on my long file names anymore.
This is a know problem. For 5.1 all buffers will be allocated
dynamically, or, at least one length defined:
#define GRASS_FILENAME_LENGTH 100
(or so)
This will take more time. But if you know commands which are too
limited, please post the list and we can maybe fix them quickly.
Markus
|
|
Fri, Dec 1 2006
08:04:02
|
|
Status changed to resolved by hbowman
|
|
Fri, Dec 1 2006
08:04:02
|
|
Comments added by hbowman
|
|
include/gis.h in GRASS 6 has:
/* File/directory name lengths */
#define GNAME_MAX 256
#define GMAPSET_MAX 256
and this has been implimented in many modules and libs. (mostly by Markus)
If someone finds a specific place where a static buffer fails and should be
using one of the above constants, please reopen the bug. But for now the
problem is widely addressed, so I'm closing it.
Hamish
|
|