Browse Source

[java] fix resource copying on windows

Dan Korostelev 11 years ago
parent
commit
d64dc4c087
1 changed files with 1 additions and 1 deletions
  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
 			mkdir_from_path full_path;
 
-			let f = open_out full_path in
+			let f = open_out_bin full_path in
 			output_string f v;
 			close_out f
 		) gen.gcon.resources;