[5542] in Athena Bugs
rt 7.0F: _XPrintDefaultError is static
daemon@ATHENA.MIT.EDU (Barr3y Jaspan)
Sun Jul 15 18:17:35 1990
To: bugs@ATHENA.MIT.EDU
Date: Sun, 15 Jul 90 18:17:20 EDT
From: Barr3y Jaspan <bjaspan@ATHENA.MIT.EDU>
(Note: This really ought to go to the X Consortium, but I'm sending it
to bugs because that's what we non-QA people have always been told to
do.. :-)
System name: steve-dallas
Type and version: RTPC-ROMPC 7.0F
Display type: apa16
What were you trying to do?
Change the default Xlib error handler.
What's wrong:
In previous versions of X, _XPrintDefaultError was callable from
outside the library. This made it very easy for programmers to change
the default error handler to print the same protocol error message but
do something other than exiting with status 1 (like, for example,
dumping core so that useful debugging could take place).
In R4, however, _XPrintDefaultError is static, and cannot be called
from a user-written error handler. I consider this a bug in the
library.
What should have happened:
(1) The function should not be static.
(2) This report should be forwared to the X Consortium.