--- trunk/instrument.c 2008/09/21 18:35:21 179 +++ trunk/instrument.c 2008/10/03 23:52:10 241 @@ -91,8 +91,8 @@ break; case FILE_TYPE_JS: { - FILE * input = xfopen(source_file, "r"); - FILE * output = xfopen(destination_file, "w"); + FILE * input = xfopen(source_file, "rb"); + FILE * output = xfopen(destination_file, "wb"); Stream * input_stream = Stream_new(0); Stream * output_stream = Stream_new(0);