termux-packages/packages/pika/third-slash-slash-src-env.cc.patch
2022-01-31 08:52:42 +09:00

12 lines
318 B
Diff

--- a/third/slash/slash/src/env.cc
+++ b/third/slash/slash/src/env.cc
@@ -348,7 +348,7 @@
virtual Status Read(size_t n, Slice* result, char* scratch) override {
Status s;
- size_t r = fread_unlocked(scratch, 1, n, file_);
+ size_t r = fread(scratch, 1, n, file_);
*result = Slice(scratch, r);