[patch] avoiding circular config file inclusions

Jon Trowbridge trow at ximian.com
Tue Apr 13 04:16:53 EST 2004


The attached patch:

(1) Causes the configuration parser to detect and report circular file
inclusions.

(2) Adds a test to make sure that the parser fails on config files that
are known to be invalid.

(3) Removed the TODO item related to my patch from last week.

(4) Adds the new test data directories to test/Makefile.am, which I
failed to do in my last patch.

Also attached are simple test cases of conf files with circular
inclusions.

Thanks,
-J

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-circular-includes.patch
Type: text/x-diff
Size: 6546 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040412/dadb991e/dbus-circular-includes.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-test-data-invalid-config-files.tgz
Type: application/x-compressed-tar
Size: 364 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040412/dadb991e/dbus-test-data-invalid-config-files.bin


More information about the dbus mailing list