diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/system/sysio.nim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim index d012110f1..b0e2c567b 100755 --- a/lib/system/sysio.nim +++ b/lib/system/sysio.nim @@ -112,8 +112,6 @@ proc rawFileSize(file: TFile): int = proc readAllFile(file: TFile, len: int): string = # We aquire the filesize beforehand and hope it doesn't change. # Speeds things up. - if len >= high(int): - raiseEIO("file too big to fit in memory") result = newString(int(len)) if readBuffer(file, addr(result[0]), int(len)) != len: raiseEIO("error while reading from file") |