* 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:
		
							parent
							
								
									277723722f
								
							
						
					
					
						commit
						eaf70af08a
					
				| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue