xapi-project / xcp-networkd

The XCP networking daemon
Other
14 stars 42 forks source link

network_config, network_server: restore semantics of split #127

Closed mseri closed 6 years ago

mseri commented 6 years ago

During the port to Astring the function Xstringext.String.split (that preserves empty splitted strings) has been replaced in most places by Astring.String.cuts ~empty:false (filtering the empty splitted strings).

In most cases this was just an optimization. In two cases the difference in behaviour could create issues in some corner cases. This commit restores the old behavior for those.

Signed-off-by: Marcello Seri marcello.seri@citrix.com