|
|
 |
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: Error reporting capabilities for libxc
Ian Pratt wrote:
Would we be better off returning an error code and a set of parameters,
requiring a call-back into the library to get the string?
It's worth thinking about future language localisation here too.
I know it's a bigger patch, but the Right Thing to do here is to just
propagate an error code through the libxc functions.
The whole xc_{get,set}_error() is a cludge. Threading wouldn't be a
problem if we returned proper error codes.
Looking at your patch, it doesn't seem like it would really be that hard...
Regards,
Anthony Liguori
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|