[systemd-devel] [PATCH] systemd-delta: add support for drop-in snippets

Lennart Poettering lennart at poettering.net
Fri May 3 09:55:07 PDT 2013


On Tue, 30.04.13 12:27, Lukas Nykryn (lnykryn at redhat.com) wrote:

Looks mostly good.

> -static int enumerate_dir(Hashmap *top, Hashmap *bottom, const char *path) {
> +static int enumerate_dir_d(Hashmap *top, Hashmap *bottom, Hashmap
> *drops, const char *toppath, const char *drop) {

Hmm, can we maybe use get_files_in_directory() for this? (Or to turn
this around, maybe extend get_files_in_directory() sufficiently to
support this scheme?)


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list