From c477f1a35d23a9a3d3e29622b013532343c078cc Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 12 Jul 2003 03:12:16 +0000 Subject: GOT THAT FUCKING BUG OUT!@#!%!#!@#!@$#@!!@ --- lib/Output.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Output.cc') diff --git a/lib/Output.cc b/lib/Output.cc index 811918c..82940f6 100644 --- a/lib/Output.cc +++ b/lib/Output.cc @@ -22,6 +22,9 @@ Output::Output(String no, int create, int trunc) throw (GeneralException) : Handle(no.strlen() ? open(no.to_charp(), O_WRONLY | (O_CREAT * (create ? 1 : 0)) | (O_TRUNC * (trunc ? 1 : 0)) +#ifdef _WIN32 +| O_BINARY +#endif #if defined __linux__ || defined __CYGWIN32__ , 00666 #endif -- cgit v1.2.3