Lines Matching refs:comment
115 if (zip->comment != 0)
116 free(zip->comment);
164 * the file since that is the maximum comment length.
198 zip->comment = malloc(clen + 1);
199 if (zip->comment == 0)
201 if (readFully(zip->fd, zip->comment, clen) == -1)
203 free(zip->comment);
204 zip->comment = 0;
207 zip->comment[clen] = '\0';
278 addEntryComment(jzfile *zip, int index, char *comment)
282 zip->comments[index] = comment;
458 * If there is a comment add it to our comments array.
462 char *comment = malloc(clen+1);
463 memcpy(comment, cp+CENHDR+nlen+elen, clen);
464 comment[clen] = 0;
465 addEntryComment(zip, count, comment);
700 * Process any comment (this should be very rare)
705 ze->comment = zip->comments[index];