From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20222 invoked from network); 16 Oct 2003 15:49:10 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Oct 2003 15:49:10 -0000 Received: (qmail 27202 invoked by alias); 16 Oct 2003 15:49:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19196 Received: (qmail 27167 invoked from network); 16 Oct 2003 15:49:04 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 16 Oct 2003 15:49:04 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.193.203.32] by sunsite.dk (MessageWall 1.0.8) with SMTP; 16 Oct 2003 15:49:4 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id h9GFn3S07069 for ; Thu, 16 Oct 2003 17:49:03 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1AA9Uc-0000dD-00>; Thu, 16 Oct 2003 16:52:46 +0200 Date: Thu, 16 Oct 2003 16:52:46 +0200 From: DervishD To: Zsh Workers Subject: Linux supports ptmx, too Message-ID: <20031016145246.GA2415@DervishD> Mail-Followup-To: Zsh Workers Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi all :) In Src/Modules/zpty.c you assume that /dev/ptmx is available only if __SVR4, __sinix or __CYGWIN__ is defined. It's available too in recent Linux. More specifically, in recent glibc's, so you should add a test for __GLIBC__ , being __GLIBC__ at least 2, and __GLIBC_MINOR__ at least 1. Currently, under my Linux, which supports UNIX98 pseudoterminals, /dev/pty?? is used instead :(((( And fails since I don't have /dev/pty nodes O:))) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/