jmsellens@watdragon.waterloo.edu (11/15/88)
From: "John M. Sellens" <jmsellens>
X Window System Bug Report
xbugs@expo.lcs.mit.edu
VERSION:
R3
CLIENT MACHINE and OPERATING SYSTEM:
Any
DISPLAY:
Any
WINDOW MANAGER:
Any
AREA:
Xlib
SYNOPSIS:
XOpenDisplay() prints error messages without identifying the source
of them.
DESCRIPTION:
XOpenDisplay() prints error messages without including the name of
the program generating the errors. This is bad practice, and makes
it difficult to tell where your errors are coming from.
REPEAT BY:
Inspection of lib/X/XOpenDis.c
SAMPLE FIX:
?? Perhaps a global variable that is required to contain the calling
program's name? Perhaps there needs to be an error handler for this
kind of error, and command line errors etc. These aren't the kinds
of things that the two default error handlers would be expected to
handle.