sudo 4.6.4 Aborted

Thiago Macieira thiago at macieira.org
Mon May 15 08:59:21 PDT 2017


On segunda-feira, 15 de maio de 2017 08:40:38 PDT Dirk Hohndel wrote:
> > 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.

I think I can justify that change.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



More information about the subsurface mailing list