aboutsummaryrefslogtreecommitdiff
path: root/src/unstable
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2024-10-01 12:10:02 -0700
committerMike Buland <mike@xagasoft.com>2024-10-01 12:10:02 -0700
commit7487eea1b802bf0f45afcef5807251049b034dd8 (patch)
treec00f87c3a982f8b43fd9e16444eb2df8e0079710 /src/unstable
parent03cafb600101c4bc659521b833a1f3a8c56938be (diff)
downloadlibbu++-7487eea1b802bf0f45afcef5807251049b034dd8.tar.gz
libbu++-7487eea1b802bf0f45afcef5807251049b034dd8.tar.bz2
libbu++-7487eea1b802bf0f45afcef5807251049b034dd8.tar.xz
libbu++-7487eea1b802bf0f45afcef5807251049b034dd8.zip
More bug fixes
Diffstat (limited to '')
-rw-r--r--src/unstable/myriadfs.cpp4
-rw-r--r--src/unstable/myriadfs.h2
2 files changed, 3 insertions, 3 deletions
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 )
574 case typeSymLink: 574 case typeSymLink:
575 { 575 {
576 Bu::MyriadStream ms = mStore.create( 576 Bu::MyriadStream ms = mStore.create(
577 Bu::Myriad::Create 577 Bu::Myriad::Read
578 ); 578 );
579 rs.uStreamIndex = ms.getId(); 579 rs.uStreamIndex = ms.getId();
580 } 580 }
@@ -583,7 +583,7 @@ int32_t Bu::MyriadFs::allocInode( uint16_t uPerms, uint32_t uSpecial )
583 case typeDir: 583 case typeDir:
584 { 584 {
585 Bu::MyriadStream ms = mStore.create( 585 Bu::MyriadStream ms = mStore.create(
586 Bu::Myriad::Create 586 Bu::Myriad::Read
587 ); 587 );
588 rs.uStreamIndex = ms.getId(); 588 rs.uStreamIndex = ms.getId();
589 } 589 }
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
108 Truncate = 0x08, ///< Truncate file if it does exist 108 Truncate = 0x08, ///< Truncate file if it does exist
109 Append = 0x10, ///< Always append on every write 109 Append = 0x10, ///< Always append on every write
110 NonBlock = 0x20, ///< Open file in non-blocking mode 110 NonBlock = 0x20, ///< Open file in non-blocking mode
111 Exclusive = 0x44, ///< Create file, if it exists then fail 111 Exclusive = 0x40, ///< Create file, if it exists then fail
112 112
113 // Helpful mixes 113 // Helpful mixes
114 ReadWrite = 0x03, ///< Open for reading and writing 114 ReadWrite = 0x03, ///< Open for reading and writing