Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hirai@cc.swarthmore.edu (Eiji Hirai)
Subject: bug in ServerVendor()
Date: Thu, 16 Sep 1993 01:26:53 GMT	[thread overview]
Message-ID: <CDFAou.Ltz@cc.swarthmore.edu> (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


                 reply	other threads:[~1993-09-16  1:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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