mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
Fixes for new comment handling.
This commit is contained in:
@@ -796,6 +796,7 @@ else:
|
||||
else:
|
||||
# FD no longer a part of the selector. Likely been closed
|
||||
# (e.g. socket disconnected).
|
||||
discard
|
||||
|
||||
processTimers(p)
|
||||
|
||||
|
||||
@@ -247,6 +247,7 @@ proc asyncSockHandleWrite(h: RootRef) =
|
||||
# Apparently the socket cannot be written to. Even though select
|
||||
# just told us that it can be... This used to be an assert. Just
|
||||
# do nothing instead.
|
||||
discard
|
||||
elif bytesSent != sock.sendBuffer.len:
|
||||
sock.sendBuffer = sock.sendBuffer[bytesSent .. -1]
|
||||
elif bytesSent == sock.sendBuffer.len:
|
||||
|
||||
@@ -37,7 +37,7 @@ proc asmx64 () {.compileTime} =
|
||||
|
||||
|
||||
proc abortAsmParse (err:string) =
|
||||
#
|
||||
discard
|
||||
|
||||
let codeLen = code.len
|
||||
#let codeEnd = codeLen-1
|
||||
|
||||
Reference in New Issue
Block a user