Searched refs:cen (Results 1 – 1 of 1) sorted by relevance
67 #define CENSIZE(cen) (CENHDR + CENNAM(cen) + CENEXT(cen) + CENCOM(cen)) argument979 char *cen; in readCENHeader() local982 if ((cen = malloc(bufsize)) == NULL) goto Catch; in readCENHeader()983 if (readFullyAt(zfd, cen, bufsize, cenpos) == -1) goto Catch; in readCENHeader()984 censize = CENSIZE(cen); in readCENHeader()985 if (censize <= bufsize) return cen; in readCENHeader()986 if ((cen = realloc(cen, censize)) == NULL) goto Catch; in readCENHeader()987 if (readFully(zfd, cen+bufsize, censize-bufsize) == -1) goto Catch; in readCENHeader()988 return cen; in readCENHeader()991 free(cen); in readCENHeader()[all …]