Subversion Repositories SvarDOS

Rev

Rev 1965 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1965 Rev 1966
Line 46... Line 46...
46
     * unsupported method */
46
     * unsupported method */
47
    for (znode = zlist; znode != NULL; znode = znode->nextfile) {
47
    for (znode = zlist; znode != NULL; znode = znode->nextfile) {
48
      int zres;
48
      int zres;
49
      /* convert slash to backslash, print filename and create the directories path */
49
      /* convert slash to backslash, print filename and create the directories path */
50
      slash2backslash(znode->filename);
50
      slash2backslash(znode->filename);
51
      printf("%s ", znode->filename);
51
      output(znode->filename);
-
 
52
      output(" ");
52
      mkpath(znode->filename);
53
      mkpath(znode->filename);
53
      /* if a dir, we good already */
54
      /* if a dir, we good already */
54
      if (znode->flags == ZIP_FLAG_ISADIR) goto OK;
55
      if (znode->flags == ZIP_FLAG_ISADIR) goto OK;
55
      /* file already exists? */
56
      /* file already exists? */
56
      if (fileexists(znode->filename) != 0) {
57
      if (fileexists(znode->filename) != 0) {