This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: pty problems under glibc 2.0.98
- To: howarth@bromo.med.uc.edu (Jack Howarth)
- Subject: Re: pty problems under glibc 2.0.98
- From: hjl@lucon.org (H.J. Lu)
- Date: Thu, 22 Oct 1998 07:04:24 -0700 (PDT)
- Cc: libc-alpha@cygnus.com
>
> Hello,
> On linuxppc running Linux 2.1.125 built with egcs 1.1b
> and glibc 2.0.98, I am seeing an interesting problem that
> I think should be checked on other platforms running
> glibc 2.0.98. If I build tcltk 8.0.3 (probably any 8.0.x
> will do) and execute the make check in the expect build
> directory I get an interesting error about no free ptys.
> One can also create the error from within the tests directory
> for the expect source code by executing expect and then
> at the expect prompt typing
>
> expect1.4> source all
>
> The result is as follows...
>
> cat.test
>
>
> ==== cat-1.1 basic cat operation
> ==== Contents of test case:
>
> exp_spawn cat -u
> exp_send "\r"
> set timeout 10
> expect \r {set x 1} timeout {set x 0}
> exp_close
> exp_wait
> set x
>
> ==== Test generated error:
> The system has no more ptys. Ask your system administrator to create more.
> expect.test
> The system has no more ptys. Ask your system administrator to create more.
Please make sure you see
# ls -l /usr/libexec/pt_chown
-rwsr-xr-x 1 root root 33738 Oct 21 21:35 /usr/libexec/pt_chown
^^^^^^^^^^^^^^^^^^^^^^^^^^^
H.J.