[PATCH] libc FILE locking

David Xu davidxu at freebsd.org
Sat May 7 07:25:21 PDT 2005


Simon 'corecode' Schubert wrote:

On 07.05.2005, at 07:50, David Xu wrote:

 /*
+ * We need to retain binary compatibility for a while.  So pretend
+ * that _lock is part of FILE * even though it is dereferenced off
+ * _extra now.  When we stop encoding the size of FILE into binaries
+ * this can be changed in stdio.h.  This will reduce the amount of
+ * code that has to change in the future (just remove this comment
+ * and #define).
+ */


why would any sane code use the size of FILE? This is an opaque 
handle! Do you have some pointers for me?

cheers
  simon
I don't have such code, it is a copy-pasto, I will fix it.








More information about the Submit mailing list