diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-09 02:00:37 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-01-22 01:14:53 -0500 |
commit | 3f93da987961c139215d3a55fd25496310537d1b (patch) | |
tree | 2b112028cec648a7c7024cd5acbd1daf6f8ea1e0 /src/modules-load | |
parent | 222c47f47615a275b9a9862a45f9b91b01eb8be5 (diff) |
tmpfiles: attach an array of items to each path
The data structure used by tmpfiles is changed: instead of hashmaps
mapping {path → Item*} we now have hashmaps containing
{path -> ItemArray}, where ItemArray contains a pointer
to an array of Items.
For current code it doesn't matter much, but when we add new types it
is easier to simply add a new Item for a given path, then to coalesce
multiple lines into one Item.
In the future, this change will also make it possible to remember the
file and line where each Item originates, and use that in reporting
errors. Currently this is not possible, since each Item can be created
from multiple lines.
Diffstat (limited to 'src/modules-load')
0 files changed, 0 insertions, 0 deletions