aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dm.c8
1 files 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 );