diff options
author | Daniel Wilhelm <daniel@wili.li> | 2016-05-31 16:38:45 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2016-05-31 16:38:45 +0200 |
commit | be08c6c09a3026da628daf2425516beda1557bb3 (patch) | |
tree | 062cc2f6a1e5ba5a2fdcb53549cc09c4ff5d062a /zen/file_io.h | |
parent | 8.1 (diff) | |
download | FreeFileSync-be08c6c09a3026da628daf2425516beda1557bb3.tar.gz FreeFileSync-be08c6c09a3026da628daf2425516beda1557bb3.tar.bz2 FreeFileSync-be08c6c09a3026da628daf2425516beda1557bb3.zip |
8.2
Diffstat (limited to 'zen/file_io.h')
-rw-r--r-- | zen/file_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/file_io.h b/zen/file_io.h index 261829cd..23296c6c 100644 --- a/zen/file_io.h +++ b/zen/file_io.h @@ -55,7 +55,7 @@ public: FileInput(FileHandle handle, const Zstring& filepath); //takes ownership! ~FileInput(); - //Windows: better use 64kB ?? https://technet.microsoft.com/en-us/library/cc938632.aspx + //Windows: better use 64kB ?? https://technet.microsoft.com/en-us/library/cc938632 //Linux: use st_blksize? size_t getBlockSize() const { return 128 * 1024; } size_t tryRead(void* buffer, size_t bytesToRead); //throw FileError; may return short, only 0 means EOF! => CONTRACT: bytesToRead > 0! |