[GRASS5] Imagery GROUP file

Markus Neteler neteler at itc.it
Thu May 9 04:37:20 EDT 2002


A reminder:

Below GROUP/SUBGROUP changes still need to be described:
 - in the NEWS.html file [I can do that]
 - in the Programmer's manual [I can do that] 
 - for the imagery_dataset [I can do that] 

Somewhere else?

Markus


On Sat, Apr 13, 2002 at 06:14:36AM +0100, Glynn Clements wrote:
> 
> The use of the name "GROUP" for file which stores the current imagery
> group conflicts with the "group" directory on filesystems which
> perform case folding.
> 
> Someone has added a fix specifically for Cygwin:
> 
> 	#ifdef __CYGWIN__
> 	#define GROUPFILE "CURGROUP"
> 	#else
> 	#define GROUPFILE "GROUP"
> 	#endif
> 	
> 	#ifdef __CYGWIN__
> 	#define SUBGROUPFILE "CURSUBGROUP"
> 	#else
> 	#define SUBGROUPFILE "SUBGROUP"
> 	#endif
> 
> However:
> 
> 1. The same problem may occur with MacOS X, where case-folding
> filesystems are not uncommon.
> 
> 2. Users of conventional Unices might access a GRASS database which is
> stored on a case-folding filesystem, e.g. an SMB share which is used
> by both Unix and Windows systems, or a FAT partition on a dual-boot
> Linux/Windows box.
> 
> 3. This creates a portability problem regarding distributed datasets
> (e.g. the "imagery" dataset, which includes a GROUP file).
> 
> Consequently, I've changed the definitions so that the files are
> always called CURGROUP and CURSUBGROUP.
> 
> Users will need to rename (or re-create) any GROUP/SUBGROUP files
> after updating to the new code.
> 
> Also, any supplied datasets (e.g. "imagery") will need to be updated.
> 
> -- 
> Glynn Clements <glynn.clements at virgin.net>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5



More information about the grass-dev mailing list