Small series to fix a bug in get_spec_node().
Patch 1 is turning several function parameters into const in order to
avoid having to cast away the const attribute in get_spec_node().
Patch 2 is the fix, which is a backport candidate.
Changes in V3:
- add get_strings() conversion to const in patch 1
Changes in V2:
- add patch 1, avoiding the need to cast const away in patch 2
Juergen Gross (2):
tools/xenstore: add const to the return type of canonicalize()
tools/xenstore: fix get_spec_node()
tools/xenstore/xenstored_control.c | 33 ++++++++++++++--------------
tools/xenstore/xenstored_core.c | 31 +++++++++++++++-----------
tools/xenstore/xenstored_core.h | 5 +++--
tools/xenstore/xenstored_domain.c | 4 ++--
tools/xenstore/xenstored_lu.c | 2 +-
tools/xenstore/xenstored_lu.h | 4 ++--
tools/xenstore/xenstored_lu_daemon.c | 2 +-
tools/xenstore/xenstored_lu_minios.c | 2 +-
tools/xenstore/xenstored_watch.c | 14 +++++++-----
9 files changed, 53 insertions(+), 44 deletions(-)
--
2.35.3