commit | 5f56808431778fe8878ea8ea94225cca08884b48 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul.jakma@sun.com> | Thu Feb 28 00:09:04 2008 +0000 |
committer | Paul Jakma <paul.jakma@sun.com> | Thu Feb 28 00:09:04 2008 +0000 |
tree | 41027ecf7a18a787ea3109a76d5ec83ebf49a45e | |
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.