diff options
author | Paul Jakma <paul.jakma@sun.com> | 2008-02-28 00:09:04 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2008-02-28 00:09:04 +0000 |
commit | 5f56808431778fe8878ea8ea94225cca08884b48 (patch) | |
tree | 41027ecf7a18a787ea3109a76d5ec83ebf49a45e /lib/hash.c | |
parent | 20e5ff0a8893ffad6d31739d68d224931c4a7992 (diff) |
[lib/linklist] Enforce "nodes must have data" invariant more rigorously
2008-02-28 Paul Jakma <paul.jakma@sun.com>
* linklist.c: This implementation expects that the data pointer not
be null, e.g. listgetdata() asserts this. The list add methods
don't apply the same sanity check.
Noted by Jim Carlson in bug #437.
Diffstat (limited to 'lib/hash.c')
0 files changed, 0 insertions, 0 deletions