diff options
Diffstat (limited to 'src/stable')
-rw-r--r-- | src/stable/myriad.cpp | 2 | ||||
-rw-r--r-- | src/stable/myriad.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stable/myriad.cpp b/src/stable/myriad.cpp index f9fcd3e..03cffa9 100644 --- a/src/stable/myriad.cpp +++ b/src/stable/myriad.cpp | |||
@@ -84,7 +84,7 @@ Bu::MyriadStream Bu::Myriad::open( Bu::Myriad::StreamId iStream, | |||
84 | Bu::MutexLocker l( mhStream ); | 84 | Bu::MutexLocker l( mhStream ); |
85 | if( (eMode&Create) ) | 85 | if( (eMode&Create) ) |
86 | { | 86 | { |
87 | if( !hStream.has( iStream ) ) | 87 | if( hStream.has( iStream ) ) |
88 | { | 88 | { |
89 | if( (eMode&Exclusive) ) | 89 | if( (eMode&Exclusive) ) |
90 | { | 90 | { |
diff --git a/src/stable/myriad.h b/src/stable/myriad.h index 7f84c2a..6168aa2 100644 --- a/src/stable/myriad.h +++ b/src/stable/myriad.h | |||
@@ -45,7 +45,7 @@ namespace Bu | |||
45 | Truncate = 0x08, ///< Truncate file if it does exist | 45 | Truncate = 0x08, ///< Truncate file if it does exist |
46 | Append = 0x10, ///< Start writing at end of file | 46 | Append = 0x10, ///< Start writing at end of file |
47 | //NonBlock = 0x20, ///< Open file in non-blocking mode | 47 | //NonBlock = 0x20, ///< Open file in non-blocking mode |
48 | Exclusive = 0x44, ///< Create file, if it exists then fail | 48 | Exclusive = 0x40, ///< Create file, if it exists then fail |
49 | 49 | ||
50 | // Helpful mixes | 50 | // Helpful mixes |
51 | ReadWrite = 0x03, ///< Open for reading and writing | 51 | ReadWrite = 0x03, ///< Open for reading and writing |