[Spice-devel] [PATCH v3 0/3] Improve writing bitmap files

Frediano Ziglio fziglio at redhat.com
Fri Jan 15 01:14:40 PST 2016


Remove warnings due to missing return checks on RHEL-6.
Handle endianess for fields.

Changes from v2:
- use g_return_val_if_fail instead of spice_assert;
- split second patch.

Changes from v1:
- add suggested assert;
- remove unneeded change from first patch;
- do not hide write function with a macro;
- do not assume file is always "f".

Frediano Ziglio (3):
  utils: use always fwrite to write bitmap
  utils: fix endianess issues writing bitmap file
  utils: handle errors writing to bitmap file

 server/spice-bitmap-utils.c | 116 ++++++++++++++++++++++++++------------------
 1 file changed, 70 insertions(+), 46 deletions(-)

-- 
2.4.3



More information about the Spice-devel mailing list