Add a TTY_PATH_MAX limit, set to 256, and reduce the size of the ttyname
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 23 Aug 2005 17:44:24 +0000 (17:44 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 23 Aug 2005 17:44:24 +0000 (17:44 +0000)
commita2e28608e6bce457f1172cb5700c1a11828de85a
tree47d922f752a065ac19a32c2e0bc730503ca1026a
parentadbdd7b82cf54469f54b5f4b7891c9241c408a02
Add a TTY_PATH_MAX limit, set to 256, and reduce the size of the ttyname
static buffer from 1024 to a more reasonable TTY_PATH_MAX.
lib/libc/gen/ttyname.c
sys/sys/syslimits.h