2005-10-25 Joel Sherrill <joel@OARcorp.com>

* sapi/include/confdefs.h, telnetd/pty.c, telnetd/pty.h: Attempt
	to fix MAX_PTYS and provide a real configuration entry.  This should
	make telnetd some suitable for inclusion in cpukit.
This commit is contained in:
Joel Sherrill
2005-10-25 11:17:35 +00:00
parent 072e8e5d6e
commit d3d2afdfac
4 changed files with 36 additions and 20 deletions
+14
View File
@@ -103,6 +103,20 @@ uint32_t rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
((CONFIGURE_NUMBER_OF_TERMIOS_PORTS * 4) + 1)
#endif
/*
* PTYs
*/
#ifndef CONFIGURE_MAXIMUM_PTYS
#define CONFIGURE_MAXIMUM_PTYS 0
#endif
#ifdef CONFIGURE_INIT
int rtems_telnetd_maximum_ptys = CONFIGURE_MAXIMUM_PTYS;
#else
extern int rtems_telnetd_maximum_ptys;
#endif
/*
* Mount Table Configuration
*/