Replace truncate() with ftruncate()
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

siboulet/libvirt-openvz,agx/libvirt,nertpinx/libvirt,rlaager/libvirt,crobinso/libvirt,olafhering/libvirt,agx/libvirt,cbosdo/libvirt,rmarwaha/libvirt,bjzhang/libvirt,libvirt/libvirt,rmarwaha/libvirt1,jardasgit/libvirt,siboulet/libvirt-openvz,rmarwaha/libvirt1,fabianfreyer/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,siboulet/libvirt-openvz,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,shugaoye/libvirt,andreabolognani/libvirt,datto/libvirt,taget/libvirt,foomango/libvirt,agx/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,eskultety/libvirt,libvirt/libvirt,elmarco/libvirt,elmarco/libvirt,eskultety/libvirt,datto/libvirt,jeckersb/libvirt,warewolf/libvirt,elmarco/libvirt,jfehlig/libvirt,datto/libvirt,datto/libvirt,dumbbell/libvirt,rlaager/libvirt,rmarwaha/libvirt1,olafhering/libvirt,jardasgit/libvirt,jardasgit/libvirt,wiedi/libvirt,agx/libvirt,siboulet/libvirt-openvz,shugaoye/libvirt,libvirt/libvirt,cbosdo/libvirt,novel/fbsd-libvirt,trainstack/libvirt,rmarwaha/libvirt,emaste/libvirt,novel/fbsd-libvirt,agx/libvirt,rmarwaha/libvirt,foomango/libvirt,novel/fbsd-libvirt,shugaoye/libvirt,dumbbell/libvirt,taget/libvirt,trainstack/libvirt,taget/libvirt,wiedi/libvirt,jardasgit/libvirt,novel/fbsd-libvirt,warewolf/libvirt,VenkatDatta/libvirt,iam-TJ/libvirt,wiedi/libvirt,warewolf/libvirt,jfehlig/libvirt,crobinso/libvirt,cbosdo/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,siboulet/libvirt-openvz,foomango/libvirt,olafhering/libvirt,rmarwaha/libvirt,dumbbell/libvirt,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,eskultety/libvirt,jeckersb/libvirt,dumbbell/libvirt,rmarwaha/libvirt1,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,zippy2/libvirt,jfehlig/libvirt,novel/fbsd-libvirt,dumbbell/libvirt,rmarwaha/libvirt1,warewolf/libvirt,rmarwaha/libvirt,bjzhang/libvirt,iam-TJ/libvirt,libvirt/libvirt,shugaoye/libvirt,rlaager/libvirt,emaste/libvirt,iam-TJ/libvirt,foomango/libvirt,jeckersb/libvirt,andreabolognani/libvirt,rmarwaha/libvirt1,iam-TJ/libvirt,trainstack/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,novel/fbsd-libvirt,andreabolognani/libvirt,iam-TJ/libvirt,jfehlig/libvirt,emaste/libvirt,warewolf/libvirt,fabianfreyer/libvirt,emaste/libvirt,trainstack/libvirt,jeckersb/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,VenkatDatta/libvirt,iam-TJ/libvirt,zippy2/libvirt,eskultety/libvirt,rmarwaha/libvirt,dumbbell/libvirt,iam-TJ/libvirt,foomango/libvirt,eskultety/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,emaste/libvirt,cbosdo/libvirt,cbosdo/libvirt,crobinso/libvirt,nertpinx/libvirt,andreabolognani/libvirt,trainstack/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,warewolf/libvirt,bjzhang/libvirt,rlaager/libvirt,zippy2/libvirt,emaste/libvirt,taget/libvirt,bjzhang/libvirt,zippy2/libvirt,trainstack/libvirt,warewolf/libvirt,wiedi/libvirt,elmarco/libvirt,nertpinx/libvirt,elmarco/libvirt,olafhering/libvirt,taget/libvirt,emaste/libvirt,datto/libvirt,fabianfreyer/libvirt,bjzhang/libvirt,crobinso/libvirt,trainstack/libvirt