Anonymous | Login | Signup for a new account | 11-10-2008 11:28 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001879 | [uClibc] Other | minor | always | 01-04-08 07:08 | 01-04-08 22:08 | ||||
Reporter | michael_d | View Status | public | ||||||
Assigned To | uClibc | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0001879: ptsname() does not work in the no-TIOCGPTN case | ||||||||
Description |
When no TIOCGPTN definition is present in the kernel headers, the library's ptsname() function will not work. The libc/stdlib/ptsname_r.c file is the problem. This file includes a complicated nest of #if directives. One of these #if's has the opposite sense from what is required. Simply removing one character allows PTY-using programs such as "script" to work. I've done that in the attached patch. Note: to get the PTY-related functions working fully on an old kernel, it is also necessary to supply a /sbin/pt_chown program. |
||||||||
Additional Information | |||||||||
Attached Files | uClibc-0.9.29-ptyfix.diff [^] (439 bytes) 01-04-08 07:08 | ||||||||
|
Notes | |
(0003389) vapier 01-04-08 22:08 |
looks like in the process of adding control over the unix pty options, this incorrect ifdef was introduced but never noticed thanks, ive applied your fix to svn |
Copyright © 2000 - 2006 Mantis Group |