zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: jobs not listing all commands
Date: Wed, 18 Feb 2004 10:24:54 +0000	[thread overview]
Message-ID: <25456.1077099894@csr.com> (raw)
In-Reply-To: "Bart Schaefer"'s message of "Tue, 17 Feb 2004 22:14:39 GMT." <1040217221439.ZM12330@candle.brasslantern.com>

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@csr.com>                  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
**********************************************************************


  parent reply	other threads:[~2004-02-18 10:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17  7:58 Felix Rosencrantz
2004-02-17 10:41 ` Peter Stephenson
2004-02-17 22:14 ` Bart Schaefer
2004-02-18  0:25   ` James Devenish
2004-02-18  0:41     ` Wayne Davison
2004-02-18  6:02     ` Bart Schaefer
2004-02-18 10:24   ` Peter Stephenson [this message]
2004-02-18 17:47     ` Bart Schaefer
2004-02-18 22:02       ` Peter Stephenson
2004-02-20 15:21         ` PATCH: ptmx part 2 Peter Stephenson
2004-02-19 15:22   ` jobs not listing all commands Felix Rosencrantz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25456.1077099894@csr.com \
    --to=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).