Re: [PATCH v3 05/17] tools/xenstore: replace watch->relative_path with a prefix length

2023-01-17 Thread Julien Grall
Hi Juergen, On 17/01/2023 09:11, Juergen Gross wrote: Instead of storing a pointer to the path which is prepended to relative paths in struct watch, just use the length of the prepended path. It should be noted that the now removed special case of the relative path being "" in get_watch_path()

[PATCH v3 05/17] tools/xenstore: replace watch->relative_path with a prefix length

2023-01-17 Thread Juergen Gross
Instead of storing a pointer to the path which is prepended to relative paths in struct watch, just use the length of the prepended path. It should be noted that the now removed special case of the relative path being "" in get_watch_path() can't happen at all. Signed-off-by: Juergen Gross --- V