diff options
author | Christopher Faylor <me@cgf.cx> | 2008-01-06 21:31:35 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-01-06 21:31:35 +0300 |
commit | eaf70af08a7d71178a15b949613e53bdf1ff539a (patch) | |
tree | dfc262781e263d9b9d26125c776c350caefdee5e /winsup/cygwin/include | |
parent | 277723722fd1f69cdaa1d660d6c6284b02a646d7 (diff) |
* include/limits.h (TTY_NAME_MAX): Increase size to same as linux to allow for
(at least) null terminating byte for "/dev/console".
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/limits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h index 6dcf9caa1..7d829db72 100644 --- a/winsup/cygwin/include/limits.h +++ b/winsup/cygwin/include/limits.h @@ -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 |