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:58:40 -0400
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFG+MgLD1OTBfyMaQRAs+hAKDGozaFnLdo1CMdh8QVwCQtgQaR9gCeIi5m
9jD4Hy7YH9QpG9EEgDzH/1U=
=A+Xy
-----END PGP SIGNATURE-----





reply via email to

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