diff options
author | pixel <pixel> | 2003-07-12 03:12:16 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-07-12 03:12:16 +0000 |
commit | c477f1a35d23a9a3d3e29622b013532343c078cc (patch) | |
tree | 28b06a8d1d46aab635d5dc7d739b6d41fc51a145 /lib/Output.cc | |
parent | 5aa0b4422b5a323303c1ec3c4f5fc37a8bf62cd0 (diff) |
GOT THAT FUCKING BUG OUT!@#!%!#!@#!@$#@!!@
Diffstat (limited to 'lib/Output.cc')
-rw-r--r-- | lib/Output.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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 |