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

Lines Matching refs:logfile

233   /* close logfile */
234 if (logfile) {
235 fclose(logfile);
349 if (logfile && logfile_line_started) {
350 fprintf(logfile, "\n");
362 if (logfile) {
364 fprintf(logfile, "zip I/O error: %s\n", strerror(errno));
365 fprintf(logfile, "\nzip error: %s (%s)\n", ZIPERRORS(c), h);
391 if (logfile)
392 fprintf(logfile, "attempting to restore %s to its previous state\n",
470 If nl true, print and add new line. If logfile is
488 if (logfile) {
490 fprintf(logfile, "%s", a);
495 fprintf(logfile, "\n");
501 fflush(logfile);
517 if (logfile) {
519 fprintf(logfile, "\n");
520 fprintf(logfile, "%s%s\n", a, b);
522 fflush(logfile);
537 if (logfile) {
539 fprintf(logfile, "\n");
540 fprintf(logfile, "\tzip warning: %s%s\n", a, b);
542 fflush(logfile);
760 " zip -r -dbdcds 10m -lilalf logfile archive input_directory -ll",
918 " -lf path open file at path as logfile (overwrite existing file)",
919 " -la append to existing logfile",
960 " -sf show files to operate on and exit (-sf- logfile only)",
1513 if (logfile) {
1514 fprintf(logfile, "test of %s OK\n", zipfile);
1515 fflush(logfile);
1687 fprintf(logfile, "\n");
1696 fprintf(logfile, "%lu>%lu: ", current_in_disk + 1, current_disk + 1);
1706 fprintf(logfile, "%3ld/%3ld ", files_so_far, files_total - files_so_far);
1719 fprintf(logfile, "[%4s", tempstrg);
1727 fprintf(logfile, "/%4s] ", tempstrg);
1733 fprintf(logfile, "-%4s] ", tempstrg);
1739 fflush(logfile);
1752 fprintf(logfile, "%lu>%lu: ", current_in_disk + 1, current_disk + 1);
1762 fprintf(logfile, " / ");
1772 fprintf(logfile, " / ");
1779 fflush(logfile);
2030 {"lf", "logfile-path",o_REQUIRED_VALUE, o_NOT_NEGATABLE, o_lf, "log to log file at path (default overwrite)"},
2335 logfile = NULL; /* pointer to open logfile or NULL */
2336 logfile_append = 0; /* append to existing logfile */
2337 logfile_path = NULL; /* pointer to path of logfile */
2447 logfile_line_started = 0; /* 1=started writing a line to logfile */
2867 /* open a logfile */
2875 /* append to existing logfile */
3583 if ((logfile = zfopen(logfile_path, mode)) == NULL) {
3584 sprintf(errbuf, "could not open logfile '%s'", logfile_path);
3597 fprintf(logfile, "---------\n");
3598 fprintf(logfile, "Zip log opened %s", asctime(now));
3599 fprintf(logfile, "command line arguments:\n ");
3611 fprintf(logfile, "\"%s\" ", args[i]);
3613 fprintf(logfile, "%s ", args[i]);
3615 fprintf(logfile, "\n\n");
3616 fflush(logfile);
3619 /* only set logall if logfile open */
3992 /* finish logfile (it gets closed in freeup() called by finish()) */
3993 if (logfile) {
3997 fprintf(logfile, "\nTotal %ld entries (", files_total);
3998 DisplayNumString(logfile, bytes_total);
3999 fprintf(logfile, " bytes)");
4004 fprintf(logfile, "\nDone %s", asctime(now));
4005 fflush(logfile);
4371 if (logfile)
4372 fprintf(logfile, "zip diagnostic: %s %s\n", z->oname,
4518 if (logfile) {
4520 fprintf(logfile, "\n");
4525 fprintf(logfile, "Archive contains:\n");
4527 fprintf(logfile, "Would Delete:\n");
4529 fprintf(logfile, "Would Freshen:\n");
4531 fprintf(logfile, "Would Copy:\n");
4533 fprintf(logfile, "Would Add/Update:\n");
4534 fflush(logfile);
4545 if (logfile && !(show_files == 5 || show_files == 6))
4547 fprintf(logfile, " %s\n", z->oname);
4628 if (logfile)
4629 fprintf(logfile, " Escaped Unicode: %s\n", z->ouname);
4640 if (logfile) {
4641 fprintf(logfile, " %s\n", z->ouname);
4648 if (logfile) {
4649 fprintf(logfile, " %s\n", z->oname);
4667 if (logfile)
4668 fprintf(logfile, " %s\n", escaped_unicode);
4675 if (logfile)
4676 fprintf(logfile, " %s\n", f->oname);
4681 if (noisy || logfile == NULL)
4685 if (logfile)
4686 fprintf(logfile, "Total %s entries (%s bytes)\n",
5030 fprintf(logfile, "freshening: %s", z->oname);
5032 fflush(logfile);
5035 fprintf(logfile, " current: %s", z->oname);
5037 fflush(logfile);
5040 fprintf(logfile, "updating: %s", z->oname);
5042 fflush(logfile);
5083 fprintf(logfile, "\n");
5085 fflush(logfile);
5117 fprintf(logfile, "\n");
5119 fflush(logfile);
5140 fprintf(logfile, "\n");
5142 fflush(logfile);
5186 fprintf(logfile, " skipping: %s", z->oname);
5188 fflush(logfile);
5204 fprintf(logfile, " copying: %s", z->oname);
5206 fprintf(logfile, " (");
5207 DisplayNumString(logfile, z->len );
5208 fprintf(logfile, ")");
5211 fflush(logfile);
5253 fprintf(logfile, "\n");
5255 fflush(logfile);
5334 fprintf(logfile, "deleting: %s", z->oname);
5336 fprintf(logfile, " (");
5337 DisplayNumString(logfile, z->len );
5338 fprintf(logfile, ")");
5340 fprintf(logfile, "\n");
5341 fflush(logfile);
5434 fprintf(logfile, "deleting: %s", z->oname);
5436 fprintf(logfile, " (");
5437 DisplayNumString(logfile, z->len );
5438 fprintf(logfile, ")");
5440 fprintf(logfile, "\n");
5441 fflush(logfile);
5551 fprintf(logfile, " adding: %s", z->oname);
5553 fflush(logfile);
5573 fprintf(logfile, "\n");
5575 fflush(logfile);
5598 fprintf(logfile, "\n");
5600 fflush(logfile);
5605 if (logfile)
5606 fprintf(logfile, "zip warning: %s\n", strerror(errno));
5669 if (logfile && bad_files_so_far)
5673 fprintf(logfile, "\nzip warning: Not all files were readable\n");
5674 fprintf(logfile, " files/entries read: %lu", files_total - bad_files_so_far);
5676 fprintf(logfile, " (%s bytes)", tempstrg);
5677 fprintf(logfile, " skipped: %lu", bad_files_so_far);
5679 fprintf(logfile, " (%s bytes)", tempstrg);
5880 fprintf(logfile, "total bytes=%s, compressed=%s -> %d%% savings\n",
5882 fflush(logfile);
5989 /* finish logfile (it gets closed in freeup() called by finish()) */
5990 if (logfile) {
5994 fprintf(logfile, "\nTotal %ld entries (", files_total);
5996 fprintf(logfile, "planned ");
5997 DisplayNumString(logfile, bytes_total);
5998 fprintf(logfile, " bytes, actual ");
5999 DisplayNumString(logfile, good_bytes_so_far);
6000 fprintf(logfile, " bytes)");
6002 DisplayNumString(logfile, bytes_total);
6003 fprintf(logfile, " bytes)");
6010 fprintf(logfile, "\nDone %s", asctime(now));