Aura Kelloniemi, le lun. 12 avril 2021 12:58:53 +0300, a ecrit: > I researched the error messages case, and I suspect that they > might be encoded in whatever character set in the case of C library errors, > because strerror might return a translated message, which is in the user's > locale.
Ah, yes, while the brlapi-specific errors are not translated, the libc errors may be. The principle would be to follow the strerror behavior. > I also found race conditions from brlapi_strerror. Its result buffer will be > clobbered, Oh, I thought it would be per connection handle but it's completely shared. > Could a new function brlapi_strerror_r be added that would be re-entrant? We could define add this indeed. Samuel _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
