DragonFly BSD
DragonFly submit List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [PATCH] libc FILE locking


From: David Xu <davidxu@xxxxxxxxxxx>
Date: Sat, 07 May 2005 22:06:32 +0800

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.






[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]