[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] c025f6: wxx: Fix handling of files used for c
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] c025f6: wxx: Fix handling of files used for character devi... |
Date: |
Fri, 05 Aug 2016 07:30:03 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: c025f689a13d1301b277ee4a0914e90810982d24
https://github.com/qemu/qemu/commit/c025f689a13d1301b277ee4a0914e90810982d24
Author: Stefan Weil <address@hidden>
Date: 2016-08-05 (Fri, 05 Aug 2016)
Changed paths:
M qemu-char.c
Log Message:
-----------
wxx: Fix handling of files used for character devices
On Windows, such files were not truncated like on all other hosts.
Now we also test whether truncation is needed when running on Windows.
The append case was also incorrect because it needs a different value
for the desired access mode.
Reported-by: Benjamin David Lunt <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] c025f6: wxx: Fix handling of files used for character devi...,
GitHub <=