Browse Source

[java/cs] Save output files as binary. See #3759

Cauê Waneck 10 years ago
parent
commit
d464df1a66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gencommon.ml

+ 1 - 1
gencommon.ml

@@ -975,7 +975,7 @@ let write_file gen w source_dir path extension out_files =
 	end else true in
 	end else true in
 
 
 	if should_write then begin
 	if should_write then begin
-		let f = open_out s_path in
+		let f = open_out_bin s_path in
 		output_string f contents;
 		output_string f contents;
 		close_out f
 		close_out f
 	end;
 	end;