Subversion Repositories SvarDOS

Rev

Rev 1892 | Rev 1894 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1892 Rev 1893
Line 354... Line 354...
354
    /* create the path, just in case it doesn't exist yet */
354
    /* create the path, just in case it doesn't exist yet */
355
    mkpath(buff);
355
    mkpath(buff);
356
    sprintf(fulldestfilename, "%s%s", buff, shortfile);
356
    sprintf(fulldestfilename, "%s%s", buff, shortfile);
357
 
357
 
358
    /* Now unzip the file */
358
    /* Now unzip the file */
-
 
359
    output(" ");
-
 
360
    output(curzipnode->filename);
-
 
361
    output(" -> ");
-
 
362
    output(buff);
359
    printf(" %s -> %s", curzipnode->filename, buff);
363
    //printf(" %s -> %s", curzipnode->filename, buff);
360
    unzip_result = zip_unzip(zipfd, curzipnode, fulldestfilename);
364
    unzip_result = zip_unzip(zipfd, curzipnode, fulldestfilename);
361
    puts("");
365
    puts("");
362
    if (unzip_result != 0) {
366
    if (unzip_result != 0) {
363
      kitten_printf(10, 4, unzip_result); /* "ERROR: unzip failure (%d)" */
367
      kitten_printf(10, 4, unzip_result); /* "ERROR: unzip failure (%d)" */
364
      puts("");
368
      puts("");