← Back to index
|
Original Bugzilla link
Bug 19909 – core.stdc.errno missing POSIX error code on Windows
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2019-05-28T16:53:26Z
Last change time
2020-03-21T03:56:36Z
Keywords
pull
Assigned to
No Owner
Creator
fred
Comments
Comment #0
by xmen.cecep — 2019-05-28T16:53:26Z
the stdc/core/errno.d needs additional error code ECONNRESET. That error code are available on every linux. but not Windows. i don't know what to assign to this. apache.thrift need this error code.
https://docs.microsoft.com/en-us/cpp/c-runtime-library/errno-constants?view=vs-2019
Comment #1
by b2.temp — 2019-05-28T17:41:16Z
Seems to be 108 : -
https://github.com/wine-mirror/wine/blob/master/include/msvcrt/errno.h#L75
-
https://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-headers/crt/errno.h#L114
https://www.google.com/search?q=define+ECONNRESET+108&oq=define+ECONNRESET+108&aqs=chrome..69i57&sourceid=chrome&ie=UTF-8
Comment #2
by dlang-bot — 2020-01-16T13:20:17Z
@Geod24 updated dlang/druntime pull request #2908 "Fix 19909: core.stdc.errno missing POSIX error code on Windows" fixing this issue: - Fix issue 19909: core.stdc.errno missing POSIX error code on Windows
https://github.com/dlang/druntime/pull/2908
Comment #3
by dlang-bot — 2020-01-16T14:17:36Z
dlang/druntime pull request #2908 "Fix issue 19909: core.stdc.errno missing POSIX error code on Windows" was merged into master: - 28e1fa7154196de658e9ec5d270bf161de2bf12c by Geod24: Fix issue 19909: core.stdc.errno missing POSIX error code on Windows
https://github.com/dlang/druntime/pull/2908