From aa7e7ee270544adaf1ad34cfcf31cbabe9a6c70c Mon Sep 17 00:00:00 2001 From: def Date: Thu, 12 Mar 2015 21:17:39 +0100 Subject: [PATCH] Make readFile work with FIFO files --- lib/system/sysio.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim index 48adb895dd..468af17139 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)