Lines Matching defs:GZ_SUFFIX
49 # define GZ_SUFFIX "-gz"
53 # define GZ_SUFFIX "-gz"
130 #ifndef GZ_SUFFIX
131 # define GZ_SUFFIX ".gz"
133 #define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1)
465 if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) {
471 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX);
474 strcat(outfile, GZ_SUFFIX);
505 if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) {
516 if (len > SUFFIX_LEN && strcmp(file+len-SUFFIX_LEN, GZ_SUFFIX) == 0) {
524 snprintf(buf + len, sizeof(buf) - len, "%s", GZ_SUFFIX);
526 strcat(infile, GZ_SUFFIX);