> Am 24.05.2025 um 21:33 schrieb Paul Eggert <[email protected]>:
>
> Can you verify that a simple program like the following triggers this macOS
> bug? If so, we might be able to work around it.
The output is: "O_DIRECTORY incorrectly succeeded!"
> You may need to munge this program a bit to get it to compile and illustrate
> the bug on macOS.
What does "to munge" mean? No printed dictionary or online translator is able
to tell me what it is meaning in German. I first saw it over 40 years ago. Then
a utility of ispell had this name…
O_DIRECTORY is #define'd in /usr/include/sys/fcntl.h:
139 #ifndef _POSIX_C_SOURCE
140 #define O_DIRECTORY 0x100000
141 #endif
--
Greetings
Pete
To drink without thirst and to make love all the time, madam, it is only these
which distinguish us from the other beasts.
– Beaumarchais