From: noer AT cygnus DOT com (Geoffrey Noer) Subject: It's time for a new snapshot 7 Jun 1998 02:40:45 -0700 Message-ID: <19980607021324.A13737.cygnus.cygwin32.developers@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: cygwin32-developers AT cygnus DOT com Cc: Geoffrey Noer Here's a new winsup snapshot. This includes Larry Hall's color console changes, Sergey's /dev/windows pseudo-device addition, path fixes, and more... Enjoy! Geoffrey Noer noer AT cygnus DOT com ------------------- ChangeLogs since last snapshot ---------------- Sat Jun 6 00:01:18 1998 Christopher Faylor * dcrt0.cc: Remove obsolete PPC and OLDWAY defines. * exceptions.cc: Remove obsolete PPC defines. Fri Jun 5 22:18:01 1998 Christopher Faylor * utils/Makefile.in: install should build products if necessary. Fri Jun 5 17:47:11 1998 Geoffrey Noer * errno.cc (seterrno): shouldn't & against 0xff since there are error codes above 255. Fri Jun 5 14:35:36 1998 Christopher Faylor * exceptions.cc (ctrl_c_handler): Ignore CTRL_LOGOFF_EVENT or everybody gets signalled when a user logs off. Allow program to clean up when receiving a CTRL_CLOSE_EVENT or CTRL_SHUTDOWN_EVENT. * spawn.cc (_spawnve): Delete hmap.vec from created child since it just gets overwritten in the child anyway. * pinfo.cc (lpfu): u -> user_data. Thu Jun 4 22:45:12 1998 Geoffrey Noer * mmap.cc (mprotect): 3rd arg to VirtualProtect call should be new_prot, not prot. Also, fix check for PROT_NONE (==, not &). Wed Jun 3 16:37:43 1998 Geoffrey Noer * exceptions.cc: Fix typo in comment (ctrl_c_handler): Add comments, return FALSE on CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT events. Otherwise, we handle the console event ourselves, send a SIGINT, and return TRUE. Wed Jun 3 14:36:08 1998 Geoffrey Noer patch from sos AT prospect DOT com DOT ru (Sergey Okhapkin): * path.cc (conv_to_win32_path, conv_to_full_win32_path): resolve symlinks before converting. Wed Jun 3 02:11:23 1998 Geoffrey Noer * exceptions.cc (ctrl_c_handler): return zero when a CTRL_LOGOFF_EVENT occurs. Wed Jun 3 01:01:17 1998 Geoffrey Noer Reorganize fhandler-related file layout. * Makefile.in: Remove console.o, add fhandler_console.o. Add fhandler_serial.o. Remove tty.o, add fhandler_tty.o. * fhandler_console.cc: Was console.cc. * console.cc: Delete. * fhandler_serial.cc: Was code in fhandler.cc. * fhandler.cc: Delete fhandler_serial routines. * fhandler.h: Fix comments describing fhandler file layout. * fhandler_tty.cc: Was code in tty.cc. * tty.h: Delete. * fhandler_tty.h: Was tty.h. * tty.cc: Delete code moved to fhandler_tty.cc. * winsup.h: Include fhandler_tty.h instead of tty.h. Tue Jun 2 23:34:42 1998 Geoffrey Noer Don't need processor-specific sysdef directories: * sysdef/powerpc: remove all files * sysdef/i386: move all files to top of sysdef directory * configure.in: stop setting processor-specific sysdef variable * configure: regenerate * Makefile.in: build .a files from top-level sysdef files. Tue Jun 2 16:52:18 1998 Geoffrey Noer patch from lhall AT rfk DOT com (Larry Hall): * console.cc (fhandler_console::fhandler_console): call fillin_info() to check if console attributes have already been set. If so, set the default foreground color to be the default for the console, otherwise set it to white. (fhandler_console::char_command): use the default color to set fg, bg, and bold for all cases. Mon Jun 1 14:05:01 1998 Christopher Faylor * dir.cc (writable_directory): Avoid a malloc. (opendir): Convert to fully qualified path spec. Use inode from stat as hash instead of recalculating. (readdir): Try hard to generate the same inode for filenames as inodes returned from stat(). Handle '.' and '..' inodes differently than normal files. Note that '..' will still fail in certain pathological conditions. * fhandler.cc (fstat): Preserve errno around path conversion. * path.cc (path_conf::path_conv): Add an extra argument signifying whether caller wants a fully qualified Windows spec. (get_current_directory_name): New function. Retrieves current directory name into internal buffer. (getcwd_inner): Reorganize. Use get_current_directory_name() to retrieve a (possibly cached) directory name. (hash_path_name): Move function here from syscalls.cc. Rewrite to deal (simplistically) with non-absolute path specs. Use get_current_directory_name to absolutize path. * path.h: Reflect additional argument for path_conv. * select.cc (cygwin32_select): Remove newline from select_printf(). * syscalls.cc (hash_path_name): Move to path.cc. (stat_worker): Always use full path spec so that inodes are calculated correctly. * uinfo.cc (getlogin): Make extern "C". * include/sys/resource.h: Put extern "C" around this file. Mon Jun 1 13:16:03 1998 Christopher Faylor * console.cc: Comment out small_printfs which issue errors on things like invalid escape sequences. This is very much unlike a normal terminal, or even like linux which console.cc purports to emulate. (console_read): Renamed from FakeReadConsole. Streamline slightly. (fhandler_console::read): Ditto.