• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/

Lines Matching refs:zipfile

249   if (latest && zipfile && strcmp(zipfile, "-"))
277 stamp(zipfile, t);
289 if (zipfile != NULL)
291 free((zvoid *)zipfile);
292 zipfile = NULL;
371 if (tempzip != zipfile) {
390 zipfile);
393 zipfile);
418 if (zipfile != NULL) {
419 free((zvoid *)zipfile);
420 zipfile = NULL;
573 "zip [-options] [-b fm] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]",
574 " The default action is to add or replace zipfile entries from list.",
577 " -d delete entries in zipfile -m move into zipfile (delete OS files)",
582 " -c add one-line comments -z add zipfile comment",
583 " -o make zipfile as old as latest entry",
584 " -F fix zipfile (-FF try harder) -D do not add directory entries",
585 " -T test zipfile integrity -X eXclude eXtra file attributes",
597 "zip [-options] [-b fm] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]",
599 "zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]",
601 " The default action is to add or replace zipfile entries from list, which",
603 " If zipfile and list are omitted, zip compresses stdin to stdout.",
605 " -d delete entries in zipfile -m move into zipfile (delete OS files)",
614 " -c add one-line comments -z add zipfile comment",
615 " -@ read names from stdin -o make zipfile as old as latest entry",
627 " -F fix zipfile (-FF try harder) -D do not add directory entries",
628 " -A adjust self-extracting exe -J junk zipfile prefix (unzipsfx)",
629 " -T test zipfile integrity -X eXclude eXtra file attributes",
709 "zipfile entries.",
738 " -o make zipfile as old as latest entry",
744 " zip [-shortopts ...] [--longopt ...] [zipfile [path path ...]] [-xi list]",
748 " to zip up. If zipfile exists, the archive is read in. If zipfile",
755 " zip -ds 10 --temp-dir=path zipfile path1 path2 --exclude pattern pattern",
763 " zip zipfile path path ... -- verbatimpath verbatimpath ...",
765 " zip zipfile -nw -- \"-leadingdashpath\" \"a[path].c\" \"path*withwildcard\"",
775 " zip zipfile -r . -i \"*.h\"",
790 " zip -x pattern pattern @ zipfile path path ...",
890 " prog1 | zip -ll z - zip output of prog1 to zipfile z, converting CR LF",
1272 if ((zipfile = malloc(4)) == NULL)
1274 strcpy(zipfile, "-");
1277 ziperr(r, zipfile);
1386 ZIPERR(ZE_TEST, zipfile);
1411 ZIPERR(ZE_TEST, zipfile);
1485 ZIPERR(ZE_TEST, zipfile);
1506 fprintf(mesg, "test of %s FAILED\n", zipfile);
1510 fprintf(mesg, "test of %s OK\n", zipfile);
1514 fprintf(logfile, "test of %s OK\n", zipfile);
1849 /* Set the filetype of the zipfile to "application/zip" */
1854 /* Set the filetype of the zipfile to "application/x-zip" */
1859 /* Set the Creator/Type of the zipfile to 'IZip' and 'ZIP ' */
1864 /* Set the filetype of the zipfile to &DDC */
2045 {"O", "output-file", o_REQUIRED_VALUE, o_NOT_NEGATABLE, 'O', "set out zipfile different than in zipfile"},
2351 zip_to_stdout = 0; /* output zipfile to stdout 12/30/04 */
2407 zipfile = NULL; /* path of usual in and out zipfile */
2575 zipfile = tempzip = NULL;
2623 are returned before non-option arguments (zipfile).
2668 case 'A': /* Adjust unzipsfx'd zipfile: adjust offsets only */
2908 case 'N': /* Get zipfile comments from AmigaDOS/MACOS filenotes */
3262 s = 1; /* defer -@ until have zipfile name */
3334 /* first non-option arg is zipfile name */
3336 if (strcmp(value, "-") == 0) { /* output zipfile is dash */
3342 /* name of zipfile */
3343 if ((zipfile = ziptyp(value)) == NULL) {
3346 /* read zipfile if exists */
3349 ZIPERR(r, zipfile);
3355 fprintf(mesg, "sd: Zipfile name '%s'\n", zipfile);
3358 /* if in_path not set, use zipfile path as usual for input */
3361 if ((in_path = malloc(strlen(zipfile) + 1)) == NULL) {
3364 strcpy(in_path, zipfile);
3366 /* if out_path not set, use zipfile path as usual for output */
3369 if ((out_path = malloc(strlen(zipfile) + 1)) == NULL) {
3372 strcpy(out_path, zipfile);
3382 /* if (strcmp(zipfile, "-") == 0) {
3458 r = encr_passwd(ZP_PW_ENTER, key, IZ_PWLEN+1, zipfile);
3470 r = encr_passwd(ZP_PW_VERIFY, e, IZ_PWLEN+1, zipfile);
3736 if (zipfile && !strcmp(zipfile, "-")) {
3883 if ((tempzip = malloc(strlen(zipfile) + 12)) == NULL) {
3886 strcpy(tempzip, zipfile);
3903 if ((tempzip = tempname(zipfile)) == NULL) {
3930 ZIPERR(r, zipfile);
3968 if (strcmp(zipfile, "-") && !d)
3981 if (zip_attributes && strcmp(zipfile, "-")) {
4013 /* read zipfile if exists */
4015 ZIPERR(r, zipfile);
4047 /* no input zipfile and showing contents */
4049 ZIPERR(ZE_OPEN, zipfile);
4053 zipwarn(zipfile, " not found or empty");
4189 if (tempath == NULL && ((p = MBSRCHR(zipfile, '/')) != NULL ||
4191 (p = MBSRCHR(zipfile, '\\')) != NULL ||
4193 (p = MBSRCHR(zipfile, ':')) != NULL))
4199 if (tempath == NULL && (p = MBSRCHR(zipfile, '.')) != NULL)
4203 if (tempath == NULL && (p = LastDir(zipfile)) != NULL)
4206 if (tempath == NULL && (p = MBSRCHR(zipfile, '/')) != NULL)
4211 if ((tempath = (char *)malloc((int)(p - zipfile) + 1)) == NULL) {
4215 strcpy(tempath, zipfile);
4468 (namecmp(f->zname, zipfile) == 0 && !zip_to_stdout)
4699 check_zipfile(zipfile, argv[0]);
4707 ZIPERR(ZE_NAME, zipfile);
4731 ZIPERR(ZE_NONE, zipfile);
4761 * so when the zipfile does not exist already and when -b is specified,
4764 if (strcmp(zipfile, "-"))
4795 if (strcmp(zipfile, "-") == 0)
4798 /* It is nonsense to emit the binary data stream of a zipfile to
4804 ZIPERR(ZE_LOGIC, "tried to write binary zipfile data to console!");
4827 if ((y = zfopen(zipfile, FOPM)) == NULL) {
4828 ZIPERR(ZE_NAME, zipfile);
4830 tempzip = zipfile;
4836 ZIPERR(ferror(y) ? ZE_READ : ZE_EOF, zipfile);
4884 if ((tempzip = malloc(strlen(zipfile) + 12)) == NULL) {
4887 strcpy(tempzip, zipfile);
4904 if ((tempzip = tempname(zipfile)) == NULL) {
4950 if (strcmp(zipfile, "-") != 0 && !d) /* this must go *after* set[v]buf */
4954 ZIPERR(r, r == ZE_TEMP ? tempzip : zipfile);
5927 if (strcmp(zipfile, "-") && !d)
5944 if (zip_attributes && strcmp(zipfile, "-")) {
5952 if (strcmp(zipfile, "-")) {