I swore POSIX forbid sharing some state between processes? What prevents structure serialization across process restart? @RichFelker ?
-
-
Thanks, your comments jogged my memory enough that I found the section. It's a pretty strong case for unsupported behaviour.
-
Whether glibc wants to support it as an extension is a valid question but per POSIX this is very clearly UB.
-
Why? I doubt we want that constraint on the implementation. We already can't support process shared across two implementations.
-
I don't think glibc should support this (thereby constraining itself); I'm just saying someone could argue for it.
-
My preference is not to support things that are UB unless they clearly don't put additional constraints on implementation.
-
The UB in this case is in Berkeley DB. Enjoy :-) https://bugzilla.redhat.com/show_bug.cgi?id=1394862 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.