projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perhaps stupid zero-length file bug is fixed.
[feisty_meow.git]
/
nucleus
/
library
/
filesystem
/
byte_filer.cpp
diff --git
a/nucleus/library/filesystem/byte_filer.cpp
b/nucleus/library/filesystem/byte_filer.cpp
index 005b2955c92dee5c86dacca37a8492092a6a2081..bc6779c4f0b0be0ef4da9fba650b3787fb62be7a 100644
(file)
--- a/
nucleus/library/filesystem/byte_filer.cpp
+++ b/
nucleus/library/filesystem/byte_filer.cpp
@@
-79,7
+79,7
@@
byte_filer::byte_filer(bool auto_close, void *handle)
byte_filer::~byte_filer() { close(); WHACK(_handle); WHACK(_filename); }
byte_filer::~byte_filer() { close(); WHACK(_handle); WHACK(_filename); }
-
astring
byte_filer::name() const { return _filename->raw(); }
+
const astring &
byte_filer::name() const { return _filename->raw(); }
size_t byte_filer::file_size_limit() { return BTFL_FILE_TELL_LIMIT; }
size_t byte_filer::file_size_limit() { return BTFL_FILE_TELL_LIMIT; }