Ver código fonte

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

Cauê Waneck 10 anos atrás
pai
commit
d464df1a66
1 arquivos alterados com 1 adições e 1 exclusões
  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
 
 	if should_write then begin
-		let f = open_out s_path in
+		let f = open_out_bin s_path in
 		output_string f contents;
 		close_out f
 	end;