Bug 9799 – Missing aliases and enums in druntime imports
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2013-03-23T10:39:31Z
Last change time
2021-08-01T11:47:14Z
Keywords
pull
Assigned to
Teodor Dutu
Creator
Sarath Kumar Kodali
Comments
Comment #0 by kodlists-dlang — 2013-03-23T10:39:31Z
1. lwpid_t is defined in core/sys/posix/sys/types.d for FreeBSD but not Linux. In Linux, lwpid_t is defined in /usr/include/sys/procfs.h as "typedef __pid_t lwpid_t;"
2. O_CLOEXEC is missing in core/sys/posix/fcntl.d. In Linux it is declared in /usr/include/bits/fcntl-linux.h as,
# define __O_CLOEXEC 02000000
Comment #1 by verylonglogin.reg — 2013-11-07T11:35:20Z
This is trivial. Can somebody check and resolve?
Comment #2 by dlang-bot — 2021-07-26T17:31:19Z
@teodutu created dlang/druntime pull request #3526 "[DSSv3] Fix Issue 9799 - add missing druntime imports" fixing this issue:
- Fix Issue 9799 - add missing druntime imports
Changes:
- Add the `lwpid_t` alias to `core/sys/posix/sys/types.d`
- Add the `O_CLOEXEC` enum to `core/sys/posix/fcntl.d` for the x86
platform
https://github.com/dlang/druntime/pull/3526
Comment #3 by dlang-bot — 2021-08-01T11:47:14Z
dlang/druntime pull request #3526 "[DSSv3] Fix Issue 9799 - add missing druntime imports" was merged into master:
- 38f56b31e71dc6924926a0dfbc15654094aa16bd by Teodor Dutu:
Fix Issue 9799 - add missing druntime imports
Changes:
- Add the `lwpid_t` alias to `core/sys/posix/sys/types.d`
- Add the `O_CLOEXEC` enum to `core/sys/posix/fcntl.d` for the x86
platform
https://github.com/dlang/druntime/pull/3526