• E
    build: fix getcwd portability problems · e39c46a5
    Eric Blake 提交于
    * bootstrap.conf (gnulib_modules): Add getcwd-lgpl.
    * tests/commandtest.c (checkoutput): Drop unused cwd.
    * tests/commandhelper.c (main): Let getcwd malloc.
    * tests/testutils.c (virTestMain): Likewise.
    * tools/virsh.c (cmdPwd): Likewise.
    (virshCmds): Expose cmdPwd and cmdCd on mingw.
    e39c46a5
testutils.c 17.0 KB