[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts
From: |
Eli Zaretskii |
Subject: |
bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts |
Date: |
Sat, 09 Apr 2011 23:21:02 +0300 |
> Date: Sat, 09 Apr 2011 12:39:59 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 8435@debbugs.gnu.org
>
> As Emacs evolves, if we find that more lines of code are affected,
> then the tradeoffs will change. If that happens, it shouldn't
> be hard to come up with a doprnt replacement that uses
> vsnprintf internally and that also handles multibyte character
> truncation and non-8-bit codepoints.
I'd prefer that we do this now. Leaving the problem to lurk for
future maintainers to deal with it would mean maintenance burden
and/or subtle bugs waiting to bite.
Emacs is a large and complex program, with many areas of its code
understandable only by a tiny few, sometimes by a single individual.
Leaving such dark corners means trading somebody else's future efforts
for our current convenience. I just spent the best part of my weekend
hunting `int's that should have been EMACS_INT's (which, btw, is the
only _real_ problem with overflow that I know about), and I would hate
to leave similar problems to those who will come after us.
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, (continued)
- Message not available
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/07
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Andy Moreton, 2011/04/07
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/07
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/07
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/08
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/08
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/09
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/09
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/09
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/09
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts,
Eli Zaretskii <=
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Stefan Monnier, 2011/04/10
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/10
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Stefan Monnier, 2011/04/10
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/10
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/10
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/09
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/09
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Paul Eggert, 2011/04/08
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Daniel Colascione, 2011/04/24
- bug#8435: misuse of error ("...%d...", ...) on 64-bit hosts, Eli Zaretskii, 2011/04/25