Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

(Fwd) Re: [PATCH] db/gdbm rewrite



So ... I wrote the following a few days ago and didn't remember to use my
own gmail-block workaround, so it never made it to the list.  Still, it
seems to remain relevant to the latest patches.


On Feb 14,  4:20am, Sebastian Gniazdowski wrote:
}
} -- hashtable is filled normally, initially with ~PM_UPTODATE
} -- Param "dereference" detects ~PM_UPTODATE, uses database, sets u.str,
} sets PM_UPTODATE

This is not going to provide equivlent behavior, is it? If the database
is being read by zsh and updated by some other process, how does zsh know
that it needs to re-fetch what has now become a cached value?

This PM_UPTODATE flag also points out something that I've sort of had
percolating for a while -- we need a flag bit or two reserved for use
by modules.  (A counter-argument is that we're all out of flag bits.)



Messages sorted by: Reverse Date, Date, Thread, Author