qemu-e2k/block
Stefan Weil 2c993ec294 w32: Fix qemu_ftruncate64
SetFilePointer returns INVALID_SET_FILE_POINTER when it fails.
In addition, GetLastError must be checked.

The first call of SetFilePointer did not use INVALID_SET_FILE_POINTER,
the second call used wrong error handling.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-08-22 10:19:00 -05:00
..
blkdebug.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
blkverify.c block: avoid a warning on 64 bit hosts with long as int64_t 2010-11-04 13:54:37 +01:00
bochs.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
cloop.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
cow.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
curl.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
dmg.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
nbd.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
parallels.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qcow2-cache.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qcow2-cluster.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qcow2-refcount.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qcow2-snapshot.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qcow2.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qcow2.h qcow2: Use coroutines 2011-08-02 15:53:41 +02:00
qcow.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-check.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-cluster.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-gencb.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-l2-cache.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-table.c async: Remove AsyncContext 2011-08-02 15:53:41 +02:00
qed.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed.h qed: Periodically flush and clear need check bit 2011-05-18 14:38:46 +02:00
raw-posix-aio.h
raw-posix.c raw-posix: Always check paio_init result 2011-08-01 12:10:29 +02:00
raw-win32.c w32: Fix qemu_ftruncate64 2011-08-22 10:19:00 -05:00
raw.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
rbd.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
sheepdog.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vdi.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vmdk.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vpc.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
vvfat.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00