?? changelog-2001
字號(hào):
(__pthread_cond_init): Ditto. (__pthread_cond_broadcast): Ditto. (__pthread_cond_signal): Ditto. (__pthread_condattr_init): Ditto. (__pthread_condattr_getpshared): Ditto. (__pthread_condattr_setpshared): Ditto. (__pthread_condattr_destroy): Ditto. (__pthread_kill): Ditto. (__pthread_mutex_init): Ditto. (__pthread_mutex_getprioceiling): Ditto. (__pthread_mutex_lock): Ditto. (__pthread_mutex_trylock): Ditto. (__pthread_mutex_unlock): Ditto. (__pthread_mutex_destroy): Ditto. (__pthread_mutex_setprioceiling): Ditto. (__pthread_mutexattr_getprotocol): Ditto. (__pthread_mutexattr_getpshared): Ditto. (__pthread_mutexattr_gettype): Ditto. (__pthread_mutexattr_init): Ditto. (__pthread_mutexattr_destroy): Ditto. (__pthread_mutexattr_setprotocol): Ditto. (__pthread_mutexattr_setprioceiling): Ditto. (__pthread_mutexattr_getprioceiling): Ditto. (__pthread_mutexattr_setpshared): Ditto. (__pthread_mutexattr_settype): Ditto. (__sem_init): Ditto. (__sem_destroy): Ditto. (__sem_wait): Ditto. (__sem_trywait): Ditto. (__sem_post): Ditto. (__pthread_cond_dowait): New function, contains core logic from __pthread_cond_wait and __pthread_cond_timedwait. Decrement (*cond)->waiting before reentering the cond access mutex to allow detection of lost signals. (__pthread_cond_timedwait): Rename to pthread_cond_timedwait, and call __pthread_cond_dowait after calculating the wait length. (__pthread_cond_wait): Rename to pthread_cond_wait, and call __pthread_cond_dowait. * thread.h: New enum for use with verifyable_object_isvalid. Remove the extern exporting of __pthread_cond_timedwait and __pthread_cond_wait.Fri Sep 28 21:18:50 2001 Christopher Faylor <cgf@cygnus.com> * pipe.cc (fhandler_pipe::fixup_after_fork): New method. * fhandler.h (fhandler_pipe::fixup_after_fork): Declare new method.Fri Sep 28 03:23:04 2001 Christopher Faylor <cgf@cygnus.com> * passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin initialization. * grp.cc (read_etc_group): Ditto.Fri Sep 28 02:57:03 2001 Christopher Faylor <cgf@cygnus.com> * passwd.cc (read_etc_passwd): Don't bother with locking when in cygwin initialization since there is only one thread. * grp.cc (read_etc_group): Ditto.Fri Sep 28 01:50:09 2001 Christopher Faylor <cgf@cygnus.com> * pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF event available.Sat Sep 28 00:34:00 2001 Corinna Vinschen <corinna@vinschen.de> * mmap.cc (mmap): Move setting the access after evaluating fd. Remove useless comment. Explain copy-on-write problem of 9x more detailed. Don't set access to FILE_MAP_COPY on 9x only when anonymous mapping is requested. (fhandler_disk_file::mmap): Remove useless device check. Add debug output.Fri Sep 27 07:35:00 2001 Robert Collins <rbtcollins@hotmail.com> * Makefile.in: Only stamp winver_stamp on success.Wed Sep 26 16:02:35 2001 Christopher Faylor <cgf@cygnus.com> * select.cc (peek_pipe): REALLY only grab mutex when we actually got something from the pipe.Tue Sep 25 21:25:00 2001 Robert Collins <rbtcollins@hotmail.com> * thread.cc (pthread_cond::BroadCast): Use address with verifyable_object_isvalid(). (pthread_cond::Signal): Ditto. (__pthread_create): Ditto. (__pthread_cleanup): Ditto. (__pthread_attr_init): Ditto. (__pthread_attr_getinheritsched): Ditto. (__pthread_attr_getschedparam): Ditto. (__pthread_attr_getschedpolicy): Ditto. (__pthread_attr_getscope): Ditto. (__pthread_attr_setdetachstate): Ditto. (__pthread_attr_getdetachstate): Ditto. (__pthread_attr_setinheritsched): Ditto. (__pthread_attr_setschedparam): Ditto. (__pthread_attr_setschedpolicy): Ditto. (__pthread_attr_setscope): Ditto. (__pthread_attr_setstacksize): Ditto. (__pthread_attr_getstacksize): Ditto. (__pthread_attr_destroy): Ditto. (__pthread_join): Ditto. (__pthread_detach): Ditto. (__pthread_suspend): Ditto. (__pthread_continue): Ditto. (__pthread_getschedparam): Ditto. (__pthread_getsequence_np): Ditto. (__pthread_key_create): Ditto. (__pthread_key_delete): Ditto. (__pthread_setschedparam): Ditto. (__pthread_setspecific): Ditto. (__pthread_getspecific): Ditto. (__pthread_cond_destroy): Ditto. (__pthread_cond_init): Ditto. (__pthread_cond_broadcast): Ditto. (__pthread_cond_signal): Ditto. (__pthread_cond_timedwait): Ditto. (__pthread_cond_wait): Ditto. (__pthread_condattr_init): Ditto. (__pthread_condattr_getpshared): Ditto. (__pthread_condattr_setpshared): Ditto. (__pthread_condattr_destroy): Ditto. (__pthread_kill): Ditto. (__pthread_mutex_init): Ditto. (__pthread_mutex_getprioceiling): Ditto. (__pthread_mutex_lock): Ditto. (__pthread_mutex_trylock): Ditto. (__pthread_mutex_unlock): Ditto. (__pthread_mutex_destroy): Ditto. (__pthread_mutex_setprioceiling): Ditto. (__pthread_mutexattr_getprotocol): Ditto. (__pthread_mutexattr_getpshared): Ditto. (__pthread_mutexattr_gettype): Ditto. (__pthread_mutexattr_init): Ditto. (__pthread_mutexattr_destroy): Ditto. (__pthread_mutexattr_setprotocol): Ditto. (__pthread_mutexattr_setprioceiling): Ditto. (__pthread_mutexattr_getprioceiling): Ditto. (__pthread_mutexattr_setpshared): Ditto. (__pthread_mutexattr_settype): Ditto. (__sem_init): Ditto. (__sem_destroy): Ditto. (__sem_wait): Ditto. (__sem_trywait): Ditto. (__sem_post): Ditto. (verifyable_object_isvalid): Recieve a pointer to a pointer for verification. (__pthread_mutexattr_getprotocol): Fix typo in magic number. (__pthread_mutexattr_getpshared): Ditto. (__pthread_mutexattr_gettype): Ditto. * thread.h (verifyable_object_isvalid): Change prototype to recieve a pointer to a pointer for verification. * include/pthread.h: Fix typo for __cleanup_routine_type typedef. (Contrib from Net).Tue Sep 25 02:09:42 2001 Christopher Faylor <cgf@redhat.com> * select.cc (fhandler_tty_common::ready_for_read): Rewrite to correctly call peek_pipe.Mon Sep 24 18:46:39 2001 Christopher Faylor <cgf@cygnus.com> * select.cc (peek_pipe): Only grab mutex when we actually got something from the pipe.Mon Sep 24 17:41:03 2001 Christopher Faylor <cgf@redhat.com> * fhandler.h (fhandler_pipe::hit_eof): New method. (writepipe_exists): New class element. (orig_pid): Ditto. (id): Ditto. (is_slow): Eliminate. * pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance on writepipe_exists, if it exists. (fhandler_pipe::hit_eof): New method, modelled after tty. (fhandler_pipe::dup): Duplicate writepipe_exists, if it exists. (make_pipe): Set up a dummy event for pipes on windows 9x. The nonexistence of this event means that the write side of the pipe has closed. (_dup): Move to syscalls.cc (_dup2): Ditto. * dtable.cc (dtable::build_fhandler): Fill out set_names here, if appropriate. * syscalls.cc (_open): Call set_names in build_fhandler.Sun Sep 23 16:55:00 2001 Corinna Vinschen <corinna@vinschen.de> * syscalls.cc (_open): Set name in fhandler object after successful creation. (stat_dev): Set device type to block device in FH_FLOPPY case.Sun Sep 23 11:15:00 2001 Corinna Vinschen <corinna@vinschen.de> * dtable.cc (dtable::build_fhandler): Initialize unit when using optional path_conv argument.Sat Sep 22 17:33:45 2001 Christopher Faylor <cgf@cygnus.com> Corinna Vinschen <corinna@vinschen.de> * dtable.cc (dtable::build_fhandler): Accept an optional path_conv argument. If available, use this to calculate path name and device number. * dtable.h (dtable): Reflect above change. * fhandler.h (fhandler_base): Declare virtual method which accepts path_conv rather than path string as first argument. * fhandler.cc (fhandler_base::open): Define above new method. * syscalls.cc (_open): Set aside a path_conv variable for use in build_fhandler and subsequent call to open.Sat Sep 22 12:44:57 2001 Christopher Faylor <cgf@cygnus.com> * exceptions.cc (setup_handler): Always relinquish lock after we've interrupted. * fhandler.cc: Move pipe methods to pipe.cc. * fhandler.h (fhandler_pipe): Add new methods. * fork.cc (sync_with_parent): Make error messages more informative. * pipe.cc (fhandler_pipe::fhandler_pipe): Move here from fhandler.cc. (fhandler_pipe::lseek): Ditto. (fhandler_pipe::set_close_on_exec): New method. (fhandler_pipe::read): Ditto. (fhandler_pipe::close): Ditto. (fhandler_pipe::dup): Ditto. (make_pipe): Create the guard mutex on the read side of the pipe. * select.cc (peek_pipe): Use guard_mutex to discover if we have the right to read on this pipe. (fhandler_pipe::readh_for_read): Pass the read pipe guard mutex to peek_pipe. * syscalls.cc (_read): Always detect signal catchers, for now. * debug.cc (makethread): Eliminate hack to make thread inheritable. * sigproc.cc (subproc_init): Don't use hack to make thread inheritable.Thu Sep 20 16:48:44 2001 Christopher Faylor <cgf@cygnus.com> * fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE to change inheritance. Eliminate all other logic dealing with closed handles. * fhandler.h (fhandler_base::set_inheritance): Reflect above change. * fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.Thu Sep 20 13:34:00 2001 Corinna Vinschen <corinna@vinschen.de> * fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close socket only when not using Winsock2.Thu Sep 20 13:20:00 2001 Corinna Vinschen <corinna@vinschen.de> * fhandler.h (fhandler_socket::fixup_after_exec): Remove inline implementation. (fhandler_dev_raw::fixup_after_exec): Ditto. * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Don't duplicate buffer on fork to avoid memory leak. (fhandler_dev_raw::fixup_after_exec): New implementation equal to former fixup_after_fork() implementation. * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Do nothing when not using Winsock2. (fhandler_socket::fixup_after_exec): New implementation. (fhandler_socket::set_close_on_exec): Never call set_inheritance().Thu Sep 20 9:55:00 2001 Corinna Vinschen <corinna@vinschen.de> * fhandler.cc (fhandler_base::set_inheritance): If available, use SetHandleInformation() to set inheritance. * wincap.cc: Set flag has_set_handle_information_on_console_handles appropriately. * wincap.h: Add flag has_set_handle_information_on_console_handles.Wed Sep 19 12:24:09 2001 Christopher Faylor <cgf@cygnus.com> * lib/getopt.c (__progname): Don't declare if not compiling for cygwin.Wed Sep 19 18:07:00 2001 Corinna Vinschen <corinna@vinschen.de> * lib/getopt.c (getopt_long): Avoid compiler warning.Wed Sep 19 11:52:42 2001 Christopher Faylor <cgf@cygnus.com> * lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin. * scandir.cc (scandir): Use correct default when compar == NULL.Wed Sep 19 17:49:00 2001 Corinna Vinschen <corinna@vinschen.de> * fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert memory allocation to use cmalloc again.Tue Sep 18 21:04:26 2001 Christopher Faylor <cgf@cygnus.com> * cygwin.din (__argv): Export. (__argc): Ditto. (__progname): Ditto. * include/getopt.h (getopt_long): constify arguments. * lib/getopt.c: Import new file from NetBSD.Tue Sep 18 18:21:00 2001 Corinna Vinschen <corinna@vinschen.de> * mmap.cc (mmap): Don't reuse anonymous memory in MAP_FIXED case.Mon Sep 17 17:29:25 2001 Christopher Faylor <cgf@cygnus.com> * include/io.h: Add access declaration.Mon Sep 17 14:04:27 2001 Christopher Faylor <cgf@cygnus.com> * syscalls.cc (rmdir): Set cwd to some other location if attempting to rmdir current working directory.Sun Sep 16 23:04:31 2001 Christopher Faylor <cgf@cygnus.com> * dtable.h (not_open): Assure inline. * fhandler.h (operator []): Make const.Sun Sep 16 23:02:57 2001 Robert Collins <rbtcollins@hotmail.com> * sync.cc (muto::~muto): Fix typo which stopped muto event handle from ever being closed.2001-09-16 Egor Duda <deo@logos-m.ru> * path.cc (symlink): Check arguments for validity. (getcwd): Ditto. * syscalls.cc (ftruncate): Ditto. * times.cc (times): Ditto. * uname.cc (uname): Ditto.Sat Sep 15 22:54:49 2001 Christopher Faylor <cgf@cygnus.com> * net.cc (dup_servent_ptr): Detect old Windows 95 misaligned structure and realign appropriately.Sat Sep 15 00:28:40 2001 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Generate libcygwin.a during the link pass rather than as a separate dlltool step. * dcrt0.cc (_dll_crt0): pppid_handle could be NULL. Don't close it if so.Fri Sep 14 20:48:18 2001 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (dll_crt0_1): Create vfork main storage here so that it can be queried in waitsig later. * sigproc.cc (wait_sig): Don't deliver a signal if in a vfork. * sigproc.h (sigframe::init): New method. (sigframe): Use init. * perthread.h: Declare main_vfork. * fork.cc (vfork): Deliver all signals on pa
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -