cvs-dev
[Top][All Lists]
Advanced

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

[Cvs-dev] Re: cvs-passwd patch, hash.c doubt


From: Derek R. Price
Subject: [Cvs-dev] Re: cvs-passwd patch, hash.c doubt
Date: Thu, 28 Sep 2006 10:57:13 -0400
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Mark D. Baushke wrote:
> commit.c uses a key of xstrdup (finfo->fullname) and xstrdup (finfo->file)
> client.c uses a key of xstrdup (update_dir)
> entries.c uses a key of xstrdup (entdata->user)
> fileattr.c uses a key of xstrdup (filename)

If I recall correctly, a key isn't actually necessary, but it enables
node lookup by hash key.  Without the key you can still use the hash.c
structures as linked lists (walklist() will work, but findnode() will not).

Derek
-- 
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]