From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14910 invoked from network); 18 Feb 2004 10:25:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Feb 2004 10:25:07 -0000 Received: (qmail 8338 invoked by alias); 18 Feb 2004 10:24:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19435 Received: (qmail 8319 invoked from network); 18 Feb 2004 10:24:56 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 18 Feb 2004 10:24:56 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.58.19] by sunsite.dk (MessageWall 1.0.8) with SMTP; 18 Feb 2004 10:24:56 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i1IAOtv11874 for ; Wed, 18 Feb 2004 10:24:56 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Wed, 18 Feb 2004 10:24:38 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 18 Feb 2004 10:25:56 +0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: jobs not listing all commands In-reply-to: "Bart Schaefer"'s message of "Tue, 17 Feb 2004 22:14:39 GMT." <1040217221439.ZM12330@candle.brasslantern.com> Date: Wed, 18 Feb 2004 10:24:54 +0000 Message-ID: <25456.1077099894@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 18 Feb 2004 10:25:56.0102 (UTC) FILETIME=[97F46260:01C3F609] Bart Schaefer wrote: > Also, with respect to Peter's patch, I now get: > > ../../../zsh-4.0/Src/Modules/zpty.c: In function `get_pty': > ../../../zsh-4.0/Src/Modules/zpty.c:176: warning: implicit declaration of fun > ction `grantpt' > ../../../zsh-4.0/Src/Modules/zpty.c:176: warning: implicit declaration of fun > ction `unlockpt' > ../../../zsh-4.0/Src/Modules/zpty.c:176: warning: implicit declaration of fun > ction `ptsname' > ../../../zsh-4.0/Src/Modules/zpty.c:176: warning: assignment makes pointer fr > om integer without a cast > > And during "make test", the completion tests hang forever in comptestinit. > I have to manually #undef HAVE_DEV_PTMX in config.h (I have the device but > not the library routines for manipulating it, apparently). It's probably a case of missing headers. It wouldn't link, or would fail to load with an error message, if you didn't have the functions; there's no obvious way it could hang. In RedHat 9 and Solaris 8 the headers are in stdlib.h (and they're certainly to hand in the other two Linux systems I tried at home). I'm not sure how to test for this. Maybe it would be enough to try compiling and linking a programme with grantpt etc., since I think configure is sensitive to compiler warnings. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************