From: noer AT cygnus DOT com (Geoffrey Noer) Subject: New winsup/newlib snapshot 5/30/98 30 May 1998 01:43:13 -0700 Message-ID: <19980530011319.A23443.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 I've just a made a new winsup/newlib snapshot pair up for ftp from the usual public place (ftp.cygnus.com:/pub/noer/winsup-snapshot). The most significant changes are the addition of a /dev/windows pseudo-device used by xemacs. Also, I've spent some time fixing the header files in newlib and winsup. Hence a new newlib snapshot. (Although there are still some more changes to make). You will need to replace newlib with the new one to compile this winsup snapshot. Following are the changes since the last winsup snapshot. -- Geoffrey Noer noer AT cygnus DOT com -------------------------- snip ----------------------------- Fri May 29 22:41:18 1998 Geoffrey Noer * hinfo.cc: Include unistd.h, not fcntl.h. Fri May 29 21:38:10 1998 Christopher Faylor * path.cc (mount_info::binary_win32_path_p): Don't allow the root mount to replace a //drive or //host specification. Fri May 29 08:20:28 1998 Geoffrey Noer * winsup.h: Remove exports section in favor of external include files. Fix some comments. * {console.cc, fcntl.cc, pipe.cc}: Include unistd.h. * dcrt0.cc (__main): Make extern "C". * strace.cc: Include time.h. * wait.cc (_wait): Make extern "C". * version.h: Bump minor version to 3 in honor of /dev/windows support. Fri May 29 03:11:28 1998 Geoffrey Noer * syscalls.h: Remove. Protos are now in the right include files which are included on an as-needed basis in individual files. * Makefile.in: Remove syscalls.h from deps. * winsup.h: Remove syscalls.h include. * delqueue.h: Use MAX_PATH instead of MAXPATHLEN. Include since that's defined there. * dir.cc: Include sys/stat.h, errno.h. * {dll_init.cc, dlfcn.cc}: Use MAX_PATH instead of MAXPATHLEN. * {errno.cc, exceptions.cc, exec.cc, fcntl.cc, fhandler.cc, fork.cc, heap.cc, hinfo.cc, ioctl.cc, net.cc, passwd.cc, path.cc, pinfo.cc, resource.cc, select.cc, signal.cc, sigproc.cc, spawn.cc, syscalls.cc, sysconf.cc, termios.cc, times.cc, tty.cc, wait.cc}: Include errno.h. * heap.cc (_sbrk): Make extern "C". * ioctl.cc: Include sys/ioctl.h. * malloc.cc (export_free, export_malloc, export_realloc, export_calloc): Make extern "C". * path.cc (getwd, symlink, readlink): Make extern "C". * syscalls.cc: Include sys/uio.h. * {sysconf.cc, times.cc}: Include time.h. * include/sys/ioctl.h: Make ioctl proto match definition. * include/exceptions.h: Fix licensing header. Fri May 29 03:11:28 1998 Geoffrey Noer patch from sos AT prospect DOT com DOT ru (Sergey Okhapkin): * Makefile.in: Add fhandler_windows.o target * fhandler.h: Include . fhandler_windows: new fhandler class that handles access to Windows message queue. (fhandler_base::is_windows): new virtual member function * fhandler_windows.cc: New file, fhandler_windows class implementation. * hinfo.cc (hinfo_vec::build_fhandler): build fhandler_windows class for "/dev/windows". Include . * select.cc: New fd_windows_map class (fd_windows_map::convert_to_unix_fdset): New, check for Windows messages in a queue. (cygwin32_select): check for windows fd is passed to select call, increase size of harray by one to support windows pseudo-handle, do MsgWaitForMultipleObjects if windows fd passed to select call. Thu May 28 15:56:26 1998 Geoffrey Noer * include/sys/ioctl.h: need to include * syscalls.h: remove ioctl proto Thu May 28 18:22:24 1998 Ian Lance Taylor * utils/cygpath.cc: New file. * utils/Makefile.in (PROGS): Add cygpath$(EXEEXT). (cygpath$(EXEEXT)): Ne target. * include/sys/cygwin.h: Declare more path conversion functions. Wed May 27 01:34:06 1998 Geoffrey Noer * cygwin.din: add sethostent/endhostent exports * net.cc (sethostent, endhostent): new stubs Fri May 22 17:31:50 1998 Geoffrey Noer * include/cygwin32/in.h: correct typo in IPPORT_WHOIS define Fri May 22 17:00:48 1998 Geoffrey Noer * include/Windows32/Structures.h: remove commas after last enum elts, remove some excess spaces Fri May 22 17:00:48 1998 Geoffrey Noer * include/sys/ioctl.h: add ioctl proto Wed May 20 18:52:31 1998 Geoffrey Noer * include/sys/param.h: delete, file overlaps with newlib's. Move it to newlib/libc/sys/cygwin32/sys where such files are supposed to go. Wed May 20 18:20:35 1998 Geoffrey Noer * select.cc (auto_del_fd_set_map::auto_del_fd_set_map): correct C++ problem -- can't use parens in call to new. Wed May 20 17:03:25 1998 Geoffrey Noer based on patch from newsham AT lava DOT net (Tim Newsham): * select.cc: FIXMEs added/adjusted (select_sleep): new static select helper function (cleanup_sockthread): ditto (cleanup_pipethread): ditto (cygwin32_select): remove degenerate goto in favor of calling select_sleep, call cleanup_sockthread and cleanup_pipethread instead of previously duplicated code. Wed May 20 02:21:37 1998 Geoffrey Noer patch from Christopher Faylor * fhandler.cc (fhandler_serial::raw_read): When vmin_ == 0, vtime_ > 0, don't force only one char at a time to be read. (fhandler_serial::tcsetattr): set to.ReadIntervalTimeout and to.ReadTotalTimeoutMultiplier appropriately so reads will time out properly when vmin_ == 0, vtime_ > 0. Tue May 19 09:05:46 1998 Christopher Faylor * init.cc (set_dllname): Use consistent "cygwin32" name for dll if the name of the dll is actually cygwin. This will allow better interoperability between dlls which have been renamed, i.e., cygwindevo.dll -> cygwin98r1.dll. Mon May 18 22:39:35 1998 Christopher Faylor * winsup.h: Remove sig* undefs since this is now done in newlib. Define SIGTOMASK define for use by signal mask operations. * exceptions.cc (__cygwin32_exception_handler): Use SIGTOMASK. (sig_handle): Ditto * signal.cc (sigpending): Ditto. (sigaddset): Use SIGTOMASK. Disallow signal 0. (sigdelset): Ditto. (sigismember): Ditto. * strace.cc (strace_printf): It is possible for strace_mutex to be an invalid handle. Open the mutex if so. Call ReleaseMutex until exhausted since a signal may have interrupted an strace_printf. (strace_dump): Call ReleaseMutex until exhausted. * tty.cc (do_output): Remove strace printf to avoid filling up strace output. (fhandler_tty_slave::read): Use SIGTOMASK. Mon May 18 09:11:38 1998 Christopher Faylor * dcrt0.cc (dll_crt0_1): Clear errno before calling main. Thu May 14 00:37:01 1998 Geoffrey Noer * dcrt0.cc: add comments, reformatting Wed May 13 17:47:23 1998 Geoffrey Noer patch from sos AT prospect DOT com DOT ru (Sergey Okhapkin): * times.cc (to_time_t): prevent stat from returning incorrect file modification time (one second less) on fat partitions due to round-up error.