Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix OSError `errorCode` field is not assigned a value (#22954) | 握猫猫 | 2023-11-17 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | In this PR, the following changes were made: 1. Replaced `raise newException(OSError, osErrorMsg(errno))` in batches with `raiseOSError(errcode)`. 2. Replaced `newException(OSError, osErrorMsg(errno))` in batches with `newOSError(errcode)`. There are still some places that have not been replaced. After checking, they are not system errors in the traditional sense. ```nim proc dlclose(lib: LibHandle) = raise newException(OSError, "dlclose not implemented on Nintendo Switch!") ``` ```nim if not fileExists(result) and not dirExists(result): # consider using: `raiseOSError(osLastError(), result)` raise newException(OSError, "file '" & result & "' does not exist") ``` ```nim proc paramStr*(i: int): string = raise newException(OSError, "paramStr is not implemented on Genode") ``` | ||||
* | make proc names consistent (#18626) | flywind | 2021-08-01 | 1 | -1/+1 |
| | | | | | * rename `endswith` to `endsWith` * rename | ||||
* | fix #14320 (tasyncawait.nim is recently very flaky) + avoid hardcoding ↵ | Timothee Cour | 2020-05-13 | 1 | -21/+8 |
| | | | | | | | service ports everywhere + flakyAssert (#14327) * hotfix #14320 tasyncawait.nim is recently very flaky * fix #14327 * add flakyAssert | ||||
* | fix deprecations and other warnings (#13748) | Miran | 2020-03-25 | 1 | -2/+2 |
| | |||||
* | remove deprecated procs (#12535) | Andreas Rumpf | 2019-11-05 | 1 | -2/+2 |
| | |||||
* | Remove long deprecated stuff (#10332) | Miran | 2019-01-18 | 1 | -1/+1 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 1 | -1/+0 |
| | |||||
* | Convert *_family fields to cushort | LemonBoy | 2018-09-19 | 1 | -1/+1 |
| | | | | Fixes #9008 | ||||
* | make tests green again | Andreas Rumpf | 2018-07-05 | 1 | -2/+2 |
| | |||||
* | Introduce addRead/addWrite for Windows IOCP. | cheatfate | 2016-06-12 | 1 | -0/+257 |