From: noer AT cygnus DOT com (Geoffrey Noer) Subject: winsup snapshot 981111 11 Nov 1998 23:47:21 -0800 Message-ID: <19981111231958.36866.cygnus.cygwin32.developers@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: cygwin32-developers AT cygnus DOT com Hi all, I've made a new winsup snapshot available. This is *not* ready for a general release but it's good to have the latest stuff in your hands. By my observations, Windows 9x seems to behave better for me now but I get much worse behavior under NT. *sigh* Also please note that we still have some patches in the queue, in particular a couple more from Corinna Vinschen. Getting an update to b20 that makes things stable again is our first priority but we'll try to get to them soon... ChangeLog entries since b20 follow. -- Geoffrey Noer noer AT cygnus DOT com --------------------------> snip <---------------------------- Wed Nov 11 17:16:17 1998 Christopher Faylor * configure.in: Add --enable options for various cygwin defines including preliminary thread-safe defines. * configure: Regenerate * Makefile.in: Honor new --enable options. * glob.h: Move BSD defines to sys/cdefs.h. * sys/cdefs.h: Move __P definition here. Wed Nov 11 14:00:45 1998 DJ Delorie * cygwin.din (getpwnam): remove duplicates Tue Nov 10 18:27:09 1998 Geoffrey Noer * utils/aclocal.m4: regenerate with aclocal * utils/configure.in: don't call AM_CYGWIN32 * utils/configure: regenerate Tue Nov 10 15:56:03 1998 Geoffrey Noer patch from Gary V. Vaughan : * dlfcn.cc (dlopen): return an introspective handle to the current module if name arg is NULL. The Single UNIX Specification, Version 2 has this as a requirement. Mon Nov 9 16:29:27 1998 Geoffrey Noer * errno.cc (strerror): all errnos in newlib/libc/include/sys/errno.h are now listed here. Mon Nov 9 16:29:27 1998 Geoffrey Noer * include/cygwin/version.h: up DLL version and API minor version to mark following change. patch from Mumit Khan : * cygwin.din: add exports for some of the newlib bessel functions (j1, jn, y1, yn). Mon Nov 9 15:10:06 1998 Geoffrey Noer * syscalls.cc (_link): rewrite FIXME. Mon Nov 9 14:51:03 1998 Geoffrey Noer * errno.cc (strerror): add string for EDEADLOCK. patch from Corinna Vinschen : * errno.cc (errmap[]): add END_OF_MEDIA and additional Win32 error codes. Sun Nov 8 21:28:01 1998 Christopher Faylor * fhandler.h: fhandler_pipe cannot be is_slow under Windows9[58]. There is no way to check for EOF on a pipe without performing a read on that system. * syscalls.cc (read_handler): Don't check for ready_for_read unless this is a "slow" device. * winsup.h: Reorganize to accomdate fhandler.h requirement for os_type. Sat Nov 7 23:27:05 1998 Christopher Faylor * fhandler.h (fhandler_console): Add a new function declaration. * fhandler_console.cc (fhandler_console::read1): New function renamed from console_read to allow use of class fields. Detect readahead situation when doing line buffering and buffer does not contain \n. (fhandler_console::read): Reflect function name change. * select.cc (cygwin_select): Changes for better handling of < 1000 usec timeouts. (select_stuff::wait): Perform a poll on timeout to set any fd's that may have become active. (peek_pipe): More debugging. Honor write_ready if set. (peek_console): Can't always use WaitForSingleObject. Detect readahead conditions set in fhandler_console::read1. Honor write_ready if set. (peek_windows): Honor write_ready if set. * times.cc (__to_clock_t): Return clock_t value. (times): Add some debugging printfs. Fri Nov 6 20:15:20 1998 Christopher Faylor patch from Corinna Vinschen : * spawn.cc (spawn_guts): find_exec() argument mismatch resulted in inability to run !# scripts which did not begin with '/'. Tue Nov 3 16:12:59 1998 Christopher Faylor * exceptions.cc (handle_exceptions): Don't wait for signal completion. (ctrl_c_handler): Ditto. * fhandler.h (fhandler_*): Declare new ready_for_read functions. * select.cc: Reorganize all methods into a peek_*, a poll_*, and a fhandler_*::ready_for_read. This is to allow the _read function to query the state of an fd without starting a thread. * signal.cc (kill_worker): If sending a signal from a non-main thread don't wait for completion. * sigproc.h (myself_nowait_nonmain): New define for use by sig_send. * sigproc.cc (sig_send): Honor myself_nowait_nonmain. Don't wait if not in main thread. (__release_signal_mutex): Revert to calling ReleaseMutex only once or mutex is released prematurely. * syscalls.cc (read_handler): Use new ready_for_read method to determine if an fd has data for reading. This function optionally blocks until there is data to read. (read_helper): Add debugging statement. (_read): Move signal_arrived reset to before sig_protect to avoid a race. Force read_handler thread to longjmp back to read_handler function on signal. Tue Nov 3 12:18:31 1998 DJ Delorie * utils/cygcheck.cc (dump_sysinfo): Note when not finding a program (like cpp) on the path is a good thing. Tue Nov 3 01:26:08 1998 Geoffrey Noer patch from Kazuhiro Fujieda : * environ.cc (environ_init): correct size arg to parse_options Mon Nov 2 21:40:32 1998 Christopher Faylor * regexp/regexp.c (regatom): Respond to compiler warning. Mon Nov 2 21:36:48 1998 Christopher Faylor * exceptions.cc (handle_exceptions): cygwin should not print exception information if the exception is trapped via signal(). Also use consistent timings for lock_cs() throughout. Mon Nov 2 16:46:28 1998 Geoffrey Noer * Makefile.in: For now, also include newlib/libc/sys/cygwin. Eventually will stop including newlib/libc/sys/cygwin32. Mon Nov 2 19:38:30 1998 Christopher Faylor patch from Corinna Vinschen : * syscall.cc (gethostname): function deleted * net.cc (gethostname): new function 'gethostname' which first calls wsock32::gethostname and only if it fails, calls GetComputerNameA.