From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#18237: Small fix for MSDOS Date: Sun, 10 Aug 2014 17:40:24 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c34e0652f95a0500491862 X-Trace: ger.gmane.org 1407688879 11487 80.91.229.3 (10 Aug 2014 16:41:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2014 16:41:19 +0000 (UTC) To: 18237@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 10 18:41:11 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XGWBD-0005dS-7a for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Aug 2014 18:41:11 +0200 Original-Received: from localhost ([::1]:60317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGWBC-000761-QV for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Aug 2014 12:41:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGWB8-00075R-2I for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2014 12:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGWB6-0000aa-Uk for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2014 12:41:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGWB6-0000aV-Re for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2014 12:41:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XGWB6-0007XB-1l for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2014 12:41:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Aug 2014 16:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18237 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.140768884728930 (code B ref -1); Sun, 10 Aug 2014 16:41:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Aug 2014 16:40:47 +0000 Original-Received: from localhost ([127.0.0.1]:37882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGWAn-0007WX-Nn for submit@debbugs.gnu.org; Sun, 10 Aug 2014 12:40:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58848) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XGWAf-0007WC-CN for submit@debbugs.gnu.org; Sun, 10 Aug 2014 12:40:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGWAY-0000CH-IW for submit@debbugs.gnu.org; Sun, 10 Aug 2014 12:40:31 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGWAY-0000CD-FQ for submit@debbugs.gnu.org; Sun, 10 Aug 2014 12:40:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGWAW-000741-RC for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2014 12:40:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGWAV-0000Bp-33 for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2014 12:40:28 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGWAU-0000Bl-Us for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2014 12:40:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56485) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1XGWAU-0007LY-Jf for bug-emacs@gnu.org; Sun, 10 Aug 2014 12:40:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XGWAT-0000BZ-J4 for bug-emacs@gnu.org; Sun, 10 Aug 2014 12:40:26 -0400 Original-Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:46490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XGWAT-0000BQ-Aj for bug-emacs@gnu.org; Sun, 10 Aug 2014 12:40:25 -0400 Original-Received: by mail-lb0-f176.google.com with SMTP id u10so5102473lbd.21 for ; Sun, 10 Aug 2014 09:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=qQB+bqy53ELzLFPbJVNh4jLAuHNzbrRiZlwlNEF2rjM=; b=L9p+uVeTSQE1Pojq1s/ciLqzpHfGfn9LOa7ATMdfg88ejjuWLWPuwyK/NYwWiRHoH0 di0Tr5jBc6FOQ//IWtMJYBL4p7ut/06FIReAMnK3BAbhTgy+tKLaFBqsIl9LJceW95+m vGufaPIvKtFSc6fRKzE3IZjRUw9hhmvbp38nk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=qQB+bqy53ELzLFPbJVNh4jLAuHNzbrRiZlwlNEF2rjM=; b=ZedGrZNeenv7GL0gpgPDBuixGFalG3IXdtx43TwlfqCnAfP4VYfr+oAstgPYSAuXmN 7tN9xQMzQeES4VzUQvHrFJRZ4yMqkD+X1yRIjEl/WC+BqbUS1f5IHoZ9Yse4FrH80PXn cOytxtoKoOO81cQbo3xB2TXNaOymY2mqB5RbCnHtCxP0b3E/olM4io6clkqrL/qKq5Sr WUU8LDEIZPOhNm6/XTZnXJE7etO2D2ugGiQsw/4d1Z0NrAc/GofFQuOSNqjoWyC/84X2 9Mw4lSR/LDL0yYWtTFobVOUdkXmRCGEDzpDTpI5z2Vs4DiiST6tuj0VAoFG6fgmzVXF8 +fpw== X-Gm-Message-State: ALoCoQlhDP0nZ9ounqmPyvJgs8BxANOlcWb5C7u2C5loQ86WMIZD/BIzy7dA5l19Dxz7ECpdkbn1 X-Received: by 10.152.87.229 with SMTP id bb5mr3240334lab.75.1407688824249; Sun, 10 Aug 2014 09:40:24 -0700 (PDT) Original-Received: by 10.152.246.10 with HTTP; Sun, 10 Aug 2014 09:40:24 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92376 Archived-At: --001a11c34e0652f95a0500491862 Content-Type: text/plain; charset=UTF-8 The following patch helps in the case when a sockets library is installed; in my case, ls080b.zip from the DJGPP site: === modified file 'src/msdos.c' --- src/msdos.c 2014-08-09 16:12:33 +0000 +++ src/msdos.c 2014-08-09 21:51:56 +0000 @@ -4016,7 +4017,7 @@ #endif -#ifndef HAVE_SELECT +#ifndef HAVE_SYS_SELECT_H #include "sysselect.h" /* This yields the rest of the current time slice to the task manager. The reasoning is that having select doesn't imply having the sys/select.h functionality that the following code emulates. Does that look OK to install? -- http://rrt.sc3d.org --001a11c34e0652f95a0500491862 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The following patch helps in the case when a soc= kets library is installed; in my case, ls080b.zip from the DJGPP site:
<= br>=3D=3D=3D modified file 'src/msdos.c'
--- src/msdos.c=C2=A0= =C2=A0=C2=A0 2014-08-09 16:12:33 +0000
+++ src/msdos.c=C2=A0=C2=A0=C2=A0 2014-08-09 21:51:56 +0000
@@ -4016,7 += 4017,7 @@
=C2=A0#endif
=C2=A0
=C2=A0=0C
-#ifndef HAVE_SELECT+#ifndef HAVE_SYS_SELECT_H
=C2=A0#include "sysselect.h"
= =C2=A0
=C2=A0/* This yields the rest of the current time slice to the ta= sk manager.


The reasoning is that having select doesn't imply having = the sys/select.h functionality that the following code emulates.

Does that look OK to install?
--001a11c34e0652f95a0500491862--