sudo 4.6.4 Aborted

Dirk Hohndel dirk at hohndel.org
Mon May 15 08:40:38 PDT 2017


> On May 15, 2017, at 8:32 AM, Thiago Macieira <thiago at macieira.org> wrote:
> 
> On segunda-feira, 15 de maio de 2017 06:38:51 PDT Dirk Hohndel wrote:
>> I understand that. For us as a user of the library, though, having the app
>> crash on something as trivial as not being able to connect to the display,
>> that does seem a bit crude.
> 
> I know. It's a side-effect of not using exceptions: we have no way of 
> reporting that the connection failed, aside from aborting the application.
> 
> Would a change to _exit help?

The app reporting an error and calling _exit() (which means no "crash" message
to the user) would be preferable in my view.

/D



More information about the subsurface mailing list