|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 1/2] tools/xenstore: add const to the return type of canonicalize()
Hi Juergen, On 22/07/2023 09:16, Juergen Gross wrote:
From my understanding, check_watch_path() could update vec[0] which is then used below. But with your change, vec[0] would not be updated anymore. I can see two possible approach: 1) get_strings() is taking a const as well 2) replace all use of vec[0] with pathI have a slight preference for the former. But I can also understand this is more work. So choose whichever you prefer. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |