zsh-workers
 help / color / mirror / code / Atom feed
* Linux supports ptmx, too
@ 2003-10-16 14:52 DervishD
  0 siblings, 0 replies; only message in thread
From: DervishD @ 2003-10-16 14:52 UTC (permalink / raw)
  To: Zsh Workers

    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/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-16 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 14:52 Linux supports ptmx, too DervishD

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).