From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Bug in x-server-version (w32) Date: Fri, 29 Oct 2004 09:13:25 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <4181ED95.2000908@swipnet.se> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099034112 27061 80.91.229.6 (29 Oct 2004 07:15:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2004 07:15:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 29 09:15:02 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CNQyU-0008Sc-00 for ; Fri, 29 Oct 2004 09:15:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNR6K-00008y-3y for ged-emacs-devel@m.gmane.org; Fri, 29 Oct 2004 03:23:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNR6B-000073-4S for emacs-devel@gnu.org; Fri, 29 Oct 2004 03:22:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNR69-000055-Sc for emacs-devel@gnu.org; Fri, 29 Oct 2004 03:22:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNR69-0008W2-Kr for emacs-devel@gnu.org; Fri, 29 Oct 2004 03:22:57 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNQxC-0002ST-Dk; Fri, 29 Oct 2004 03:13:42 -0400 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep02.bredband.com with ESMTP id <20041029071341.SHVU44.mxfep02.bredband.com@coolsville.localdomain>; Fri, 29 Oct 2004 09:13:41 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040916 X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29133 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29133 Richard Stallman wrote: > x-server-version is supposed to return the version numbers > of the X protocol, plus a version number for the X server. > I copied that info from the doc string in xfns.c to that > in w32fns.c. But I see the code doesn't do the right job. > It seems to return the version numbers of Windows rather than > that of the X protocol. > > Could someone fix that code? FWIW, the Mac OSX code for a carbon (non-X) build also returns the version of the OS. As there is no X server involved both for W32 and OSX, I don't know what a fix would be. Jan D.