Vladimir 'φ-coder/phcoder' Serbinenko, le Fri 23 Mar 2012 20:37:05 +0100, a écrit : > On 22.03.2012 20:34, Dave Mielke wrote: > >>>atexit in braille_core is not defined > >I can add this to our autoconf. Not that it'll ever be missing for us, of > >course, but it'll give you a #define to set in your copy of our config.h. > > > If it helps we have setjmp/longjmp, I could actually create a kind of > simulated exit and atexit but I'm not sure how to handle the background part > of brltty part for this. Perhaps we could make exit execute atexit and go to > the point brlConstruct/brlUpdate was called from. This would also require > having a list of brltty memory allocations and USB transfers but can be > done. Should I?
I don't think it's worth the pain: in normal conditions, brltty is not supposed to exit. Actually I can see use of exit() on brltty --help/--version or option error (OT here), init emulation (OT), pid conflict (OT), background error (OT), and no memory error. 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://mielke.cc/mailman/listinfo/brltty
