Move the getcwd cache to C-code.
The getcwd()
cache is currently implemented in the default master object. This necessitates a dedicated API in the master object (zap_getcwd_cache()
) in order for Stdio.Fd()->cd()
to be able to clear the cache.
The cache would be trivial to implement in C.
-
Move the cache from the master to C/CMOD code. -
Remove the GETCWD_CACHE
code from the default master.