• M
    Fix return value semantic of virFileMakePath · e123e1ee
    Matthias Bolte 提交于
    Some callers expected virFileMakePath to set errno, some expected
    it to return an errno value. Unify this to return 0 on success and
    -1 on error. Set errno to report detailed error information.
    
    Also optimize virFileMakePath if stat fails with an errno different
    from ENOENT.
    e123e1ee
util.c 61.9 KB