diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-23 11:54:10 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:31:31 +0200 |
commit | 4646c4a3ef6171a0ddec4fcfe0c6aa34b50501cd (patch) | |
tree | 6b84772adf6f4c45c852dfc051b94995864caa86 /rootdir.c | |
parent | 6e202c432e2f16dfa83a7dc21b759c03623fa394 (diff) |
Improve the interface for dircat_make_node
* dircat.c, dircat.h (dircat_make_node): Use an explicit
array size for DIRS, fail with ENOMEM is any of them is NULL, and
release the reference on the non-NULL nodes on any error.
* main.c (root_make_node): Use the new interface.
Diffstat (limited to 'rootdir.c')
0 files changed, 0 insertions, 0 deletions