Lines Matching +defs:debug +defs:mode
76 static int Z1_opt; /* zipinfo mode list files only */
79 /* debug flag */
82 /* zipinfo mode */
197 /* debug message (if unzip_debug) */
199 debug(const char *fmt, ...)
287 debug("adding pattern '%s'\n", pattern);
332 * Create the specified directory with the specified mode, taking certain
336 make_dir(const char *path, int mode)
358 if (mkdir(path, mode) != 0 && errno != EEXIST)
407 int mode;
416 mode = archive_entry_mode(e) & 0777;
417 if (mode == 0)
418 mode = 0755;
430 mode |= 0700;
431 if (mode & 0040)
432 mode |= 0010;
433 if (mode & 0004)
434 mode |= 0001;
437 make_dir(path, mode);
498 * result directly in switching the file to binary mode. Otherwise, at least
617 int mode;
630 mode = archive_entry_mode(e) & 0777;
631 if (mode == 0)
632 mode = 0644;
702 if (lchmod(*path, mode) != 0)
703 warning("Cannot set mode for '%s'", *path);
717 if ((fd = open(*path, O_RDWR|O_CREAT|O_TRUNC, mode)) < 0)
1198 debug("%s%c", argv[i], (i < argc - 1) ? ' ' : '\n');
1216 * When more of the zipinfo mode options are implemented, this
1220 printf("Zipinfo mode needs additional options\n");