Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelfmz <fenix1905@tut.by>2022-11-04 01:31:19 +0300
committerelfmz <fenix1905@tut.by>2022-11-04 01:31:19 +0300
commit7a4a5d072a11681c2727db57ad2dffcfae3c8652 (patch)
tree3453656a61864fbc8607f00fda99b375363eab28 /far2l/src/cache.hpp
parentea8fdf19cc60d78ec00a528890443dd9c977788c (diff)
viewer: prebuffer up to 16 megs of pseudofiles (fix #1384)
Diffstat (limited to 'far2l/src/cache.hpp')
-rw-r--r--far2l/src/cache.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/far2l/src/cache.hpp b/far2l/src/cache.hpp
index a800ad3b..dc0c4beb 100644
--- a/far2l/src/cache.hpp
+++ b/far2l/src/cache.hpp
@@ -84,6 +84,8 @@ private:
DWORD BufferSize = 0;
UINT64 CurPtr = 0, LastPtr = 0;
UINT64 FileSize = 0;
+ // something from /proc/ that has zero stat size but still can read some content from it
+ bool PseudoFile = false;
template <class T>