[BRLTTY] BRLTTY crashes in X

Mario Lang mlang at blind.guru
Wed Oct 2 15:02:00 UTC 2024


Sebastian Humenda <shumenda at gmx.de> writes:

> Unrelated, I ran configure with `CFLAGS=-DDEBUG` and it failed. Maybe this is
> irrelevant, but below is the build output for completeness:

You uncovered a piece of code in the EcoBraille driver which really
shouldn't be used in productio. , Thats probably why it is hidden behind
a (rather unfortunately named) preprocessor define:

#ifdef DEBUG
  lockUmask();
  brl_log = open("/tmp/brllog", O_CREAT | O_WRONLY);
  unlockUmask();
                                                                                  if(brl_log < 0){
    goto failure;
  }
#endif /* DEBUG */

I vote for removing it altogether, doesn't look useful.

-- 
CYa,
  ⡍⠁⠗⠊⠕


More information about the BRLTTY mailing list