How about O_CREAT_DIRECTORY?
How about O_CREAT_DIRECTORY?
Posted Jul 31, 2026 18:35 UTC (Fri) by huntermatthews (subscriber, #4490)In reply to: How about O_CREAT_DIRECTORY? by pm215
Parent article: Reconsidering O_CREAT|O_DIRECTORY
It wasn't _just_ cultural pressure - some early linkers had a 6 char limit. "O_CREAT" is 6 chars. My memory says the linker only cared that the first 6 chars were unique and you could have identifiers longer than that - but maybe that was a half way mark?
My understanding is that this was corrected or worked around by the late 70's.
HOWEVER, I was still dealing with scientific software in C in the mid 00's that had broken six char clean C pre-processor macros.
The answer was to turn them all off, but thats a different issue.
