[BRLTTY] Low-level BrlAPI questions

Aura Kelloniemi kaura.dev at sange.fi
Mon Apr 12 07:01:40 EDT 2021


On 2021-04-12 at 12:11 +0200, Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
 > Aura Kelloniemi, le lun. 12 avril 2021 12:58:53 +0300, a ecrit:
 > > Could a new function brlapi_strerror_r be added that would be re-entrant?

 > We could define add this indeed.

But the problems of strerror and gai_strerror not being re-entrant still
apply, although the chances of hitting those races is significantly smaller
than with brlapi-strerror, maybe.

So Iassume, that the re-entrant version of brlapi_strerror needs to be behind
some feature gate, or be re-entrant only on some systems.

One another question:
To what names does BRLAPI_MAXNAMELENGTH refer to? Anythign returned by BrlAPI
that can be considered to be a name? (Key name, command name, driver name,
model name, etc.)

-- 
Aura


More information about the BRLTTY mailing list