Bug 22485 – OpenBSD: Fix core.sys.openbsd.unistd imports

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
Other
Creation time
2021-11-07T01:13:55Z
Last change time
2021-11-08T15:54:18Z
Keywords
pull
Assigned to
No Owner
Creator
Brian Callahan

Comments

Comment #0 by bcallah — 2021-11-07T01:13:55Z
This one is my fault. The public import core.sys.posix.unistd; in core.sys.openbsd.unistd ends up breaking code that should otherwise work. Discovered when trying to use core.sys.openbsd.unistd with std.getopt. The import isn't needed at all.
Comment #1 by dlang-bot — 2021-11-07T01:14:50Z
@ibara created dlang/druntime pull request #3610 "Fix Issue 22485 - OpenBSD: Fix core.sys.openbsd.unistd imports" fixing this issue: - Fix Issue 22485 - OpenBSD: Fix core.sys.openbsd.unistd imports https://github.com/dlang/druntime/pull/3610
Comment #2 by dlang-bot — 2021-11-07T01:53:34Z
dlang/druntime pull request #3610 "Fix Issue 22485 - OpenBSD: Fix core.sys.openbsd.unistd imports" was merged into stable: - 316fde04bbdb3e3a5d4695311cc5276ed3f0debe by Brian Callahan: Fix Issue 22485 - OpenBSD: Fix core.sys.openbsd.unistd imports https://github.com/dlang/druntime/pull/3610
Comment #3 by dlang-bot — 2021-11-08T15:54:18Z
dlang/druntime pull request #3615 "Merge `stable` in `mater`" was merged into master: - b4e6f7c425b5ef9a0edacb440a00913ac8301433 by Brian Callahan: Fix Issue 22485 - OpenBSD: Fix core.sys.openbsd.unistd imports https://github.com/dlang/druntime/pull/3615