diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-03-13 15:36:30 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-03-13 15:36:30 +0100 |
commit | 4341e026b1c7aa1004c3430d8c39f6297c962744 (patch) | |
tree | 7c6a7705dc18480d2524882a3ac8644f72a5b712 | |
parent | 676e6d8f7cea79d9f65bfb549361238e38b435e4 (diff) | |
parent | aa7e7ee270544adaf1ad34cfcf31cbabe9a6c70c (diff) | |
download | Nim-4341e026b1c7aa1004c3430d8c39f6297c962744.tar.gz |
Merge pull request #2328 from def-/fix-fifo
Make readFile work with FIFO files
-rw-r--r-- | lib/system/sysio.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim index 48adb895d..468af1713 100644 --- a/lib/system/sysio.nim +++ b/lib/system/sysio.nim @@ -154,7 +154,7 @@ proc readAll(file: File): TaintedString = proc readFile(filename: string): TaintedString = var f = open(filename) try: - result = readAllFile(f).TaintedString + result = readAll(f).TaintedString finally: close(f) |