commit 5884c9d61d11a8374e2feac0e4f211121468aea8 Author: Stephen R. van den Berg srb@cuci.nl Date: Sun Jul 19 23:55:26 2020 +0200
Stdio.Buffer: Protect against calls in destructed Buffer objects.
src/modules/_Stdio/buffer.cmod | 272 ++++++++++++++++++++++++----------------
Regarding
#define CHECK_DESTRUCTED(io) ((io)->this ? (io) : already_destructed())
I don't get how that works, nothing really ever sets io->this to zero..., and if I am not mistaken we do not zero out CVAR Buffer [aka struct _Buffer] on destruct or free either... what am I missing?