瀏覽代碼

[java] fix resource copying on windows

Dan Korostelev 11 年之前
父節點
當前提交
d64dc4c087
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      genjava.ml

+ 1 - 1
genjava.ml

@@ -2145,7 +2145,7 @@ let configure gen =
 			let full_path = gen.gcon.file ^ "/src/" ^ name in
 			let full_path = gen.gcon.file ^ "/src/" ^ name in
 			mkdir_from_path full_path;
 			mkdir_from_path full_path;
 
 
-			let f = open_out full_path in
+			let f = open_out_bin full_path in
 			output_string f v;
 			output_string f v;
 			close_out f
 			close_out f
 		) gen.gcon.resources;
 		) gen.gcon.resources;