Browse Source

build on osx

David Rose 19 years ago
parent
commit
7c03edea01
1 changed files with 4 additions and 4 deletions
  1. 4 4
      panda/src/downloadertools/multify.cxx

+ 4 - 4
panda/src/downloadertools/multify.cxx

@@ -34,7 +34,7 @@ bool append = false;           // -r
 bool update = false;           // -u
 bool update = false;           // -u
 bool tlist = false;            // -t
 bool tlist = false;            // -t
 bool extract = false;          // -x
 bool extract = false;          // -x
-bool kill = false;             // -k
+bool kill_cmd = false;             // -k
 bool verbose = false;          // -v
 bool verbose = false;          // -v
 bool compress_flag = false;         // -z
 bool compress_flag = false;         // -z
 int default_compression_level = 6;
 int default_compression_level = 6;
@@ -643,7 +643,7 @@ main(int argc, char *argv[]) {
       extract = true;
       extract = true;
       break;
       break;
     case 'k':
     case 'k':
-      kill = true;
+      kill_cmd = true;
       break;
       break;
     case 'v':
     case 'v':
       verbose = true;
       verbose = true;
@@ -754,7 +754,7 @@ main(int argc, char *argv[]) {
   argv += (optind - 1);
   argv += (optind - 1);
 
 
   // We should have exactly one of these options.
   // We should have exactly one of these options.
-  if ((create?1:0) + (append?1:0) + (update?1:0) + (tlist?1:0) + (extract?1:0) + (kill?1:0) != 1) {
+  if ((create?1:0) + (append?1:0) + (update?1:0) + (tlist?1:0) + (extract?1:0) + (kill_cmd?1:0) != 1) {
     cerr << "Exactly one of -c, -r, -u, -t, -x, -k must be specified.\n";
     cerr << "Exactly one of -c, -r, -u, -t, -x, -k must be specified.\n";
     usage();
     usage();
     return 1;
     return 1;
@@ -777,7 +777,7 @@ main(int argc, char *argv[]) {
       cerr << "Warning: -T ignored on extract.\n";
       cerr << "Warning: -T ignored on extract.\n";
     }
     }
     okflag = extract_files(argc, argv);
     okflag = extract_files(argc, argv);
-  } else if (kill) {
+  } else if (kill_cmd) {
     if (got_record_timestamp_flag) {
     if (got_record_timestamp_flag) {
       cerr << "Warning: -T ignored on kill.\n";
       cerr << "Warning: -T ignored on kill.\n";
     }
     }