diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-02 21:43:29 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-02 21:43:29 +0000 |
commit | 94790fef4a846ef2bed9bf1825c4c2b0ca7b8566 (patch) | |
tree | 4d10bb9e8c16060113b8470507d635f6502796f5 /test/data/valid-config-files | |
parent | e55fd2c6706e41f6933e1656ac3da7527ee2514f (diff) |
2003-04-02 Havoc Pennington <hp@redhat.com>
* dbus/dbus-sysdeps.c (_dbus_file_get_contents): include filenames
in error messages
(_dbus_string_get_dirname): new
(_dbus_sysdeps_test): new
(_dbus_directory_open): include dirnames in error messages
* bus/config-parser.c: interpret <include> and <includedir> and
<servicedir> relative to config file location if the given
filename is not absolute.
* dbus/dbus-string.c (_dbus_string_find_byte_backward): new
Diffstat (limited to 'test/data/valid-config-files')
-rw-r--r-- | test/data/valid-config-files/basic.d/basic.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/data/valid-config-files/basic.d/basic.conf b/test/data/valid-config-files/basic.d/basic.conf new file mode 100644 index 00000000..d109d71d --- /dev/null +++ b/test/data/valid-config-files/basic.d/basic.conf @@ -0,0 +1,13 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <user>mybususer</user> + <listen>unix:path=/foo/bar</listen> + <listen>tcp:port=1234</listen> + <includedir>basic.d</includedir> + <servicedir>/usr/share/foo</servicedir> + <include ignore_missing="yes">nonexistent.conf</include> + <policy context="default"> + <allow user="*"/> + </policy> +</busconfig> |