[Bug 268076] dc(1): crash on window size change

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Nov 2022 20:45:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268076

--- Comment #6 from Gavin D. Howard <gavin.d.howard@gmail.com> ---
I have pushed three more commits.

The first (https://git.yzena.com/gavin/bc/commit/ab3c543ffda9096) should fix
the spurious "ready for more input" problem.

The second is just a style fix.

The third addresses your problem with obscuring errors.

I now understand what you meant. I'm sorry for not understanding what you
meant.

(And I'm not insulted; don't worry.)

Unfortunately, I couldn't do exactly as you suggested because that error will
still be seen by users, so i18n goodies need to stay.

What I *did* do was make it so debug builds will include the C source file and
line for the error.

This will not solve the problem for you, however. I looked at the Makefile for
my bc in FreeBSD
(https://github.com/freebsd/freebsd-src/blob/78bc019d220e05abb5b12f678f9b4a847019bbcc/usr.bin/gh-bc/Makefile),
and it specifically *unsets* debug mode.

Whether FreeBSD uses a debug build on my bc is outside of my pay grade, but
that discussion is certainly something that still belongs here in the FreeBSD
bug tracker. Stefan Esser (@se) would be the one to make that decision. (I'm
adding him to this bug.)

(And I'm sorry that you couldn't register at git.yzena.com; I had so much spam
I had to disable new accounts not made by me.)

But regardless, the latest master of my code will let you make a debug build
with C source and line information. I hope that helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.