What is the purpose of wdcache and wlcache?

2019-02-07 Thread Peng Yu
Hi, I don't understand the purpose of wdcache and wlcache. The "nc" field seems to be always 0 (as initialized in ocache_create(), and I don't find where it is increased. But `ocache_alloc()` just call xmalloc without using the cache since nc is 0. So wdcache and wlcache seem to be useless. Do I

small problem with install on POSIX type Solaris due to O_CLOEXEC used in examples fdflags.c

2019-02-07 Thread Dennis Clarke
Just a minor nit. The examples file fdflags.c uses flag O_CLOEXEC which of course does not exist on Solaris or any linux previous to 2.6.23 so of course install blows up a bit. Trivial hack solution is I remove fdflags from the examples install phase and life goes on neatly. Sure we have : /