summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/localtime.cc
Commit message (Collapse)AuthorAgeFilesLines
* * localtime.cc (localtime_r): Call tzset.Christopher Faylor2004-02-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Make version.h/cygwin.din version check a warning since it is not foolproof. * cygheap.h (CYGHEAPSIZE): Bump size down. * cygtls.h (_threadinfo::stacklock): New element. (_threadinfo::pop): Make regparm. (_threadinfo::lock): New function. (_threadinfo::unlock): New function. * cygtls.cc (_threadinfo::push): Wait for a lock on the stack before performing the operation. (_threadinfo::pop): Move to another file. * cygwin.din: More SIGFE changes. * exceptions.cc (try_to_debug): Always display messages on console. (handle_exceptions): Unwind stack only when actually about to call sig_send. (setup_handler): Lock stack prior to performing any operations. * gendef (_sigfe): Ditto. (_sigbe): Ditto. (_threadinfo::pop): Ditto. Move here. * gen_tlsoffsets: Generate positive offsets. * tlsoffsets.h: Regenerate.
* Change use of BOOL, TRUE, FALSE to bool, true, false, as appropriate,Christopher Faylor2003-12-071-32/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | throughout. * tty.cc (tty::common_init): Remove call to SetKernelObjectSecurity and edit some comments. * cygheap.h (init_cygheap::ctty): Add new element. * devices.in (device::parse): Remove special handling for /dev/tty. * devices.cc: Regenerate. * dtable.cc (build_fh_pc): Don't reset /dev/tty device. Let the device opener do that. * fhandler_termios.cc (tty_min::set_ctty): Redefine to _pinfo class. * fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Avoid setting noninherit flag for ctty. * tty.h: Move BOOLs to bools. (tty_min::set_ctty): Redeclare to _pinfo class. * pinfo.cc (_pinfo::set_ctty): Define new function based on tty_min::set_ctty. Change first argument from tty number to tty_min class. * pinfo.h (_pinfo::set_ctty): Declare. * fhandler_console.cc (fhandler_console::get_tty_stuff): Reflect move of set_ctty to _pinfo class. * fhandler_tty.cc (fhandler_tty_slave::open): Treat FH_TTY specially. Use saved cygheap value if it exists. Otherwise convert to real device and save on first time open. (fhandler_tty_common::dup): Potentially set controlling tty if duping a slave tty. * syscalls.cc (setsid): Close controlling tty in cygheap. * tty.cc: Change some BOOLs to bools.
* * include/tzfile.h: Remove duplicate definition of TM_SUNDAY.Corinna Vinschen2003-12-011-1/+1
| | | | | * localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used by the tzcode package.
* 2002-12-19 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2002-12-201-1/+3
| | | | | * localtime.cc (tzsetwall): Set lcl_is_set and lcl_TZname in the Cygwin specific part of the routine.
* More GNUify non-GNU formatted functions calls throughout.Christopher Faylor2002-09-231-3/+3
|
* * localtime.cc (tzsetwall): Use wildabbr if generated timezone nameCorinna Vinschen2002-05-071-7/+7
| | | | length < 3.
* Fix up comments.Christopher Faylor2001-12-191-3/+0
|
* * autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.Christopher Faylor2001-10-131-1/+1
|
* Move appropriate variables to NO_COPY segment, throughout.Christopher Faylor2001-09-061-2/+2
|
* Remove initialization of static or global values to zero, throughout. ThisChristopher Faylor2001-09-061-3/+3
| | | | | | just needlessly grows the size of the DLL. * tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for thread safety.
* * localtime.c: Changed whole file to become C++ clean. Rename toCorinna Vinschen2001-07-251-0/+2163
localtime.cc. * localtime.cc (tzload): Preserve errno.