collinfunk (Collin Funk)
- Login: collinfunk
- Registered on: 02/12/2025
- Last sign in: 02/12/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
02/17/2025
-
04:05 AM Ruby Bug #21128 (Closed): dir.c defines O_CLOEXEC before it is defined by the system.
- Applied in changeset commit:git|c1c7934b63d7682216fed9dd7c9ddff5b72fea89.
----------
[Bug #21128] Include fcntl.h before checking for O_CLOEXEC
On glibc O_CLOEXEC is defined in fcntl.h and not unistd.h so this change
prevents the macro... -
04:05 AM Ruby Revision c1c7934b (git): [Bug #21128] Include fcntl.h before checking for O_CLOEXEC
- On glibc O_CLOEXEC is defined in fcntl.h and not unistd.h so this change
prevents the macro from being redefined.
02/12/2025
-
05:20 AM Ruby Bug #21128: dir.c defines O_CLOEXEC before it is defined by the system.
- Opened a pull request [1].
Also, POSIX requires unistd.h to define O_CLOEXEC, so this is a glibc bug that is easy to reproduce [2]. I'll have a look at fixing it in glibc and gnulib.
[1] https://github.com/ruby/ruby/pull/12735
[2] http... -
05:06 AM Ruby Bug #21128 (Closed): dir.c defines O_CLOEXEC before it is defined by the system.
- Building from master commit hash bfcf36fe2243d34a01b5707754be9164849150c9 on GNU/Linux, I see:
```
compiling dir.c
In file included from /usr/include/bits/fcntl.h:61,
from /usr/include/fcntl.h:35,
...