Searched refs:cen (Results 1 – 1 of 1) sorted by relevance
69 #define CENSIZE(cen) (CENHDR + CENNAM(cen) + CENEXT(cen) + CENCOM(cen)) argument972 char *cen; in readCENHeader() local975 if ((cen = malloc(bufsize)) == NULL) goto Catch; in readCENHeader()976 if (readFullyAt(zfd, cen, bufsize, cenpos) == -1) goto Catch; in readCENHeader()977 censize = CENSIZE(cen); in readCENHeader()978 if (censize <= bufsize) return cen; in readCENHeader()979 if ((cen = realloc(cen, censize)) == NULL) goto Catch; in readCENHeader()980 if (readFullyAt(zfd, cen+bufsize, censize-bufsize, cenpos + bufsize) == -1) goto Catch; in readCENHeader()981 return cen; in readCENHeader()984 free(cen); in readCENHeader()[all …]