Subversion Repositories SvarDOS

Rev

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

Rev 293 Rev 295
Line 176... Line 176...
176
      puts("");
176
      puts("");
177
      printf(" %s\n", curzipnode->filename);
177
      printf(" %s\n", curzipnode->filename);
178
      goto RAII_ERR;
178
      goto RAII_ERR;
179
    }
179
    }
180
    /* abort if any file is compressed with an unsupported method */
180
    /* abort if any file is compressed with an unsupported method */
181
    if ((curzipnode->compmethod != 0/*store*/) && (curzipnode->compmethod != 8/*deflate*/)) { /* unsupported compression method */
181
    if ((curzipnode->compmethod != ZIP_METH_STORE) && (curzipnode->compmethod != ZIP_METH_DEFLATE)) { /* unsupported compression method */
182
      kitten_printf(8, 2, "ERROR: Package contains a file compressed with an unsupported method (%d):", curzipnode->compmethod);
182
      kitten_printf(8, 2, "ERROR: Package contains a file compressed with an unsupported method (%d):", curzipnode->compmethod);
183
      puts("");
183
      puts("");
184
      printf(" %s\n", curzipnode->filename);
184
      printf(" %s\n", curzipnode->filename);
185
      goto RAII_ERR;
185
      goto RAII_ERR;
186
    }
186
    }