diff options
author | Mike Buland <mike@xagasoft.com> | 2024-09-18 12:55:05 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2024-09-18 12:55:05 -0700 |
commit | cad3e4d5d87dd713e27779d1f4a20821485b9de2 (patch) | |
tree | b69dd37e3e4fa644a086f8697f4b42bc3ec3121b /src/stable/file.cpp | |
parent | d1f985c8191326292dd2ae5a85a63993ad68ddd7 (diff) | |
download | libbu++-cad3e4d5d87dd713e27779d1f4a20821485b9de2.tar.gz libbu++-cad3e4d5d87dd713e27779d1f4a20821485b9de2.tar.bz2 libbu++-cad3e4d5d87dd713e27779d1f4a20821485b9de2.tar.xz libbu++-cad3e4d5d87dd713e27779d1f4a20821485b9de2.zip |
Myriad headers are the right size now.
That was weird. It seems to be working now.
Diffstat (limited to '')
-rw-r--r-- | src/stable/file.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/stable/file.cpp b/src/stable/file.cpp index 05e4af1..55766ea 100644 --- a/src/stable/file.cpp +++ b/src/stable/file.cpp | |||
@@ -142,6 +142,16 @@ bool Bu::File::isEos() | |||
142 | 142 | ||
143 | bool Bu::File::canRead() | 143 | bool Bu::File::canRead() |
144 | { | 144 | { |
145 | return isReadable(); | ||
146 | } | ||
147 | |||
148 | bool Bu::File::canWrite() | ||
149 | { | ||
150 | return isWritable(); | ||
151 | } | ||
152 | |||
153 | bool Bu::File::isReadable() | ||
154 | { | ||
145 | #ifdef WIN32 | 155 | #ifdef WIN32 |
146 | return true; | 156 | return true; |
147 | #else | 157 | #else |
@@ -152,7 +162,7 @@ bool Bu::File::canRead() | |||
152 | #endif | 162 | #endif |
153 | } | 163 | } |
154 | 164 | ||
155 | bool Bu::File::canWrite() | 165 | bool Bu::File::isWritable() |
156 | { | 166 | { |
157 | #ifdef WIN32 | 167 | #ifdef WIN32 |
158 | return true; | 168 | return true; |
@@ -164,16 +174,6 @@ bool Bu::File::canWrite() | |||
164 | #endif | 174 | #endif |
165 | } | 175 | } |
166 | 176 | ||
167 | bool Bu::File::isReadable() | ||
168 | { | ||
169 | return true; | ||
170 | } | ||
171 | |||
172 | bool Bu::File::isWritable() | ||
173 | { | ||
174 | return true; | ||
175 | } | ||
176 | |||
177 | bool Bu::File::isSeekable() | 177 | bool Bu::File::isSeekable() |
178 | { | 178 | { |
179 | return true; | 179 | return true; |