]> git.proxmox.com Git - qemu.git/commit
qga: distinguish binary modes in "guest_file_open_modes" map
authorLaszlo Ersek <lersek@redhat.com>
Wed, 8 May 2013 15:31:35 +0000 (17:31 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 14 May 2013 21:18:15 +0000 (16:18 -0500)
commit67b460a404eedf8a1f098fdb52cd40b2e6d48ef1
tree263cfa231c31bbcfb9c1fbdec762977390cca268
parent84247bbe2857164d72796cdb43902b28415f5966
qga: distinguish binary modes in "guest_file_open_modes" map

In Windows guests this may make a difference.

Since the original patch (commit c689b4f1) sought to be pedantic and to
consider theoretical corner cases of portability, we should fix it up
where it failed to come through in that pursuit.

Suggested-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
(cherry picked from commit 8fe6bbca7176c9dfb35083a71bda95c1856e2ed5)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c