On 01/09/2018 01:38 AM, Joerg Schilling wrote:
If POSIX would allow such unexpected behavior, this would have been documented.
I'm afraid we'll just have to agree to disagree here. Even if you expect a particular behavior, it's not the behavior that I expect nor is it the behavior that we actually observe. You can take up up with the POSIX committee if you like; please reference this discussion so that they can see the arguments on both sides.