Lines Matching refs:zip
7 (the contents of which are also included in zip.h) for terms of use.
9 also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
16 #include "zip.h"
95 /* -1 unknown, 0 old zip file exists, 1 new zip file */
385 /* Search for shell expression in zip file */
393 fprintf(mesg, "zip diagnostic: %scluding %s\n",
404 name from zip -su in a console window to using that
418 fprintf(mesg, "zip diagnostic: %scluding %s\n",
478 sprintf(tempbuf, "name in zip file repeated: %s", nodup[j]->iname);
629 /* Search for name in zip file. If there, mark it, else add to
634 /* Discard directory names with zip -rj */
639 should zip only 'main.c' while 'c.' will be converted to '\0' by ex2in. */
708 /* Better keep the old name. Useful when updating on MSDOS a zip file
738 /* Check that we are not adding the zip file to itself. This
739 * catches cases like "zip -m foo ../dir/foo.zip".
763 fprintf(mesg, "file matches zip file -- skipping\n");
894 /* Search for name in zip file. If there, mark it, else add to
899 /* Discard directory names with zip -rj */
903 * a command like "zip -r zipfile FOO:" produces an empty internal name.
908 should zip only 'main.c' while 'c.' will be converted to '\0' by ex2in. */
969 /* Better keep the old name. Useful when updating on MSDOS a zip file
986 /* Check that we are not adding the zip file to itself. This
987 * catches cases like "zip -m foo ../dir/foo.zip".
1016 fprintf(mesg, "file matches zip file -- skipping\n");
1208 * This patch allows creation of remote zip files, but is not sufficient
1225 return ZE_CREAT; /* Can't erase zip file--give up */
1327 char *tempname(zip)
1328 char *zip; /* path name of zip file to generate temp name for */
1332 char *t = zip; /* malloc'ed space for name (use zip to avoid warning) */
1393 zptr = strrchr(zip, TANDEM_DELIMITER);
1402 strncat(tptr, zip, _min(FILENAME_MAX, (zptr - zip)) ); /* temp subvol */
1403 strncat(t, zip, _min(NAMELEN, ((zptr - zip) + 1)) ); /* temp stem */
1858 /* last disk is archive.zip */
1905 /* last disk is archive.zip */
2023 * file ending in .zip as this is assumed by get_in_split_path().
2111 fprintf(mesg, "\n z (look for .zip split - the last split)");
2181 /* update base_path to newdir/split_name - in_path is the .zip file path */
2449 /* create path for this split - zip.c checked for .zip extension */
2465 /* copy base_path except for end zip */
2510 /* create path for this split - zip.c checked for .zip extension */
2526 /* copy base_path except for end zip */
2646 /* A split must be at least 64K except last .zip split */
2780 ziperr(ZE_WRITE, "write error on zip file");
3050 * in zip.h and 32 bits. This avoids problems with
3602 * in zip.c, multiple short options in an argument (like -jlv), long
3650 /* moved to zip.h */
4373 * zip.h, or 0 when no more arguments.
4509 * have options, files to zip, or anything appropriate at that location