* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for

(at least) null terminating byte for "/dev/console".
This commit is contained in:
Christopher Faylor 2008-01-06 18:31:35 +00:00
parent 277723722f
commit eaf70af08a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to
allow for (at least) null terminating byte for "/dev/console".
2008-01-01 Christopher Faylor <me+cygwin@cgf.cx>
* tty.cc: Update copyright.

View File

@ -289,7 +289,7 @@ details. */
/* Maximum number of characters in a tty name. */
#undef TTY_NAME_MAX
#define TTY_NAME_MAX 12
#define TTY_NAME_MAX 32
/* Maximum number of bytes supported for the name of a timezone (not of the TZ variable). Not implemented. */
#undef TZNAME_MAX