comparison src/dumpblocks.c @ 202:2f38c4ce606f

remove readpstlog, switch to plain ascii debug log files
author Carl Byington <carl@five-ten-sg.com>
date Mon, 18 May 2009 15:55:05 -0700
parents d588dafd03e8
children 201464dd356e
comparison
equal deleted inserted replaced
201:3850a3b11745 202:2f38c4ce606f
27 printf("\tcopies the datablocks from the pst file into separate files\n"); 27 printf("\tcopies the datablocks from the pst file into separate files\n");
28 printf("Options: \n"); 28 printf("Options: \n");
29 printf("\t-o target\tSpecify the output directory\n"); 29 printf("\t-o target\tSpecify the output directory\n");
30 exit(1); 30 exit(1);
31 } 31 }
32 DEBUG_INIT("dumpblocks.log"); 32 DEBUG_INIT("dumpblocks.log", NULL);
33 DEBUG_REGISTER_CLOSE();
34 DEBUG_ENT("main"); 33 DEBUG_ENT("main");
35 34
36 printf("Opening file %s\n", file); 35 printf("Opening file %s\n", file);
37 if (pst_open(&pstfile, file)) { 36 if (pst_open(&pstfile, file)) {
38 printf("Failed to open file %s\n", file); 37 printf("Failed to open file %s\n", file);