📄 changelog-1999
字号:
Sat Dec 25 12:46:25 1999 Christopher Faylor <cgf@cygnus.com> * dlfcn.cc (dlsym): Use correct HANDLE type for GetProcAddress. (dlclose): Ditto for FreeLibrary. * fhandler_windows.cc (fhandler_windows::set_close_on_exec): Properly coerce arguments to set_inheritance. (fhandler_windows::fixup_after_fork): Ditto for fork_fixup. * libcmain.cc (main): Simplify. * select.cc (peek_windows): Properly coerce argument to PeekMessage.Sat Dec 25 12:30:25 1999 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Eliminate unneeded .y SUFFIX. * dcrt0.cc (__api_fatal): Make "C". (do_global_ctors): Make __stdcall. (getprogname): Ditto. (insert_file): Ditto. (globify): Ditto. (build_argv): Ditto. (do_exit): Ditto. * debug.cc (regthread): Ditto. (makethread): Ditto. (threadname): Ditto. (find_handle): Ditto. (handle_list): Ditto. (add_handle): Ditto. * debug.h: Reflect changes to __stdcall. * shared.h: Ditto. * winsup.h: Ditto.Sat Dec 25 12:09:10 1999 Kazuhiro Fujieda <fujieda@jaist.ac.jp> * path.cc (symlink): Don't return error if target is a symlink to a nonexistent file.1999-12-23 DJ Delorie <dj@cygnus.com * Makefile.in: add support for "make check" * shared.cc: if $CYGWIN_TESTING is set, use a private shared area * cygrun.c: new, used to isolate dll-in-test * testsuite/*: new, rudimentary testsuite frameworkWed Dec 22 01:05:44 1999 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (globify): Properly handle embedded tildes in variable names. Treat a c:\foo style path spec as "special", i.e., don't interpret the backslashes as quoting characters.Fri Dec 17 10:49:13 1999 Christopher Faylor <cgf@cygnus.com> * path.cc (symlink): Return error if the target exists.Thu Dec 16 22:36:45 1999 Christopher Faylor <cgf@cygnus.com> * path.cc: Change method for accessing com in windows_device_names to allow > 2 com ports.Thu Dec 16 00:49:30 1999 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Only build winver.o and version.o when required.Sat Dec 11 11:06:45 1999 Corinna Vinschen <corinna@vinschen.de> * path.cc (path_conv::path_conv): Ensure that a trailing slash is added to "x:" specifications.Fri Dec 10 20:22:41 1999 Christopher Faylor <cgf@cygnus.com> * debug.cc (WFSO): Make __stdcall. (WFMO): Ditto. * debug.h: Reflect above changes. * exceptions.cc (sig_set_errno): Set errno to be in effect after a signal handler. (handle_sigsuspend): Use set_sig_errno to ensure that the correct errno is set after a signal handler. (interrupt_now): Accommodate default errno field in stack. (intterupt_on_return): Ditto. (sigreturn): Pop, test, and possibly restore saved errno on return from signal handler. * fhandler_console.cc (fhandler_console::read): Set errno to be in effect after a signal handler. * fhandler_serial.cc (fhandler_serial::raw_read): Ditto. * select.cc (cygwin_select): Ditto. (select_stuff:wait): Ditto. (peek_serial): Ditto. * syscalls.cc (_read): Ditto. * wait.cc (wait4): Ditto. * winsup.h (signal_dispatch): Add "saved_errno" field.Thu Dec 9 23:35:45 1999 Christopher Faylor <cgf@cygnus.com> * debug.cc (threadname_init): Use new_muto macro to set up a static buffer for a muto. (debug_init): Ditto. (WFSO): Reinstate wrapper for WaitForSingleObject. (WFMO): Reinstate wrapper for WaitForMultipleObject. * debug.h: Declare the above two wrappers. * exceptions.cc (events_init): Use new_muto macro to set up a static buffer for a muto. * sigproc.cc (sigproc_init): Ditto. * sync.cc (muto::acquire): Don't bump waiters if we already own the muto. * sync.h (new): New operator. (delete): Ditto. (new_muto): New macro.Dec 08 23:50:00 1999 Corinna Vinschen <corinna@vinschen.de> * security.cc (get_nt_attribute): Add debug output. Correct behaviour in case of NULL ACL. * syscalls.cc (stat_worker): Allow remote drives to get stat info from fh.fstat(). * include/winnt.h: Add defines for W2K ACL control flags. * include/cygwin/socket.h: Add missing PF_NETBIOS.Wed Dec 8 23:06:07 1999 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Ensure that winver.o is a dependency for building the dll. * mkvers.sh: Attempt to call windres in a fashion that accommodates older and newer versions. * winver.c: Reorganize slightly to accommodate older versions of windres. * fhandler.cc (fhandler_disk_file::fstat): Avoid using Windows "inodes" on disks which do not support them.Tue Dec 7 21:15:11 1999 Christopher Faylor <cgf@cygnus.com> * dll_init.cc (DllList::forkeeLoadDlls): Reverse order of Free/Load Library calls to ensure that references are resolved. * path.cc (mount_info::conv_to_win32_path): Ensure that returned windows paths are always normalized regardless of whether they were in windows format to begin with.Tue Dec 7 08:48:22 1999 Christopher Faylor <cgf@cygnus.com> * environ.cc (parse_options): Properly detect end of known array.Mon Dec 6 22:32:04 1999 Christopher Faylor <cgf@cygnus.com> * mkvers.sh: Generate winver.o from winver.rc and various other things from include/cygwin/version.h * winver.rc: New file (adapted from donation by Mumit Khan <khan@xraylith.wisc.edu>). * configure.in: Find windres. * configure: Regenerate. * Makefile.in: Link winver.o into cygwin1.dll.Mon Dec 6 13:04:47 1999 Mumit Khan <khan@xraylith.wisc.edu> * init.cc (dynamically_loaded): New global variable. (dll_entry): Use. * winsup.h (dynamically_loaded): Declare. * dcrt0.cc (do_global_ctors): Likewise. (set_os_type): Make static again. (dll_crt0_1): Handle dynamically_loaded case. * dll_init.cc (dll_dllcrt0_1): Delete. (dll_dllcrt0): Handle dynamically_loaded case. (dll_noncygwin_dllcrt0): Mark obsolescent. * libccrt0.cc (cygwin_attach_noncygwin_dll): Delete. * pinfo.cc (pinfo_init): Don't inherit parent fds if dynamically loaded. * include/cygwin/cygwin_dll.h (cygwin_attach_noncygwin_dll): Delete prototype. (_cygwin_noncygwin_dll_entry): Mark obsolescent.Mon Dec 6 11:09:41 1999 Christopher Faylor <cgf@cygnus.com> * configure.in: Make threadsafe the default. * configure: regenerate. * utils/strace.cc: Fix a compiler warning.Sun Dec 5 15:49:43 1999 Christopher Faylor <cgf@cygnus.com> * environ.cc (parse_options): Reinstate unions in parse_things, to save space.Fri Dec 3 22:52:05 1999 Christopher Faylor <cgf@cygnus.com> Implement new signal-handling scheme which ensures that a program will not be interrupted while in a system or cygwin DLL. * Makefile.in: Add sync.o and dll_ofiles target. * dcrt0.cc (alloc_stack_hard_way): Add more defensive code to ensure that the stack is really grown. (alloc_stack): Ditto. (dll_crt0_1): Reorganize some initialization routines to ensure that they occur after the heap has been initialized. * debug.cc: Use muto for locks. Eliminate attempts to avoid being interrupted by signals. (threadname_init): New function. (debug_init): Ditto. * debug.h: Declare debug_init and threadname_init. * exceptions.cc (stack_info::stack_info): Don't check for previous use of get(). (handle_sigsuspend): Simply using new signal-handling scheme. (interruptible): New function. Determines if PC should be interrupted. (interrupt_now): New function. Causes immediate signal dispatch. (interrupt_on_return): New function. Causes signal dispatch on return from cygwin or system routine. (call_handler): Simplify to use new signal-handling scheme. (set_process_mask): Use mask_sync muto to synchronize setting of process signal mask. (sig_handle_tty_stop): New function. Called when have to stop process now. (sig_handle): Simplify to use new signal-handling scheme. (set_process_mask): Ditto. (events_init): Allocate mask_sync muto. (unused_sig_wrapper): New function. Encapsulates assembly language signal handling support. * fhandler.h (class select_stuff): Accommodate new signal-handling scheme. * fhandler_console.cc (fhandler_console): Simplify to use new signal-handling scheme. * fhandler_serial.cc (fhandler_serial::raw_read): Ditto. * fhandler_termios.cc (bg_check): Ditto. * fhandler_tty.cc (process_input): Ditto. (fhandler_tty_slave::open): Ditto. (fhandler_tty_slave::send_ioctl_request): Ditto. * fork.cc: Ditto. * path.cc (chdir): Ditto. * select.cc: Ditto, throughout. * shared.h: Eliminate unneeded signal enum. * signal.cc (signal): Simplify to use new signal-handling scheme. (sleep): Ditto. (usleep): Ditto. (sigprocmask): Ditto. (sigaction): Ditto. (pause): Use handle_sigsuspend to pause for signal. * sigproc.cc: Change signal_arrived handle to global_signal_arrived class. Change various mutex handles to mutos. (proc_subproc): Simplify to use new signal-handling scheme. Use muto for locking. (get_proc_lock): Ditto. (proc_terminate): Ditto. (sig_dispatch_pending): Make a "C" function. Return status of pending signals. (sigproc_init): Initialize global_signal_arrived. Simplify to use new signal-handling scheme. Initialize sync_proc_subproc muto. (sig_send): Eliminate __SIGSUSPEND considerations. Simplify to use new signal-handling scheme. (__allow_sig_dispatch): Delete. (__block_sig_dispatch): Delete. (__get_signal_mutex): Delete. (__release_signal_mutex): Delete. (__have_signal_mutex): Delete. (wait_sig): Simplify to use new signal-handling scheme. * sigproc.h: Implement signal_arrived classes. * smallprint.c (__small_vsprintf): Avoid printing a leading '*' in function name with %F format. * spawn.cc (spawn_guts): Simplify to use new signal-handling scheme. (iscmd): Don't consider a filename to be a "command" unless it contains a ':'. * syscalls.cc (_read): Ditto. (_open): Ditto. (_close): Ditto. * termios.cc (tcsendbreak): Ditto. (tcdrain): Ditto. (tcflush): Ditto. (tcflow): Ditto. (tcsetattr): Ditto. (tcgetattr): Ditto. * winsup.h: Reorganize include files. Add preliminary __sig_protect implementation. * cygwin/version.h: Bump current version to 1.1.0.Thu Dec 2 22:19:40 1999 Christopher Faylor <cgf@cygnus.com> * sync.cc (muto::muto): Use an event rather than a semaphore for wait synchronization. (muto::acquire): Rewrite to use an event and try to remove races. (muto::release): Ditto.1999-12-02 DJ Delorie <dj@cygnus.com> * environ.cc (parse_options): switch to a static initializer; templates are sensitive to g++ bugs.Fri Nov 26 12:04:23 1999 Christopher Faylor <cgf@cygnus.com> * net.cc (cygwin_bind): Ensure that non-Unix domain socket operations return success correctly.Wed Nov 24 21:37:58 1999 Christopher Faylor <cgf@cygnus.com> * net.cc (cygwin_bind): Guard against incorrectly setting res to zero when there is an error condition.Tue Nov 23 17:49:55 1999 Christopher Faylor <cgf@cygnus.com> * fhandler.cc (fhandler_base::fhandler_base): Use better initialization scheme. * fork.cc (stack_base): Eliminate unneeded asm stuff. * select.cc: Sprinkle in some comments. * include/winnt.h: Add more CONTEXT.Nov 23 20:51:00 1999 Corinna Vinschen <corinna@vinschen.de> * net.cc (cygwin_bind): Use struct sockaddr_un in AF_UNIX code. Set errno to ENAMETOOLONG if length of pathname exceeds limit in AF_UNIX code. Sets errno to EADDRINUSE in AF_UNIX code if file system socket object already exists. * syscalls.cc (setsid): Set errno to EPERM if current process is already process group leader. * uinfo.cc (internal_getlogin): Rearrange for better debug output. Set pi->psid to NULL if SID can't be determined. * include/cygwin/socket.h: Add AF_LOCAL and PF_LOCAL (same as AF_UNIX) for POSIX compatibility. * include/sys/un.h: Add UNIX_PATH_LEN define. Added SUN_LEN macro for POSIX compatibility.Sun Nov 21 22:55:04 1999 Christopher Faylor <cgf@cygnus.com> * environ.cc (parse_options): Return immediately after dealing with NULL argument. Don't try to process it.Tue Nov 16 23:29:17 1999 Christopher Faylor <cgf@cygnus.com> * signal.cc (kill_worker): Guard against NULL dereference when thread safe.Sat Oct 30 00:59:38 1999 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Some general cleanup. * smallprint.c (__small_vsprintf): Accommodate new format for __PRETTY_FUNCTION__.Wed Oct 27 16:13:36 1999 Christopher Faylor <cgf@cygnus.com> * path.cc (mount_info::from_registry): Don't allow the same posix path
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -