From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ecafa1ea67e23597,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-09-15 18:46:34 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!psuvax1!news.cc.swarthmore.edu!hirai From: hirai@cc.swarthmore.edu (Eiji Hirai) Subject: bug in ServerVendor() Message-ID: Sender: news@cc.swarthmore.edu (USENET News System) Nntp-Posting-Host: gingko.cc.swarthmore.edu Organization: Computing Center, Swarthmore College, Swarthmore, PA, USA Date: Thu, 16 Sep 1993 01:26:53 GMT : 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 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