dbus/test/data/invalid-config-files circular-1.conf, NONE, 1.1 circular-2.conf, NONE, 1.1 circular-3.conf, NONE, 1.1

Jon Trowbridge trow at pdx.freedesktop.org
Mon Apr 12 18:37:59 PDT 2004


Update of /cvs/dbus/dbus/test/data/invalid-config-files
In directory pdx:/tmp/cvs-serv20087/test/data/invalid-config-files

Added Files:
	circular-1.conf circular-2.conf circular-3.conf 
Log Message:
2004-04-12  Jon Trowbridge  <trow at ximian.com>

	    * bus/config-parser.c (struct BusConfigParser): Added
	    included_files field.
	    (seen_include): Added.  Checks whether or not a file has already
	    been included by any parent BusConfigParser.
	    (bus_config_parser_new): Copy the parent's included_files.
	    (include_file): Track which files have been included, and fail on
	    circular inclusions.
	    (process_test_valid_subdir): Changed printf to report if we are
	    testing valid or invalid conf files.
	    (all_are_equiv): Changed printf to be a bit clearer about
	    what we are actually doing.
	    (bus_config_parser_test): Test invalid configuration files.



--- NEW FILE: circular-1.conf ---
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<include>circular-1.conf</include>
</busconfig>
--- NEW FILE: circular-2.conf ---
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<include>circular-3.conf</include>
</busconfig>
--- NEW FILE: circular-3.conf ---
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<include>circular-2.conf</include>
</busconfig>



More information about the dbus-commit mailing list