David Herrmann 8927b1dad2 hashmap: fix iterators to not skip entries
Currently, the HASHMAP iterators stop at the first NULL entry in a
hashmap. This is non-obvious and breaks users like sd-device, which
legitimately store NULL values in a hashmap.

Fix all the iterators by taking a pointer to the value storage, instead of
returning it. The iterators now return a boolean that tells whether the
end of the list was reached.

Current users of HASHMAP_FOREACH() are *NOT* changed to explicitly check
for NULL. If it turns out, there were users that inserted NULL into
hashmaps, but didn't properly check for it during iteration, then we
really want to find those and fix them.
2015-06-14 16:56:02 +02:00
2015-06-03 00:22:53 +02:00
2015-06-03 00:22:53 +02:00
2015-06-14 14:26:31 +02:00
2015-06-13 10:56:28 +08:00
2015-06-10 15:49:41 -07:00
2015-06-03 00:22:53 +02:00
2015-06-01 09:27:47 +01:00
2015-06-13 19:52:54 +02:00
2014-02-18 02:51:47 +01:00
2015-06-03 00:22:53 +02:00
2014-06-04 15:41:10 -04:00
2015-06-03 00:22:53 +02:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

  • General information about systemd can be found in the systemd Wiki
  • Information about build requirements are provided in the README file
S
Description
No description provided
Readme
46 MiB
Languages
C 92.6%
Shell 2.1%
Makefile 1.6%
M4 1.2%
Perl 1.2%
Other 1.3%