Support STORE_DEFAULT (store_snapshot_cb): Use STORE_DEFAULT rather than

2001-05-03  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_store_xml): Support STORE_DEFAULT
	(store_snapshot_cb): Use STORE_DEFAULT rather than STORE_MASK_PREVIOUS

	* location.h (_StoreType): Add STORE_DEFAULT

	* config-log.c (config_log_get_rollback_id_by_steps): Return the
	current id if the node represents default data

	* main.c (do_add_location): Cast correctly, fixing compiler
	warning
This commit is contained in:
Bradford Hovinen 2001-05-04 01:28:38 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent a7fa858b61
commit 7631a53d80
6 changed files with 87 additions and 10 deletions

View file

@ -259,7 +259,8 @@ do_add_location (Archive *archive)
if (parent_location == NULL && !strcmp (parent_str, "default"))
parent_location =
location_new (archive, "default", NULL);
LOCATION
(location_new (archive, "default", NULL));
}
location = location_new (archive, location_id, parent_location);