error_codes: Remove obsolete header file
This file was used by the old client to hold return error codes. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Snir Sheriber <ssheribe@redhat.com>
-
I don't agree, the bug is in the external code. Opened a pull request to fix the issue https://github.com/gnif/LookingGlass/pull/126.
Edited by Frediano Ziglio -
I am the author of Looking Glass, thanks for the patch. I was unaware of the rename as the Spice client in LG was written less then a year ago based on the Spice PDF documentation which doesn't use this new enumeration. Perhaps a bug should be opened against the PDF document for being out of date.
-
@geoff , where did you find the PDF ? The PDF I can find uses RED_ERROR_xxx constants which are still wrong but better than the client ones.
Edited by Frediano Ziglio -
@fziglio it was the same PDF that you are seeing. https://www.spice-space.org/static/docs/spice_protocol.pdf
I wrote this code quite some time ago and my memory is a little fuzzy, however I did make the natural leap of grepping for the error defines based on the PDF which turned up the deprecated header.
-
Well, they seems similar to the RED_ERROR_xxx ones but the values are also different so using them would result in bad feedback to the user. It would be great to update the PDF, even better to convert to some markup/down (I think there are old patches about :-( ) and update. Thanks