IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2020, 2:44:55 PM (6 years ago)
Author:
eugene
Message:

rename libfits byte-type to gfbyte to avoid collisions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/table/F_compress_T.c

    r39530 r41422  
    191191        goto got_cmptype;
    192192      }
    193       if (!strcmp (fields[field].datatype, "byte") ||
     193      if (!strcmp (fields[field].datatype, "gfbyte") ||
    194194          !strcmp (fields[field].datatype, "char")) {
    195195        strcpy (fields[field].zctype, "GZIP_1");
     
    208208
    209209    // OVERRIDE: GZIP_2 invalid for B (use GZIP_1)
    210     if (!strcasecmp (fields[field].zctype, "GZIP_2") && !strcmp (fields[field].datatype, "byte")) {
     210    if (!strcasecmp (fields[field].zctype, "GZIP_2") && !strcmp (fields[field].datatype, "gfbyte")) {
    211211      strcpy (fields[field].zctype, "GZIP_1");
    212212    }
Note: See TracChangeset for help on using the changeset viewer.