Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* bug in ServerVendor()
@ 1993-09-16  1:26 Eiji Hirai
  0 siblings, 0 replies; only message in thread
From: Eiji Hirai @ 1993-09-16  1:26 UTC (permalink / raw)


: 9:25pm,gingko,[~]% cat /etc/motd
: DEC OSF/1 V1.3 (Rev. 111); Sat Sep 04 01:48:51 EDT 1993 
: DEC OSF/1 V1.3 Worksystem Software (Rev. 111)
: 9:25pm,gingko,[~]% 

On DEC OSF/1 1.3 using standard Xdec, the ServerVendor() call returns

	"DECWINDOWS Digital Equipment Corporation DEC OSF/1 V1.2"

which looks incorrect.  Shouldn't it say "... OSF/1 V1.3" instead?  Reproduce
by compiling and running the code below.

/* compile with "cc -s -o bogus bogus.c -lX11" */

#include <X11/Xlib.h>

int	main() {

	Display	*dinfo;

	dinfo = XOpenDisplay(NULL);
	XCloseDisplay(dinfo);
	printf ("\"%s\"\n", ServerVendor(dinfo));
	return (0);
}

-- 
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA

"I post, therefore I am." -Rene Descartes on Usenet


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-09-16  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-16  1:26 bug in ServerVendor() Eiji Hirai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox