Subversion Repositories SvarDOS

Rev

Rev 272 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 272 Rev 295
Line 171... Line 171...
171
  unsigned char *buff;
171
  unsigned char *buff;
172
  struct utimbuf filetimestamp;
172
  struct utimbuf filetimestamp;
173
 
173
 
174
  /* first of all, check we support the compression method */
174
  /* first of all, check we support the compression method */
175
  switch (curzipnode->compmethod) {
175
  switch (curzipnode->compmethod) {
176
    case 0:  /* stored */
176
    case ZIP_METH_STORE:
177
    case 8:  /* deflated */
177
    case ZIP_METH_DEFLATE:
178
      break;
178
      break;
179
    default: /* unsupported compression method, sorry */
179
    default: /* unsupported compression method, sorry */
180
      return(-1);
180
      return(-1);
181
      break;
181
      break;
182
  }
182
  }