diff options
author | Araq <rumpf_a@web.de> | 2019-02-06 17:42:38 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-02-06 17:42:38 +0100 |
commit | e457ccc7e1ffce3ae7caa4e64ad2b7aa5a50bad6 (patch) | |
tree | 97bc07a99d1552bc3e27d1ec0931c618a592d5b6 /lib | |
parent | 035134de429b5d99c5607c5fae912762bebb6008 (diff) | |
download | Nim-e457ccc7e1ffce3ae7caa4e64ad2b7aa5a50bad6.tar.gz |
make travis green
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/osproc.nim | 2 | ||||
-rw-r--r-- | lib/pure/streams.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index e7ab395ae..78f9a06eb 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -126,7 +126,7 @@ proc startCmd*(command: string, options: set[ProcessOption] = { ## Deprecated - use `startProcess` directly. result = startProcess(command=command, options=options + {poEvalCommand}) -proc close*(p: Process) {.rtl, extern: "nosp$1", tags: [].} +proc close*(p: Process) {.rtl, extern: "nosp$1", tags: [WriteIOEffect].} ## When the process has finished executing, cleanup related handles. ## ## **Warning:** If the process has not finished executing, this will forcibly diff --git a/lib/pure/streams.nim b/lib/pure/streams.nim index cd6f01b6a..0f65d6c0e 100644 --- a/lib/pure/streams.nim +++ b/lib/pure/streams.nim @@ -46,7 +46,7 @@ type ## accessible so that a stream implementation ## can override them. closeImpl*: proc (s: Stream) - {.nimcall, raises: [Exception, IOError, OSError], tags: [ReadIOEffect, WriteIOEffect], gcsafe.} + {.nimcall, raises: [Exception, IOError, OSError], tags: [WriteIOEffect], gcsafe.} atEndImpl*: proc (s: Stream): bool {.nimcall, raises: [Defect, IOError, OSError], tags: [], gcsafe.} setPositionImpl*: proc (s: Stream, pos: int) |