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.