Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: jobs not listing all commands
- X-seq: zsh-workers 19435
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: jobs not listing all commands
- Date: Wed, 18 Feb 2004 10:24:54 +0000
- In-reply-to: "Bart Schaefer"'s message of "Tue, 17 Feb 2004 22:14:39 GMT." <1040217221439.ZM12330@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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 <pws@xxxxxxx> 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
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author