Detect error in files and handle more gracefully.
This version:
- split the previous one;
- update it;
- fix different observations from Christophe.

The last patch still contains the "old style". Could be
true that if chaining could be not that readable but
I'm not a big fun of too many goto either.

Frediano Ziglio (8):
  replay: Rename eof to error
  replay: Record allocations in a GList to handle errors
  replay: Handle errors reading strings from record file
  replay: Detect errors from red_replay_data_chunks
  replay: Remove useless check
  replay: Assure read_binary receives a NULL pointer
  replay: Update pointer in allocated list
  replay: Propagate error correctly in replay_fread

 server/red-replay-qxl.c | 249 ++++++++++++++++++++++++++++++++++++------------
 1 file changed, 188 insertions(+), 61 deletions(-)

-- 
2.7.4

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

Reply via email to