|
Lines 575-580
char **argv; /* command line
Link Here
|
| 575 |
strcpy(z->iname, a+2); |
575 |
strcpy(z->iname, a+2); |
| 576 |
#endif |
576 |
#endif |
| 577 |
|
577 |
|
|
|
578 |
#ifdef UNICODE_SUPPORT |
| 579 |
#define UTF8_BIT (1 << 11) |
| 580 |
if (using_utf8) { |
| 581 |
z->uname = z->iname; |
| 582 |
} |
| 583 |
#endif |
| 584 |
|
| 578 |
/* |
585 |
/* |
| 579 |
* Don't update z->nam here, we need the old value a little later..... |
586 |
* Don't update z->nam here, we need the old value a little later..... |
| 580 |
* The update is handled in zipcopy(). |
587 |
* The update is handled in zipcopy(). |
|
Lines 661-667
char **argv; /* command line
Link Here
|
| 661 |
if ((r = zipcopy(z)) != ZE_OK) |
668 |
if ((r = zipcopy(z)) != ZE_OK) |
| 662 |
ziperr(r, "was copying an entry"); |
669 |
ziperr(r, "was copying an entry"); |
| 663 |
} |
670 |
} |
| 664 |
fclose(x); |
671 |
fclose(in_file); |
| 665 |
|
672 |
|
| 666 |
/* Write central directory and end of central directory with new comments */ |
673 |
/* Write central directory and end of central directory with new comments */ |
| 667 |
if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */ |
674 |
if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */ |