Commit bf8479d2 authored by Bodo Möller's avatar Bodo Möller
Browse files

Workaround for Windoze weirdness.

parent 4a56f749
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -157,6 +157,8 @@ int RAND_write_file(const char *file)
		int fd = open(file, O_CREAT | O_EXCL, 0600);
		if (fd != -1)
			out = fdopen(fd, "wb");
		else /* the open(...) reportedly fails on Win98 w/ VisualC */
			out = fopen(file,"wb");
#else
		out = fopen(file,"wb");
#endif