2006-01-07 Christopher Faylor * fhandler_console.cc (fhandler_console::need_invisible): Remove duplicate test. 2006-01-07 Christopher Faylor * fhandler.h (set_console_state_for_spawn): Eliminate argument from declaration. * fhandler.cc (set_console_state_for_spawn): Eliminate argument from definition. Always check for invisible console. (fhandler_console::need_invisible): Don't do anything if the windows station is already not visible. * spawn.cc (spawn_guts): Accommodate change of argument to set_console_state_for_spawn. 2006-01-05 Christopher Faylor * sigproc.cc (no_signals_available): Use existence of signal thread handle to figure out if we can actually send signals rather than relying on my_sendsig. (hwait_sig): Make static. (sigproc_init): Don't set my_sendsig to anything special. Use new global static hwait_sig. (wait_sig): Set hwait_sig to NULL when we are exiting. 2006-01-05 Christopher Faylor * include/getopt.h: Accommodate recent unfortunate newlib changes. 2006-01-05 Christopher Faylor * cygtls.cc (_cygtls::remove): Don't output debugging info if this isn't a cygwin thread. * sigproc.cc (sigproc_init): Move clearing of sync_startup here to lessen the likelihood of trying to deal with non-cygwin threads in dll_entry. * fhandler_console: Fix set_console_state_for_spawn comment. 2006-01-05 Igor Peshansky * spawn.cc (spawn_guts): Invert the argument to set_console_state_for_spawn. 2006-01-04 Christopher Faylor * fhandler_console.cc (fhandler_console::need_invisible): Only try to open "CygwinInvisible" windows station if opening of default station fails. Use CloseWindowStation to close window station handle. 2006-01-04 Christopher Faylor * fhandler_console.cc (fhandler_console::need_invisible): Open up the security of the newly created windows station. 2006-01-04 Eric Blake * path.cc (dot_special_chars): Add ", <, >, and |. 2006-01-03 Christopher Faylor * fhandler_console.cc (beep): Use MB_OK which is documented as using the default bell rather than -1 which seems to behave differently on different versions of Windows. 2006-01-03 Christopher Faylor * fhandler_process.cc (fhandler_process::readdir): Add missing argument to syscall_printf. * fhandler_console.cc (fhandler_console::need_invisible): Use made-up name for windows station rather than asking Windows to create one for us. * spawn.cc (spawn_guts): Don't mess with console if we're detaching. 2006-01-03 Christopher Faylor * dir.cc (readdir_worker): Minor code cleanup. * fhandler_console.cc (beep): Use a more Windows-generic wav file if the beep is missing. Use a more foolproof way to find out whether we should be recreating the missing key. * registry.h (reg_key::_disposition): New field. (reg_key::created): New function. * registry.cc (reg_key::reg_key): Set _disposition to zero by default. (reg_key::build_key): Fill in _disposition field. 2006-01-03 Eric Blake * dir.cc (readdir_worker): Ensure that saw_dot* flags are updated when not handling inodes. 2006-01-02 Christopher Faylor * fhandler_console.cc (beep): New function. Restores missing "Default Beep", if necessary. (fhandler_console::write_normal): Use beep(). 2006-01-02 Christopher Faylor * dcrt0.cc (_dll_crt0): Remove more leftover debugging stuff. (cygwin_dll_init): Remove unneeded initializations. Call _dll_crt0 rather than dll_crt0_1. 2006-01-02 Corinna Vinschen * syslog.cc: Include sys/un.h instead of sys/socket.h. (syslogd_inited): Convert to enum type noting the exact result of trying to connect to syslog daemon. Use this way throughout. (connect_syslogd): New static function taking over the task to connect to syslog socket. Use correct struct sockaddr_un instead of struct sockaddr. (try_connect_syslogd): Call connect_syslogd. If write fails on connection oriented socket, try to reconnect to syslog socket and try to write again. 2006-01-01 Christopher Faylor * pinfo.cc (pinfo::exit): Swap signal and normal exit value when not started from a cygwin process - just like the good-old-days of B20. 2006-01-01 Christopher Faylor * strace.cc (strace::write_childpid): Remove debugging output. 2006-01-01 Christopher Faylor * cygtls.cc (_cygtls::remove): Remove left over debugging cruft which caused this function to always return prematurely. 2006-01-01 Christopher Faylor * exceptions.cc (sigpacket::process): Pass actual reference to signal's sigaction structure to setup_handler. 2006-01-01 Christopher Faylor * exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND. * include/cygwin/signal.h: Define SA_ONESHOT and SA_NOMASK. * dcrt0.cc (get_cygwin_startup_info): Remove commented out code. 2006-01-01 Corinna Vinschen * syslog.cc (vklog): Never log kernel messages using the vsyslog interface.