From 7487eea1b802bf0f45afcef5807251049b034dd8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 1 Oct 2024 12:10:02 -0700 Subject: More bug fixes --- src/unstable/myriadfs.cpp | 4 ++-- src/unstable/myriadfs.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/unstable') diff --git a/src/unstable/myriadfs.cpp b/src/unstable/myriadfs.cpp index ab9ca74..2eda0be 100644 --- a/src/unstable/myriadfs.cpp +++ b/src/unstable/myriadfs.cpp @@ -574,7 +574,7 @@ int32_t Bu::MyriadFs::allocInode( uint16_t uPerms, uint32_t uSpecial ) case typeSymLink: { Bu::MyriadStream ms = mStore.create( - Bu::Myriad::Create + Bu::Myriad::Read ); rs.uStreamIndex = ms.getId(); } @@ -583,7 +583,7 @@ int32_t Bu::MyriadFs::allocInode( uint16_t uPerms, uint32_t uSpecial ) case typeDir: { Bu::MyriadStream ms = mStore.create( - Bu::Myriad::Create + Bu::Myriad::Read ); rs.uStreamIndex = ms.getId(); } diff --git a/src/unstable/myriadfs.h b/src/unstable/myriadfs.h index ff14292..eccac65 100644 --- a/src/unstable/myriadfs.h +++ b/src/unstable/myriadfs.h @@ -108,7 +108,7 @@ namespace Bu Truncate = 0x08, ///< Truncate file if it does exist Append = 0x10, ///< Always append on every write NonBlock = 0x20, ///< Open file in non-blocking mode - Exclusive = 0x44, ///< Create file, if it exists then fail + Exclusive = 0x40, ///< Create file, if it exists then fail // Helpful mixes ReadWrite = 0x03, ///< Open for reading and writing -- cgit v1.2.3