enable style:usages for stdlib tests [backport: 1.6] (#19715)
* enable style:usages for stdlib tests * freeAddrInfo * more tests * importc * bufSize * fix more * => parseSql and renderSql
This commit is contained in:
parent
26bcf18f91
commit
98cebad7de
42 changed files with 149 additions and 146 deletions
|
|
@ -37,8 +37,8 @@ proc notifiedShutdown(port: Port) {.thread.} =
|
|||
proc main() =
|
||||
when defined(posix):
|
||||
var
|
||||
ignoreAction = SigAction(sa_handler: SIG_IGN)
|
||||
oldSigPipeHandler: SigAction
|
||||
ignoreAction = Sigaction(sa_handler: SIG_IGN)
|
||||
oldSigPipeHandler: Sigaction
|
||||
if sigemptyset(ignoreAction.sa_mask) == -1:
|
||||
raiseOSError(osLastError(), "Couldn't create an empty signal set")
|
||||
if sigaction(SIGPIPE, ignoreAction, oldSigPipeHandler) == -1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue