#1313 closed defect (fixed)

"rtems_pty_maximum_ptys" not initialized

Reported by: Gene Smith Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: score Version: 4.8
Severity: normal Keywords:
Cc: Blocked By:


In my init() function I set CONFIGURE_MAXIMUM_PTYS to 2. But I get a
message printed saying:
DEVICE: /dev/pty0../dev/ptyFFFFFFFF (0)pseudo-terminals registered.

It appears that rtems_pty_maximum_ptys is never intialized so stays at

  1. Instead, rtems_telnetd_maximum_pty is intialized to

CONFIGURE_MAXIMUM_PTY in cpukit/sapi/include/confdefs.h but is never used.

cpukit/ChangeLog-pre2007 indicates that rtems_telnetd_maximum_pty has
been renamed to rtems_pty_maximum_pty. It looks like the rename was
missed in confdefs.h.

This is with 4.8.0. Head cvs version of confdefs.h looks the same.

diff to confdefs.h attached (based on 4.8.0 version).

Attachments (1)

diff.txt (379 bytes) - added by Gene Smith on Sep 15, 2008 at 4:55:24 PM.
diff to confdefs.h

Download all attachments as: .zip

Change History (2)

Changed on Sep 15, 2008 at 4:55:24 PM by Gene Smith

Attachment: diff.txt added

diff to confdefs.h

comment:1 Changed on Sep 16, 2008 at 4:15:58 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch committed to 4.7, 4.8, 4.9, and CVS head. Thanks.

Note: See TracTickets for help on using tickets.