From 41e9c6754701dc768a07ad9f1b2e14b984b364e9 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Fri, 18 Dec 2015 21:18:36 +0000 Subject: dm.c removed default output of data structures. changed file read mode from r+ to r --- dm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dm.c b/dm.c index 51f8482..9419e4c 100644 --- a/dm.c +++ b/dm.c @@ -217,7 +217,7 @@ int main(int argc, char **argv) } - fdm = fopen( datamach_file, "r+" ); + fdm = fopen( datamach_file, "r" ); if ( fdm ) { fseek( fdm, 0, SEEK_SET ); @@ -239,7 +239,7 @@ int main(int argc, char **argv) return -1; } - fin = fopen( input_file, "r+" ); + fin = fopen( input_file, "r" ); if (fin) { fseek( fin, 0, SEEK_SET ); @@ -262,9 +262,9 @@ int main(int argc, char **argv) ast = ast_syntax( tl ); //printf("ast = 0x%08x\n", ast); - print_ast( ast ); + //print_ast( ast ); ast2tb( ast, mt ); - mt_print( mt ); + //mt_print( mt ); match( mt, binbuf, binbuf_size ); -- cgit v1.2.3