]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix getcwd portability problems
authorEric Blake <eblake@redhat.com>
Fri, 29 Apr 2011 17:14:23 +0000 (11:14 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 29 Apr 2011 18:08:26 +0000 (12:08 -0600)
commite39c46a5fd2d1607b30757b64a7b8638f186420a
tree65133edbb16c642dbaf49882f6d681649f2656c7
parent20986e58aa2ecfc96ae6807b2d43f389153417ac
build: fix getcwd portability problems

* 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.
bootstrap.conf
tests/commandhelper.c
tests/commandtest.c
tests/testutils.c
tools/virsh.c