This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Joel Sherrill wrote:
Sebastian Huber wrote:
Hi,I don't disagree that this is a good idea but neither method
the two functions ttyname() and ttyname_r() are currently defined in one file
libc/unix/ttyname.c
The ttyname() function needs 1030 bytes of data (with common _PATH_DEV and MAXNAMLEN values). This is quite much if you have a system with a small memory space. The file should be split up into ttyname.c and ttyname_r.c to avoid this memory requirement if you only use ttyname_r().
shows up in the RTEMS minimum, hello, or ticker sample.
What in RTEMS is pulling it into your application?
It is the telnet demon.
OK. That is pretty far above a minimum configuration but unused code is unused code. It should be split.
-- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |