[PATCH v3 0/3] Improve writing bitmap files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]