• E
    util: fix virSkipSpaces · 82162316
    Eric Blake 提交于
    Most clients of virSkipSpaces don't want to omit backslashes.
    Also, open-coding the list of spaces is not as nice as using
    c_isspace.
    
    * src/util/util.c (virSkipSpaces): Use c_isspace.
    (virSkipSpacesAndBackslash): New function.
    * src/util/util.h (virSkipSpacesAndBackslash): New prototype.
    * src/xen/xend_internal.c (sexpr_to_xend_topology): Update caller.
    * src/libvirt_private.syms (util.h): Export new function.
    82162316
xend_internal.c 115.6 KB