newlib/winsup
Christopher Faylor 6ae28c2263 * dtable.cc (dtable::delete_archetype): Improve debugging output.
(dtable::init_std_file_from_handle): Close console handle early, before
initialization.  Build up openflags for passing to open_setup, just to be safe.
(last_tty_dev): New variable.
(fh_last_tty_dev): New macro.
(fh_alloc): Try again to keep track of previously opened tty, this time by just
saving the device and using that to potentially open an archetype.  Avoid
setting the "/dev/tty" name if the creation of the fhandler failed.
(build_fh_pc): Remove unused second argument.  Reorganize how and where the
name is set.  Set last_tty_dev as appropriate.  Avoid a NULL dereference in a
debug printf.
* dtable.h (build_fh_pc): Reflect removal of second parameter.
* fhandler.cc (fhandler_base::reset): Use new '<<' operator to copy pc since it
preserves any potentially previously set name.
(fhandler_base::set_name): Ditto.
* fhandler.h (fhandler_*::clone): Throughout use ccalloc to allocate new
fhandler, primarily to make sure that pc field is properly zeroed.
(fhandler_termios::last): Eliminate.
(fhandler_termios): Remove setting of last.
(fhandler_base::~fhandler_termios): Ditto.
* fhandler_console.cc (fhandler_console::open): Don't make decisions about
opening close-on-exec handles here since it makes no sense for archetypes.
(fhandler_console::init): Assume that input handle has already been opened.
* fhandler_termios.cc (fhandler_termios::last): Delete.
* path.h (path_conv::eq_worker): New function.  Move bulk of operator = here.
(operator <<): New function.
(operator =): Use eq_worker to perform old functionality.
2011-10-22 16:26:30 +00:00
..
cygserver * cygserver.cc (print_usage): Align output to utilities in utils 2011-10-10 15:48:54 +00:00
cygwin * dtable.cc (dtable::delete_archetype): Improve debugging output. 2011-10-22 16:26:30 +00:00
doc * cygserver.sgml: Change -v to -V, same as in sources. 2011-10-10 15:52:48 +00:00
lsaauth * Makefile.in: Don't override CC. 2011-05-10 10:06:51 +00:00
mingw Rationalise structure layout; add dirent.d_type field. 2011-10-01 20:18:10 +00:00
testsuite
utils * cygcheck.cc (dump_sysinfo): Add Windows 8 recognition. Note as 2011-10-13 17:50:48 +00:00
w32api * include/winuser.h: Ad missing MAPVK_xxx definitions. 2011-08-19 11:58:05 +00:00
acinclude.m4
aclocal.m4
ChangeLog * COPYING: Replace with the GPLv3 definition. 2011-04-19 16:52:51 +00:00
configure
configure.in
COPYING * COPYING: Replace with the GPLv3 definition. 2011-04-19 16:52:51 +00:00
CYGWIN_LICENSE * COPYING: Replace with the GPLv3 definition. 2011-04-19 16:52:51 +00:00
Makefile.common
Makefile.in
README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin