On 26.03.2012 18:23, Dave Mielke wrote:
> There are very few cases where brltty exits on out of memory. They cold 
> probably all be fixed.
>
> Yes, options like --help, --verify, and --version could be changed to return. 
> That's a good portable solution.
>
> I shall have a look at these, plus whatever exits remain after all of this 
> has 
> been done.
>
> That still leaves us with the atexit()s. At the moment, even if we use return 
> instead of exit(), brltty would still rely on them to release resources. I'll 
> tackle the exits first. Maybe an idea will come while that's being done.
This part is trivial. I have code to make atexit store functions in a
list and execute them all when call_at_exit (); is called. I can simply
add call_at_exit after return.


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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://mielke.cc/mailman/listinfo/brltty

Reply via email to