author | Sebastian Harl <sh@tokkee.org> | |
Thu, 20 Mar 2008 12:22:15 +0000 (13:22 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 22 Mar 2008 08:34:26 +0000 (09:34 +0100) | ||
commit | 4fe00def1a70d2bd73dbcd912da2becef459d00e | |
tree | 15061328fd251306710cfe1588b0aa1cdb6c39e8 | tree | snapshot |
parent | 91963baa3a553d401a7decedaf5d413e08e2ae99 | commit | diff |
configfile.c: Include more than one files in lexicographical order.
Using qsort() and strcmp() the list of files (after reading the contents
of a directory or expanding globs) is sorted before inclusion. As the
order of options in the config file matters this is more convenient.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Using qsort() and strcmp() the list of files (after reading the contents
of a directory or expanding globs) is sorted before inclusion. As the
order of options in the config file matters this is more convenient.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/collectd.conf.pod | diff | blob | history | |
src/configfile.c | diff | blob | history |