summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-08-31 22:30:27 +0000
committerChris Wilson <chris+github@qwirx.com>2006-08-31 22:30:27 +0000
commit472d823f46324a84ece80c97b5fd41744b937d0d (patch)
tree651141a40e2aaa7fefda6ac631de29ccf3bf953e /lib
parent0de8b64db1faec206adcffbd5e9c8d72f4930288 (diff)
Revert to trunk
Diffstat (limited to 'lib')
-rw-r--r--lib/common/Guards.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Guards.h b/lib/common/Guards.h
index b1bca0fa..17d73b3f 100644
--- a/lib/common/Guards.h
+++ b/lib/common/Guards.h
@@ -24,7 +24,7 @@
#include "MemLeakFindOn.h"
-template <int flags = O_RDONLY | O_BINARY, int mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)>
+template <int flags = O_RDONLY, int mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)>
class FileHandleGuard
{
public: