• E
    build: avoid close, system · e67ae619
    Eric Blake 提交于
    * src/fdstream.c (virFDStreamOpenFile, virFDStreamCreateFile):
    Use VIR_FORCE_CLOSE instead of close.
    * tests/commandtest.c (mymain): Likewise.
    * tools/virsh.c (editFile): Use virCommand instead of system.
    * src/util/util.c (__virExec): Special case preservation of std
    file descriptors to child.
    e67ae619
util.c 78.4 KB