qemu-e2k/qga
Kirk Allan 52074d0f66 qga: fix append file open modes for win32
For append file open modes, use FILE_APPEND_DATA for the desired access
for writing at the end of the file.

Version 2:
For "a+", "ab+", and "a+b" modes use FILE_APPEND_DATA|GENERIC_READ.
ORing in GENERIC_READ starts a read at the begining of the file.  All
writes will append to the end fo the file.

Added white space to maintain the alignment of the guest_file_open_modes[].

Signed-off-by: Kirk Allan <kallan@suse.com>
Cc: qemu-stable@nongnu.org
* use FILE_GENERIC_APPEND macro, which provides same semantics as
  FILE_APPEND_DATA, but retains other flags from GENERIC_WRITE
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-11-11 10:21:02 -06:00
..
installer qemu-ga: Fixed paths issue with MSI build 2015-09-01 11:07:09 -05:00
vss-win32 error: On abort, report where the error was created 2015-09-10 13:48:06 +02:00
channel-posix.c qga: handle G_IO_STATUS_AGAIN in ga_channel_write_all() 2015-10-19 18:31:54 -05:00
channel-win32.c qga: fix uninitialized value warning for win32 2015-10-19 18:31:54 -05:00
channel.h
commands-posix.c qga: drop hand-made guest_file_toggle_flags helper 2015-11-04 07:37:56 -06:00
commands-win32.c qga: fix append file open modes for win32 2015-11-11 10:21:02 -06:00
commands.c qga: guest-exec simple stdin/stdout/stderr redirection 2015-10-19 18:31:54 -05:00
guest-agent-command-state.c qga: Use g_new() & friends where that makes obvious sense 2015-10-19 18:28:06 -05:00
guest-agent-core.h
main.c qdict: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00
Makefile.objs
qapi-schema.json qga: guest-exec simple stdin/stdout/stderr redirection 2015-10-19 18:31:54 -05:00
service-win32.c
service-win32.h
vss-win32.c error: On abort, report where the error was created 2015-09-10 13:48:06 +02:00
vss-win32.h