Differences between 20080101 and 20080112 diff -p -N -d -r -U2 winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/fhandler.h winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/fhandler.h --- winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/fhandler.h 2007-12-28 02:09:09.000000000 +0000 +++ winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/fhandler.h 2008-01-12 19:52:28.000000000 +0000 @@ -2,5 +2,5 @@ Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007 Red Hat, Inc. + 2005, 2006, 2007, 2008 Red Hat, Inc. This file is part of Cygwin. @@ -330,5 +330,5 @@ class fhandler_base virtual int tcsetpgrp (const pid_t pid); virtual int tcgetpgrp (); - virtual int is_tty () { return 0; } + virtual bool is_tty () const { return false; } virtual bool isdevice () { return true; } virtual bool isfifo () { return false; } @@ -372,5 +372,5 @@ class fhandler_base virtual void rewinddir (DIR *); virtual int closedir (DIR *); - virtual bool is_slow () {return 0;} + virtual bool is_slow () {return false;} bool is_auto_device () {return isdevice () && !dev ().isfs ();} bool is_fs_special () {return pc.is_fs_special ();} @@ -521,5 +521,5 @@ class fhandler_socket: public fhandler_b int __stdcall facl (int, int, __acl32 *) __attribute__ ((regparm (3))); int __stdcall link (const char *) __attribute__ ((regparm (2))); - bool is_slow () {return 1;} + bool is_slow () {return true;} }; @@ -760,5 +760,5 @@ class fhandler_serial: public fhandler_b _off64_t lseek (_off64_t, int) { return 0; } int tcflush (int); - int is_tty () { return 1; } + bool is_tty () const { return true; } void fixup_after_fork (HANDLE parent); void fixup_after_exec (); @@ -772,5 +772,5 @@ class fhandler_serial: public fhandler_b select_record *select_write (select_record *s); select_record *select_except (select_record *s); - bool is_slow () {return 1;} + bool is_slow () {return true;} }; @@ -800,5 +800,5 @@ class fhandler_termios: public fhandler_ void set_output_handle (HANDLE h) { output_handle = h; } void tcinit (tty_min *this_tc, bool force = false); - virtual int is_tty () { return 1; } + bool is_tty () const { return true; } int tcgetpgrp (); int tcsetpgrp (int pid); @@ -947,5 +947,5 @@ class fhandler_console: public fhandler_ void send_winch_maybe (); static tty_min *get_tty_stuff (int); - bool is_slow () {return 1;} + bool is_slow () {return true;} static bool need_invisible (); static bool has_a () {return !invisible_console;} @@ -982,5 +982,5 @@ class fhandler_tty_common: public fhandl select_record *select_write (select_record *s); select_record *select_except (select_record *s); - bool is_slow () {return 1;} + bool is_slow () {return true;} }; @@ -1055,5 +1055,5 @@ class fhandler_tty_master: public fhandl int init_console (); void set_winsize (bool); - bool is_slow () {return 1;} + bool is_slow () {return true;} }; @@ -1170,5 +1170,5 @@ class fhandler_windows: public fhandler_ select_record *select_write (select_record *s); select_record *select_except (select_record *s); - bool is_slow () {return 1;} + bool is_slow () {return true;} }; diff -p -N -d -r -U2 winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/include/limits.h winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/include/limits.h --- winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/include/limits.h 2007-11-08 14:24:01.000000000 +0000 +++ winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/include/limits.h 2008-01-12 19:52:28.000000000 +0000 @@ -1,5 +1,6 @@ /* limits.h - Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. + Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008 Red Hat, Inc. This file is part of Cygwin. @@ -290,5 +291,5 @@ 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. */ diff -p -N -d -r -U2 winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/pipe.cc winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/pipe.cc --- winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/pipe.cc 2008-01-01 18:51:57.000000000 +0000 +++ winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/pipe.cc 2008-01-12 19:52:28.000000000 +0000 @@ -1,6 +1,6 @@ /* pipe.cc: pipe for Cygwin. - Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Hat, Inc. + Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008 Hat, Inc. This file is part of Cygwin. diff -p -N -d -r -U2 winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/tty.cc winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/tty.cc --- winsup-src-20080101/cygwin-snapshot-20080101-1/winsup/cygwin/tty.cc 2008-01-01 18:51:57.000000000 +0000 +++ winsup-src-20080112/cygwin-snapshot-20080112-1/winsup/cygwin/tty.cc 2008-01-12 19:52:28.000000000 +0000 @@ -1,5 +1,6 @@ /* tty.cc - Copyright 1997, 1998, 2000, 2001, 2002 Red Hat, Inc. + Copyright 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008 + Red Hat, Inc. This file is part of Cygwin.