|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 23/25] tools/xenstore: merge is_valid_nodename() into canonicalize()
Hi Juergen, On 04/08/2023 13:05, Juergen Gross wrote: On 04.08.23 12:33, Julien Grall wrote: How about writing Xenstored in a single function then? After all with comments it should be easy to read, right? :) There are a few difficulty with the current approach. There are: * a large function call that needs to be split over two lines * multiple || which also need to split over multiple lines. * No parentheses over strspn(....) != strlen(node)Maybe you can parse/understand this 'if' very quickly. But I can't and this is just slowing down review and increasing the risk of introducing bugs. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |