diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-08-20 12:10:05 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 10:19:00 -0500 |
commit | 2c993ec294893af31deed27e5d79610ce71642e1 (patch) | |
tree | 2f51b19ea8f87c8d5386af80f83559a2f5512494 /qint.h | |
parent | 1f22a6bc62bc7b1c21a4dc5c9cf16e156ad8321e (diff) | |
download | qemu-2c993ec294893af31deed27e5d79610ce71642e1.tar.gz qemu-2c993ec294893af31deed27e5d79610ce71642e1.tar.bz2 qemu-2c993ec294893af31deed27e5d79610ce71642e1.zip |
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>
Diffstat (limited to 'qint.h')
0 files changed, 0 insertions, 0 deletions