]> xenbits.xensource.com Git - libvirt.git/commit
Replace truncate() with ftruncate()
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 8 Feb 2012 14:03:29 +0000 (14:03 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 8 Feb 2012 19:50:15 +0000 (19:50 +0000)
commitbc6bb3a3e8c6cad0bc9cb72f3e549eeff1de2f99
treeb488788b7e2b4cd02eb422a92672d8fc15fefb72
parent21fe874832f59a57884e471f1192a0bf3cfbaeb1
Replace truncate() with ftruncate()

Mingw32 does not have any truncate() API defined, but it does
have ftruncate(). So replace use of the former with the latter
src/util/storage_file.c