Subversion Repositories SvarDOS

Rev

Rev 1965 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1965 Rev 1975
Line 187... Line 187...
187
    unlink(fulldestfilename); /* remove the failed file once it is closed */
187
    unlink(fulldestfilename); /* remove the failed file once it is closed */
188
    return(-7);
188
    return(-7);
189
  }
189
  }
190
  extract_res = -255;
190
  extract_res = -255;
191
 
191
 
192
  cksum = crc32_init(); /* init the crc32 */
192
  cksum = CRC32_INITVAL; /* init the crc32 */
193
 
193
 
194
  if (curzipnode->compmethod == 0) { /* if the file is stored, copy it over */
194
  if (curzipnode->compmethod == 0) { /* if the file is stored, copy it over */
195
    long i, toread;
195
    long i, toread;
196
    extract_res = 0;   /* assume we will succeed */
196
    extract_res = 0;   /* assume we will succeed */
197
    for (i = 0; i < curzipnode->filelen;) {
197
    for (i = 0; i < curzipnode->filelen;) {