NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xsrc/39957: native xorg requires COMPAT_BSDPTY



On Nov 19,  1:05pm, prlw1%cam.ac.uk@localhost (prlw1%cam.ac.uk@localhost) wrote:
-- Subject: xsrc/39957: native xorg requires COMPAT_BSDPTY

| >Number:         39957
| >Category:       xsrc
| >Synopsis:       native xorg requires COMPAT_BSDPTY
| >Confidential:   no
| >Severity:       non-critical
| >Priority:       low
| >Responsible:    xsrc-manager
| >State:          open
| >Class:          sw-bug
| >Submitter-Id:   net
| >Arrival-Date:   Wed Nov 19 13:05:00 +0000 2008
| >Originator:     Patrick Welche
| >Release:        NetBSD 5.99.02
| >Organization:
| >Environment:
| NetBSD-5.99.02/i386 of 18 Nov 2008
| >Description:
| Install and start native xorg, with a kernel compiled without
| COMPAT_BSDPTY. .xsession-errors will show
| 
| xterm: Error 32, errno 2: No such file or directory
| Reason: get_pty: not enough ptys
| 
| This wasn't the case with native xfree86.
| >How-To-Repeat:
| See above.
| >Fix:
| The work around is trivial, just add COMPAT_BSDPTY (which is in GENERIC
| anyway). I don't know what the real fix is, and am just noting the
| change in behaviour.

It should be using openpty() and __NetBSD__ is in the list of OS's to use
openpty() in main.c. Something is fishy.

christos



Home | Main Index | Thread Index | Old Index