Searched refs:cen (Results 1 – 1 of 1) sorted by relevance
69 #define CENSIZE(cen) (CENHDR + CENNAM(cen) + CENEXT(cen) + CENCOM(cen)) argument977 char *cen; in readCENHeader() local980 if ((cen = malloc(bufsize)) == NULL) goto Catch; in readCENHeader()981 if (readFullyAt(zfd, cen, bufsize, cenpos) == -1) goto Catch; in readCENHeader()982 censize = CENSIZE(cen); in readCENHeader()983 if (censize <= bufsize) return cen; in readCENHeader()984 if ((cen = realloc(cen, censize)) == NULL) goto Catch; in readCENHeader()985 if (readFullyAt(zfd, cen+bufsize, censize-bufsize, cenpos + bufsize) == -1) goto Catch; in readCENHeader()986 return cen; in readCENHeader()989 free(cen); in readCENHeader()[all …]