- Timestamp:
- 30/11/11 12:32:37 (6 months ago)
- Location:
- trunk/TOOLS
- Files:
-
- 3 modified
-
arb_2_bin.cxx (modified) (3 diffs)
-
arb_read_tree.cxx (modified) (1 diff)
-
arb_test.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TOOLS/arb_2_bin.cxx
r8247 r8268 21 21 "\n" 22 22 "Purpose: Converts a database to binary format\n" 23 "Syntax: arb_2_bin [ -m] [-r] [-c][tree_xxx] database [newdatabase]\n"23 "Syntax: arb_2_bin [Options] database [newdatabase]\n" 24 24 "Options: -m create map file too\n" 25 25 " -r try to repair destroyed database\n" … … 34 34 } 35 35 else { 36 char rtype[256];37 char wtype[256];38 int ci= 1;39 int nidx= 0;40 int test = 0; 36 char rtype[256]; 37 char wtype[256]; 38 int ci = 1; 39 int nidx = 0; 40 41 41 const char *opt_tree = 0; 42 42 … … 56 56 if (!strncmp(argv[ci], "-c", 2)) { opt_tree = argv[ci]+2; ci++; } 57 57 if (!strncmp(argv[ci], "-i", 2)) { nidx = atoi(argv[ci]+2); ci++; } 58 if (!strncmp(argv[ci], "-t", 2)) { test = 1; ci++; }59 58 } 60 59 } -
trunk/TOOLS/arb_read_tree.cxx
r7314 r8268 251 251 252 252 if (!error) { 253 // write tree comment: 254 const char *datestring; 255 { 256 time_t date; 257 if (time(&date) == -1) datestring = "<Error calculating time>"; 258 else datestring = ctime(&date); 259 } 260 253 // write tree comment 261 254 const char *comments[] = { 262 255 param.comment, -
trunk/TOOLS/arb_test.cxx
r8246 r8268 14 14 #include <unistd.h> 15 15 16 int ARB_main(int argc, const char *argv[]) {16 int ARB_main(int , const char *[]) { 17 17 fputs("don't call us\n", stderr); 18 18 return EXIT_SUCCESS;
