亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? zip.c

?? 匯編代碼大全
?? C
?? 第 1 頁 / 共 3 頁
字號:
/* Copyright (C) 1990-1993 Mark Adler, Richard B. Wales, Jean-loup Gailly, Kai Uwe Rommel and Igor Mandrichenko. Permission is granted to any individual or institution to use, copy, or redistribute this software so long as all of the original files are included, that it is not sold for profit, and that this copyright notice is retained.*//* *  zip.c by Mark Adler. */#include "revision.h"#include "zip.h"#include "crypt.h"#ifdef VMS#  include "VMSmunch.h"#endif#if (defined(MSDOS) && !defined(__GO32__)) || defined(__human68k__)#  include <process.h>#endif#include <signal.h>#ifdef MACOS#  include <console.h>#endif#define MAXCOM 256      /* Maximum one-line comment size *//* Local option flags */#define DELETE  0#define ADD     1#define UPDATE  2#define FRESHEN 3local int action = ADD; /* one of ADD, UPDATE, FRESHEN, or DELETE */local int comadd = 0;   /* 1=add comments for new files */local int zipedit = 0;  /* 1=edit zip comment and all file comments */local int latest = 0;   /* 1=set zip file time to time of latest file */local ulg before = 0;   /* 0=ignore, else exclude files before this time */local int test = 0;     /* 1=test zip file with unzip -t */local int tempdir = 0;  /* 1=use temp directory (-b) *//* Temporary zip file name and file pointer */local char *tempzip;local FILE *tempzf;/* Local functions */local void freeup  OF((void));local void leave   OF((int));local void handler OF((int));local void license OF((void));local void help    OF((void));local void zipstdout OF((void));local void check_zipfile OF((char *zipname));local void get_filters OF((int argc, char **argv));      int  main     OF((int, char **));local int count_args OF((char *s));local void envargs   OF((int *Pargc, char ***Pargv, char *envstr));local void freeup()/* Free all allocations in the found list and the zfiles list */{  struct flist far *f;  /* steps through found list */  struct zlist far *z;  /* pointer to next entry in zfiles list */  for (f = found; f != NULL; f = fexpel(f))    ;  while (zfiles != NULL)  {    z = zfiles->nxt;    free((voidp *)(zfiles->name));    if (zfiles->zname != zfiles->name)      free((voidp *)(zfiles->zname));    if (zfiles->ext)      free((voidp *)(zfiles->extra));    if (zfiles->cext && zfiles->cextra != zfiles->extra)      free((voidp *)(zfiles->cextra));    if (zfiles->com)      free((voidp *)(zfiles->comment));    farfree((voidp far *)zfiles);    zfiles = z;    zcount--;  }}local void leave(e)int e;                  /* exit code *//* Process -o and -m options (if specified), free up malloc'ed stuff, and   exit with the code e. */{  int r;                /* return value from trash() */  ulg t;                /* latest time in zip file */  struct zlist far *z;  /* pointer into zfile list */  /* If latest, set time to zip file to latest file in zip file */  if (latest && zipfile && strcmp(zipfile, "-"))  {    diag("changing time of zip file to time of latest file in it");    /* find latest time in zip file */    if (zfiles == NULL)       warn("zip file is empty, can't make it as old as latest entry", "");    else {      t = 0;      for (z = zfiles; z != NULL; z = z->nxt)        /* Ignore directories in time comparisons */        if (t < z->tim && z->zname[z->nam-1] != '/')          t = z->tim;      /* set modified time of zip file to that time */      if (t != 0)        stamp(zipfile, t);      else        warn(         "zip file has only directories, can't make it as old as latest entry",         "");    }  }  if (tempath != NULL)  {    free((voidp *)tempath);    tempath = NULL;  }  if (zipfile != NULL)  {    free((voidp *)zipfile);    zipfile = NULL;  }  /* If dispose, delete all files in the zfiles list that are marked */  if (dispose)  {    diag("deleting files that were added to zip file");    if ((r = trash()) != ZE_OK)      err(r, "was deleting moved files and directories");  }  /* Done! */  freeup();#ifdef VMS  exit(0);#else /* !VMS */  exit(e);#endif /* ?VMS */}void err(c, h)int c;                  /* error code from the ZE_ class */char *h;                /* message about how it happened *//* Issue a message for the error, clean up files and memory, and exit. */{  static int error_level;  if (error_level++ > 0) exit(0);  /* avoid recursive err() */  if (h != NULL) {    if (PERR(c))      perror("zip error");    fflush(mesg);    fprintf(stderr, "\nzip error: %s (%s)\n", errors[c-1], h);  }  if (tempzip != NULL)  {    if (tempzip != zipfile) {      if (tempzf != NULL)        fclose(tempzf);#ifndef DEBUG      destroy(tempzip);#endif      free((voidp *)tempzip);    } else {      /* -g option, attempt to restore the old file */      int k = 0;                        /* keep count for end header */      ulg cb = cenbeg;                  /* get start of central */      struct zlist far *z;  /* steps through zfiles linked list */      fprintf(stderr, "attempting to restore %s to its previous state\n",         zipfile);      fseek(tempzf, cenbeg, SEEK_SET);      tempzn = cenbeg;      for (z = zfiles; z != NULL; z = z->nxt)      {        putcentral(z, tempzf);        tempzn += 4 + CENHEAD + z->nam + z->cext + z->com;        k++;      }      putend(k, tempzn - cb, cb, zcomlen, zcomment, tempzf);      tempzf = NULL;      fclose(tempzf);    }  }  if (key != NULL)    free((voidp *)key);  if (tempath != NULL)    free((voidp *)tempath);  if (zipfile != NULL)    free((voidp *)zipfile);  freeup();#ifdef VMS  c = 0;#endif  exit(c);}void error(h)  char *h;/* Internal error, should never happen */{  err(ZE_LOGIC, h);}local void handler(s)int s;                  /* signal number (ignored) *//* Upon getting a user interrupt, turn echo back on for tty and abort   cleanly using err(). */{#if !defined(MSDOS) && !defined(__human68k__)  echon();  putc('\n', stderr);#endif /* !MSDOS */  err(ZE_ABORT, "aborting");  s++;                                  /* keep some compilers happy */}void warn(a, b)char *a, *b;            /* message strings juxtaposed in output *//* Print a warning message to stderr and return. */{  if (noisy) fprintf(stderr, "zip warning: %s%s\n", a, b);}local void license()/* Print license information to stdout. */{  extent i;             /* counter for copyright array */  for (i = 0; i < sizeof(copyright)/sizeof(char *); i++) {    printf(copyright[i], "zip");    putchar('\n');  }  for (i = 0; i < sizeof(disclaimer)/sizeof(char *); i++)    puts(disclaimer[i]);}local void help()/* Print help (along with license info) to stdout. */{  extent i;             /* counter for help array */  /* help array */  static char *text[] = {"","Zip %s (%s). Usage:","zip [-options] [-b path] [-t mmddyy] [-n suffixes] [zipfile list] [-xi list]","  The default action is to add or replace zipfile entries from list, which","  can include the special name - to compress standard input.","  If zipfile and list are omitted, zip compresses stdin to stdout.","  -f   freshen: only changed files  -u   update: only changed or new files","  -d   delete entries in zipfile    -m   move into zipfile (delete files)","  -k   simulate PKZIP made zipfile  -g   allow growing existing zipfile","  -r   recurse into directories     -j   junk (don't record) directory names","  -0   store only                   -l   convert LF to CR LF (-ll CR LF to LF)","  -1   compress faster              -9   compress better","  -q   quiet operation              -v   verbose operation","  -c   add one-line comments        -z   add zipfile comment","  -b   use \"path\" for temp file     -t   only do files after \"mmddyy\"","  -@   read names from stdin        -o   make zipfile as old as latest entry","  -x   exclude the following names  -i   include only the following names",#ifdef VMS" \"-F\"  fix zipfile(-FF try harder) \"-D\"  do not add directory entries"," \"-T\"  test zipfile integrity      \"-L\"  show software license","  -w   append the VMS version number to the name stored in the zip file"," \"-V\"  save VMS file attributes",#else"  -F   fix zipfile (-FF try harder) -D   do not add directory entries","  -T   test zipfile integrity       -L   show software license",#endif /* VMS */#ifdef OS2"  -E   use the .LONGNAME Extended attribute (if found) as filename",#endif /* OS2 */#ifdef S_IFLNK"  -y   store symbolic links as the link instead of the referenced file",#endif /* !S_IFLNK */#if defined(MSDOS) || defined(OS2)"  -$   include volume label         -S   include system and hidden files",#endif#ifdef CRYPT"  -e   encrypt  (-ee verify key)    -n   don't compress these suffixes"#else"  -h   show this help               -n   don't compress these suffixes"#endif  };  for (i = 0; i < sizeof(copyright)/sizeof(char *); i++)  {    printf(copyright[i], "zip");    putchar('\n');  }  for (i = 0; i < sizeof(text)/sizeof(char *); i++)  {    printf(text[i], VERSION, REVDATE);    putchar('\n');  }}/* Do command line expansion for MSDOS, VMS, ATARI, and AMIGA but not OS/2 */#if defined(MSVMS) || defined(AMIGA)#  define PROCNAME(n) (action==ADD||action==UPDATE?wild(n):procname(n))#else /* !MSVMS */#  define PROCNAME(n) procname(n)#endif /* ?MSVMS */local void zipstdout()/* setup for writing zip file on stdout */{  int r;  mesg = stderr;  if (isatty(1))    err(ZE_PARMS, "cannot write zip file to terminal");  if ((zipfile = malloc(4)) == NULL)    err(ZE_MEM, "was processing arguments");  strcpy(zipfile, "-");  if ((r = readzipfile()) != ZE_OK)    err(r, zipfile);}local void check_zipfile(zipname)  char *zipname;  /* Invoke unzip -t on the given zip file */{#if (defined(MSDOS) && !defined(__GO32__)) || defined(__human68k__)   if (spawnlp(P_WAIT, "unzip", "unzip", verbose ? "-t" : "-tqq",               zipname, NULL)) {#else   char cmd[128];   strcpy(cmd, "unzip -t ");   if (!verbose) strcat(cmd, "-qq ");   strcat(cmd, zipname);# ifdef VMS   if (!system(cmd)) {# else   if (system(cmd)) {# endif#endif     fprintf(mesg, "test of %s FAILED\n", zipfile);     err(ZE_TEST, "original files unmodified");   }   if (noisy)     fprintf(mesg, "test of %s OK\n", zipfile);}local void get_filters(argc, argv)  int argc;               /* number of tokens in command line */  char **argv;            /* command line tokens *//* Counts number of -i or -x patterns, sets patterns and pcount */{  int i;  int flag = 0;  pcount = 0;  for (i = 1; i < argc; i++) {    if (argv[i][0] == '-') {      if (strrchr(argv[i], 'i') != NULL) {        flag = 'i';      } else if (strrchr(argv[i], 'x') != NULL) {        flag = 'x';      } else {        flag = 0;      }    } else if (flag) {      if (patterns != NULL) {        patterns[pcount].zname = ex2in(argv[i], 0, (int *)NULL);        patterns[pcount].select = flag;        if (flag == 'i') icount++;      }      pcount++;    }  }  if (pcount == 0 || patterns != NULL) return;  patterns = (struct plist*) malloc(pcount * sizeof(struct plist));  if (patterns == NULL)    err(ZE_MEM, "was creating pattern list");  get_filters(argc, argv);}int main(argc, argv)int argc;               /* number of tokens in command line */char **argv;            /* command line tokens *//* Add, update, freshen, or delete zip entries in a zip file.  See the   command help in help() above. */{  int a;                /* attributes of zip file */  ulg c;                /* start of central directory */  int d;                /* true if just adding to a zip file */  char *e;              /* malloc'd comment buffer */  struct flist far *f;  /* steps through found linked list */  int i;                /* arg counter, root directory flag */  int k;                /* next argument type, marked counter,                           comment size, entry count */  ulg n;                /* total of entry len's */  int o;                /* true if there were any ZE_OPEN errors */  char *p;              /* steps through option arguments */  char *pp;             /* temporary pointer */  int r;                /* temporary variable */  int s;                /* flag to read names from stdin */  ulg t;                /* file time, length of central directory */  struct zlist far *v;  /* temporary variable */  struct zlist far * far *w;    /* pointer to last link in zfiles list */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久久综合日本| 日本高清不卡在线观看| 国产精品一二一区| 国产一区三区三区| 成人高清视频在线观看| 91网站在线播放| 欧美电视剧在线观看完整版| 欧美国产精品劲爆| 国产真实乱偷精品视频免| 久久先锋影音av| 国产精品国产三级国产aⅴ原创| 亚洲精品欧美激情| 日韩高清电影一区| 国产精品一区二区免费不卡 | 午夜久久久久久久久久一区二区| 国产98色在线|日韩| 制服丝袜亚洲精品中文字幕| 亚洲同性同志一二三专区| 久久精品国产澳门| 欧美天堂一区二区三区| 欧美国产视频在线| ...av二区三区久久精品| 欧美区视频在线观看| 国产精品色一区二区三区| 蜜臀av在线播放一区二区三区| 国产69精品久久久久毛片| 制服丝袜国产精品| 亚洲超碰精品一区二区| 91麻豆视频网站| 国产精品乱人伦| 不卡av电影在线播放| 国产精品欧美一区喷水| 国产在线精品一区二区夜色| 日韩亚洲欧美中文三级| 日本在线不卡一区| 日韩精品一区在线| 黄一区二区三区| 欧美日本一道本在线视频| 色婷婷久久久亚洲一区二区三区| 精品国产凹凸成av人导航| 久久国产夜色精品鲁鲁99| 欧美精品粉嫩高潮一区二区| 亚洲精品国产精品乱码不99| 日本精品裸体写真集在线观看| 中文字幕精品三区| 在线观看视频一区二区欧美日韩| 亚洲精品欧美激情| 日韩视频中午一区| 成人久久久精品乱码一区二区三区| 亚洲色图19p| 欧美羞羞免费网站| 国产精品国产自产拍在线| 色狠狠色噜噜噜综合网| 亚洲国产视频一区| 精品久久久影院| 成人激情av网| 奇米亚洲午夜久久精品| 精品欧美乱码久久久久久1区2区| 成人爽a毛片一区二区免费| 国产精品第13页| 欧美一级片免费看| 国产美女一区二区三区| 亚洲精品伦理在线| 久久久另类综合| av综合在线播放| 日本aⅴ免费视频一区二区三区| 久久精品在这里| 在线播放亚洲一区| 99久久精品一区二区| 免费日韩伦理电影| 日韩av一二三| 亚洲亚洲人成综合网络| 国产欧美精品区一区二区三区| 欧美日本一区二区在线观看| 91色porny在线视频| 国产精品88av| 精品亚洲成av人在线观看| 国产精品久久二区二区| 久久久一区二区三区| 欧美日韩午夜在线| 色综合天天综合网天天狠天天| 国产成人免费视频网站高清观看视频 | 激情图区综合网| 亚洲成av人**亚洲成av**| 亚洲美女淫视频| 亚洲精品高清视频在线观看| 国产日韩av一区二区| 日韩欧美www| 2020日本不卡一区二区视频| 欧美一级二级三级蜜桃| 欧美久久一二三四区| 欧美性一区二区| 欧美猛男男办公室激情| 欧美一区二区视频免费观看| 国产精品电影一区二区三区| 中文字幕在线不卡视频| 中文字幕亚洲电影| 综合网在线视频| 亚洲国产色一区| 美国十次综合导航| 精品一区二区三区在线视频| 老司机一区二区| 国产精品自产自拍| 国产风韵犹存在线视精品| 国产成人鲁色资源国产91色综| 国产aⅴ综合色| 欧美日韩二区三区| 日韩欧美的一区二区| 国产午夜精品理论片a级大结局| 成人欧美一区二区三区1314| 午夜视黄欧洲亚洲| 国产一区91精品张津瑜| 色婷婷av一区二区| 欧美变态tickling挠脚心| 国产精品久久久久久久蜜臀| 国产精品白丝在线| 亚洲成人激情综合网| 国产综合久久久久影院| 一本大道综合伊人精品热热 | 日韩主播视频在线| 国产成人a级片| 一本大道久久a久久综合婷婷| 日韩欧美国产综合在线一区二区三区| 亚洲国产精品av| 天天综合天天综合色| 91麻豆免费看| 久久精品免视看| 乱一区二区av| 欧美日韩久久久久久| 国产色爱av资源综合区| 日韩黄色免费电影| 欧美最猛性xxxxx直播| 国产精品久久国产精麻豆99网站| 美日韩一区二区| 91国在线观看| 国产精品视频在线看| 久久精品国产一区二区| 久久九九久久九九| 日韩精品亚洲一区二区三区免费| 成人av资源在线观看| 欧美成人一区二区| 日韩电影在线一区二区三区| 91久久人澡人人添人人爽欧美| 欧美一区二区三区免费| 亚洲人成7777| 99精品视频一区二区| 国产欧美1区2区3区| 国产精品1024| 久久精品在这里| 国产麻豆精品theporn| 欧美一级夜夜爽| 日本午夜精品一区二区三区电影| 欧美性色aⅴ视频一区日韩精品| 国产精品素人视频| 一本色道久久综合狠狠躁的推荐| 亚洲天堂a在线| 一本色道久久综合亚洲精品按摩| 亚洲成人黄色影院| 91精选在线观看| 午夜精品视频在线观看| 欧美二区在线观看| 蜜桃久久久久久| 国产精品无遮挡| 91福利小视频| 久久精品国产一区二区| 亚洲欧洲日韩在线| 欧美日韩五月天| 国产精品一区二区久久精品爱涩 | 国产精品 欧美精品| 一区二区三区四区不卡在线 | 精品久久久久久久久久久久久久久久久 | 99re在线精品| 91极品美女在线| 91香蕉视频在线| 成人av网站在线| 国产精品99久久久久久久vr| 99久久综合狠狠综合久久| 成人av免费在线播放| 91啪在线观看| 欧美亚洲动漫制服丝袜| 欧美精品 日韩| 欧美一二三区在线| 国产欧美日韩在线视频| 一区二区三区.www| 亚洲一区二区在线免费观看视频| 免费xxxx性欧美18vr| 国产成人在线网站| 国产一区二区不卡在线| 国产**成人网毛片九色| jvid福利写真一区二区三区| 欧美日韩激情在线| 久久久久久电影| 国产亚洲成年网址在线观看| 国产精品久久久久久久久搜平片| 亚洲视频在线观看三级| 国产激情偷乱视频一区二区三区| 成人aa视频在线观看| 色老汉av一区二区三区| 在线观看成人免费视频| 正在播放一区二区|