version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.2 1999/07/13 06:02:42 cvs Exp $"; | | * "$Id: map.c,v 1.3 1999/08/23 00:26:12 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* The first entry must be NULL - this is what is used for non | | * The first entry must be NULL - this is what is used for non |
* compressed files. | | * compressed files. |
*/ | | */ |
char *uncomp[NROF_COMPRESS_METHODS][3] = { | | #define NROF_COMPRESS_METHODS 4 |
| | char *uncomp[4][3] = { |
{NULL, NULL, NULL}, | | {NULL, NULL, NULL}, |
#ifdef COMPRESS_SUFFIX | | {".Z", UNCOMPRESS, COMPRESS}, |
{COMPRESS_SUFFIX, UNCOMPRESS, COMPRESS}, | | {".gz", GUNZIP, GZIP}, |
#endif | | {".bz2", BUNZIP, BZIP} |
{".Z", "uncompress", "compress"}, | | |
{".gz", "gunzip", "gzip"} | | |
}; | | }; |
| | |
| | |