📄 changelog-1998
字号:
* environ.cc (environ_init): Fix incorrect TERM= detection.Tue Nov 17 17:28:09 1998 Geoffrey Noer <noer@cygnus.com> * gcrt0.c: include stdlib.h, add proto for monstartup.Tue Nov 17 16:47:42 1998 Geoffrey Noer <noer@cygnus.com> * include/wchar.h: add protos for wcslen and wcscmp. * syscalls.cc: minor reformat.Tue Nov 17 15:38:45 1998 Christopher Faylor <cgf@cygnus.com> * fhandler.cc (fhandler_base::fhandler_base): Default non-disk devices to binary mode. * fhandler.h: Reformat slightly.Tue Nov 17 11:19:23 1998 Christopher Faylor <cgf@cygnus.com> * external.cc (fillout_pinfo): Copy progname using strcpy to save on time. * path.h: Add new enums for more fine-grained control of path_conv. * dir.cc (opendir): Use enum argument to path_conv. (mkdir): Ditto. (rmdir): Ditto. * dlfcn.cc (get_full_path_of_dll): Ditto. * fhandler.h: Add new set_readahead_valid to set actual readahead. * fhandler.cc (raw_read): Remove extraneous variable. (fhandler_base::read): Rework to allow readahead when not text mode. (fhandler_disk_file::fstat): get_symlink_p() only returns true/false now. (fhandler_disk_file::fhandler_disk_file): Use enum argument to path_conv. (fhandler_disk_file::open): Ditto. * spawn.cc (perhaps_suffix): Ditto. * syscalls.cc (_unlink): Ditto. (_link): Ditto. (stat_worker): Ditto. (_rename): Ditto. * fhandler_serial.cc (fhandler_serial::open): Always reset timeouts. * path.cc (path_conv::path_conv): Honor new enum arguments. Specifically, use SYMLINK_CONTENTS for readlink interface. (readlink): Use SYMLINK_CONTENTS argument to path_conv. * select.cc: Rework serial support which has apparently never worked.Mon Nov 16 16:15:20 1998 Geoffrey Noer <noer@cygnus.com> * Makefile.in: FLAGS_TO_PASS should pass CFLAGS and CXXFLAGS not ALL_CFLAGS and ALL_CXXFLAGS. Rework handling of CFLAGS variables to remove duplication and make it possible to build mingw directory.Mon Nov 16 09:40:21 1998 Christopher Faylor <cgf@cygnus.com> * syscalls.cc (_open): Use new macro to check for NULL or empty pathname and return appropriate error. * path.cc (check_null_empty_path*): Move macro to path.h. * path.h: Move macros here.Sun Nov 15 20:23:10 1998 Geoffrey Noer <noer@cygnus.com> * include/cygwin/version.h: bump API_MINOR to 3 to mark addition of dll_noncygwin_dllcrt0 to exports list.Sun Nov 15 23:05:21 1998 Christopher Faylor <cgf@cygnus.com> * path.cc (check_null_empty_path): New macro. (check_null_empty_path_errno): Ditto. (path_conv::path_conv): Check for NULL and empty path names here and set appropriate error. (conv_to_win32_path): Ditto. (conv_to_full_win32_path): Ditto. (conv_to_posix_path): Ditto. (conv_to_full_posix_path): Ditto. (mount_info::conv_wo_win32_path): Back out previous change. (mount_info::conv_to_posix_path): Ditto.Sun Nov 15 19:29:19 1998 Geoffrey Noer <noer@cygnus.com> * include/limits.h: define CHILD_MAX to be 63. * sysconf.cc (sysconf): return CHILD_MAX when asked for instead of _POSIX_CHILD_MAX.Sun Nov 15 18:25:22 1998 Geoffrey Noer <noer@cygnus.com> patch from Mumit Khan <khan@xraylith.wisc.edu>: * path.cc (mount_info::conv_to_posix_path): Handle NULL and empty pathnames. (mount_info::conv_to_win32_path): Likewise.Sun Nov 15 18:09:06 1998 Geoffrey Noer <noer@cygnus.com> * cygwin.din: export dll_noncygwin_dllcrt0. * {libccrt0.cc, winsup.h}: minor reformat.Sat Nov 14 22:14:51 1998 Christopher Faylor <cgf@cygnus.com> * environ.cc (environ_init): Use sizeof for string lengths rather than hard-coded values. patch from Mumit Khan <khan@xraylith.wisc.edu>: * dll_init.cc (dll_foreign_dllcrt0): Rename to dll_noncygwin_dllcrt0. * winsup.h: Ditto. * include/cygwin/cygwin_dll.h: Ditto.Sat Nov 14 14:09:33 1998 Christopher Faylor <cgf@cygnus.com> * hinfo.cc (hinfo::de_linearize_fd_array): Reset first fd for open to zero after an exec.Sat Nov 14 01:29:23 1998 Christopher Faylor <cgf@cygnus.com> * fork.cc (fork): No need for intermediate jmp_buf variable. patch from Mumit Khan <khan@xraylith.wisc.edu>: * libccrt0.cc (cygwin_attach_foreign_dll): New function. * dll_init.cc (dll_foreign_dllcrt0): New function to initialize DLLs loaded by non-cygwin apps. (dll_dllcrt0_1): Initialize process table entry. (dll_dllcrt0): Revert last change to do partial initialization. * winsup.h (dll_foreign_dllcrt0): Prototype. * include/cygwin/cygwin_dll.h (_cygwin_foreign_dll_entry): New entry point that does partial initialization for non-cygwin apps.Fri Nov 13 16:17:28 1998 Geoffrey Noer <noer@cygnus.com> Assorted -Wall cleanup: * utils/mount.cc (show_mounts): remove unused var i. * utils/cygcheck.cc (dll_info): comment out unused var ofs. (dump_sysinfo): return a void, not an int. Comment out unused var len in two places. Add parens around assignment used as truth value. * utils/kill.cc (main): remove unused var i * utils/mkpasswd: include <ctype.h> and <stdlib.h>. (enum_users): remove unused var rc. (enum_local_groups): ditto. * utils/ps.cc (main): Add parens around assignments used as truth values. * utils/mkgroup.c: include <ctype.h> and <stdlib.h>. (enum_groups): return void, not int. Remove unused var rc. * gmon.c: include <stdio.h> and <unistd.h>. (_mcleanup): remove unused vars buf and profdir.Fri Nov 13 16:17:28 1998 Geoffrey Noer <noer@cygnus.com> patch from Corinna Vinschen <corinna.vinschen@cityweb.de>: * include/sys/sysmacros.h: new file, define major, minor, makedevFri Nov 13 17:03:52 1998 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc: Reflect a variable name change. * fhandler.h: *::ready_for read takes an additional argument. * fhandler_console.cc (get_non_ascii_key): New function derived from fhandler_console::read1. (fhandler_console::read1): Use new function. * select.cc (*::ready_for_read): Add new "nonblocking" argument. (peek_console): Be more diligent in detecting when a usable character has been entered or false positives will be returned. (fhandler_tty_common::ready_for_read): Detect attempt to perform a "background" read. * syscalls.cc (read_handler): Remove code for dealing with slow devices. Just deal with non-blocking here. (read_ready_thread): Renamed function. Rewritten to only detect when an fd has data ready to be read. Actual reads happen in the main thread. (_read): Rely on read_handler to read data for everything. Use the read_ready_thread to indicate when data is ready to be read. Gut the read_thread_info class since it no longer needs to return much information. * winsup.h: Reflect above changes to read_thread_info. Rename to read_ready_thread_info.Fri Nov 13 15:09:26 1998 Christopher Faylor <cgf@cygnus.com> patch from Corinna Vinschen <corinna.vinschen@cityweb.de> and Ron Parker <rdparker@butlermfg.org>: * path.cc (mount_info::conv_to_win32_path): Refined recognition of UNC devices.Fri Nov 13 12:37:00 1998 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Fix a typo.Fri Nov 13 10:59:43 1998 DJ Delorie <dj@cygnus.com> * Makefile.in: "make" uses new "ld -shared" by default internally.Fri Nov 13 00:58:38 1998 Christopher Faylor <cgf@cygnus.com> * spawn.cc (find_exec): Make sure that return value is correct in all cases. Document. * fhandler.h (fhandler_tty_common): Give unit number to constructor. * fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Give unit number to descriptor. Create correct UNIX path name for tty so that ttyname() will work correctly. * select.cc (fhandler_tty_common::ready_for_read): Don't worry about read_for_read since the tty read routines are already interruptible. * syscalls.cc (_read): Reset read thread events on signal. patch from Mumit Khan <khan@xraylith.wisc.edu>: * dlfcn.cc (ctype.h): Include. (check_access): Document. (check_path_access): Document. (get_full_path_to_dll): Rework to handle general filenames and symlinks.Thu Nov 12 17:01:52 1998 DJ Delorie <dj@cygnus.com> * Makefile.in (shared): "make shared" uses the new "ld -shared" * cygwin.din: add LIBRARY and BASE tags for "ld -shared"Wed Nov 11 17:16:17 1998 Christopher Faylor <cgf@cygnus.com> * 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. * include/sys/cdefs.h: Move __P definition here.Wed Nov 11 14:00:45 1998 DJ Delorie <dj@cygnus.com> * cygwin.din (getpwnam): remove duplicatesTue Nov 10 18:27:09 1998 Geoffrey Noer <noer@cygnus.com> * utils/aclocal.m4: regenerate with aclocal * utils/configure.in: don't call AM_CYGWIN32 * utils/configure: regenerateTue Nov 10 15:56:03 1998 Geoffrey Noer <noer@cygnus.com> patch from Gary V. Vaughan <gvaughan@oranda.demon.co.uk>: * 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 <noer@cygnus.com> * 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 <noer@cygnus.com> * include/cygwin/version.h: up DLL version, bump API_MINOR to 2 to mark following change. patch from Mumit Khan <khan@xraylith.wisc.edu>: * cygwin.din: add exports for some of the newlib bessel functions (j1, jn, y1, yn).Mon Nov 9 15:10:06 1998 Geoffrey Noer <noer@cygnus.com> * syscalls.cc (_link): rewrite FIXME.Mon Nov 9 14:51:03 1998 Geoffrey Noer <noer@cygnus.com> * errno.cc (strerror): add string for EDEADLOCK. patch from Corinna Vinschen <corinna.vinschen@cityweb.de>: * errno.cc (errmap[]): add END_OF_MEDIA and additional Win32 error codes.Sun Nov 8 21:28:01 1998 Christopher Faylor <cgf@cygnus.com> * 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 <cgf@cygnus.com> * 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 <cgf@cygnus.com> patch from Corinna Vinschen <corinna.vinschen@cityweb.de>: * 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 <cgf@cygnus.com> * 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 <dj@cygnus.com> * 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 <noer@cygnus.com> patch from Kazuhiro Fujieda <fujieda@jaist.ac.jp>: * environ.cc (environ_init): correct size arg to parse_options
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -