?? changelog-2001
字號:
2001-12-31 Christopher Faylor <cgf@redhat.com> * Makefile.in: Strip path when installing library.2001-12-30 Christopher Faylor <cgf@redhat.com> * include/getopt.h: Fix define.2001-12-30 Christopher Faylor <cgf@redhat.com> Ralf Habacker <Ralf.Habacker@freenet.de> * speclib: New file. * Makefile.in: Create library versions of automode.o, textmode.o, and binmode.o for easier use on command line. Create libpthread.a, libm.a, and libc.a with subsets of exports found in libcygwin.a.2001-12-30 Ralf Habacker <Ralf.Habacker@freenet.de> * cygmagic: Eliminate unneeded use of 'tr' and 'bc'.2001-12-30 Corinna Vinschen <corinna@vinschen.de> * security.cc (open_local_policy): Use POLICY_EXECUTE instead of enumerating user rights.2001-12-29 Corinna Vinschen <corinna@vinschen.de> * security.cc (open_local_policy): Initialize lsa handle to NULL. Request only needed access rights in call to LsaOpenPolicy(). (create_token): Check for NULL lsa pointer.2001-12-28 Corinna Vinschen <corinna@vinschen.de> * cygwin.din: Add symbols for endutent(), getutent(), getutid(), getutline(), setutent() and utmpname(). * syscalls.cc (setutent): New function. (endutent): Ditto. (utmpname): Ditto. (getutent): Ditto. (getutid): Ditto. (getutline): Ditto. * include/cygwin/version.h: Bump API minor version.2001-12-26 Christopher Faylor <cgf@redhat.com> * cygmagic: Add define name to warning. * dcrt0.cc (_dll_crt0): Check for changes in child_info size. (multiple_cygwin_problem): Avoid "proc" errors when testing. Just assume new cygwin proc. * shared_info.h (mount_info): Add 'cb' element for sanity checks. (shared_info): Ditto. * child_info.h (child_info): Add fhandler_union_size element for sanity checking. * shared.cc (open_shared): Detect shared region size mismatch between parent and child. (shared_info::initialize): Detect shared region size mismatch with expectation. (memory_Init): Ditto. * sigproc.cc (init_child_info): Correctly set cb in passed structure. * shared.cc (open_shared):2001-12-26 Christopher Faylor <cgf@redhat.com> * include/getopt.h: Protect a declaratin.2001-12-26 Robert Collins <rbtcollins@hotmail.com> * thread.cc (pthread_cond::Signal): Use a separate flag for signal detection and broadcast semantics. (__pthread_cond_dowait): Ditto. * thread.h (pthread_cond): New flag for testing when a waiter has woken.2001-12-26 Christopher Faylor <cgf@redhat.com> * Makefile.in: Quote arguments to shell scripts. (clean): Remove new *_magic.h autogenerated files.2001-12-25 Christopher Faylor <cgf@redhat.com> * Makefile.in: Autogenerate some header files which provide magic numbers. Force dependencies for files which depend on autogenerated headers to ensure that they are always built. * child_info.h (child_info): Add new fields to accommodate new magic number header stuff. * dcrt0.cc: Rely on "child_info_magic.h" to ensure that correct child_info magic numbers are used. (dll_crt0_1): Temporarily remove _cygwin_testing_magic test. (_dll_crt0): Do more testing on magic numbers from fork_info structure. Call "multiple_cygwin_problem" where appropriate. (multiple_cygwin_problem): Rename from multiple_cygwin_die. Issue a warning or die, as appropriate based on cygwin version/magic number mismatch. * pinfo.cc (pinfo::exit): Don't attempt to dereference `this' if it doesn't exist. This can happen when a fatal error occurs early in process initialization. * shared.cc: Rely on "shared_info_magic.h" to accommodate that new magic number header stuff. (shared_info::initialize): Use new magic number stuff, for shared region. (memory_init): Ditto, for mount table. * shared_info.h: Accomodate new magic number stuff for shared region and mount table. * sigproc.cc: Rely on "child_info_magic.h" to accommodate new magic number header stuff. (init_child_info): Initialize new fields in child_info) to accomodate magic numbers. * winsup.h: Rename multiple_cygwin_die to multiple_cygwin_problem. * include/cygwin/version.h: Define macros for manipulating version magic. * cygmagic: New shell script for generating magic numbers.2001-12-20 Christopher Faylor <cgf@redhat.com> * include/cygwin/version.h: Bump API minor version for below changes.2001-12-19 Christopher Faylor <cgf@redhat.com> * Makefile.in (VPATH): Add regex directory. (NM): new variable. (OBSOLETE_FUNCTIONS): Ditto. (NEW_FUNCTIONS): Ditto. (install-headers): Install regex.h. (install-man): New target. (install): Use new target. (DLL_OFILES): Add v8_reg* stuff. (new-cygwin1.dll): Eliminate stamp-cygwin-lib creation. (libcygwin.a): Remove obsolete functions from import lib. Add new functions. * configure.in: Detect 'nm' tool. * configure: Regenerate. * cygwin.din: Export posix_reg* functions. Eliminate export of v8 reg* functions. This is now handled in object files themselves. * regex/*: New files. * regexp/v8_*.c: New files, renamed from non v8_ equivalents.2001-12-17 Corinna Vinschen <corinna@vinschen.de> * include/getopt.h: Don't define getopt_long() and friends when included through unistd.h.2001-12-17 Christopher Faylor <cgf@redhat.com> * dtable.cc (dtable::init_std_file_from_handle): Avoid initializing using an invalid handle.2001-12-16 David Billinghurst <David.Billinghurst@riotinto.com> * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX.2001-12-11 Christopher Faylor <cgf@redhat.com> * include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.2001-12-10 Christopher Faylor <cgf@redhat.com> * fhandler.h (fhandler_serial::ev): New class member. * fhandler_serial.cc (fhandler_serial::raw_read): Use class member for event status. * select.cc (peek_serial): Ditto.2001-12-07 Christopher Faylor <cgf@redhat.com> * path.cc (path_conv::check): Use full path name for determining attributes when /cygdrive/x/foo.2001-12-06 Christopher Faylor <cgf@redhat.com> * path.cc (path_conv::check): Reset FH_CYGDRIVE if iterating through path.2001-12-06 Christopher Faylor <cgf@redhat.com> * path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn't exist. (mount_info::conv_to_win32_path): Keep translating when a /cygdrive is found. Don't attempt to translate to a device name when devn == FH_CYGDRIVE. (cygwin_conv_to_win32_path): Set buffer to empty on error. (cygwin_conv_to_full_win32_path): Ditto. * window.cc: Include unistd.h to verify definitions.2001-12-05 Christopher Faylor <cgf@redhat.com> * dir.cc (opendir): Detect error return from build_fhandler_from_name.2001-12-04 David Rothenberger <daveroth@acm.org> * net.cc (cygwin_getsockopt): Dereference optlen pointer when passing to __check_null_invalid_struct_errno.2001-12-03 Christopher Faylor <cgf@redhat.com> * net.cc (cygwin_getsockopt): Allow NULL optval. (cygwin_setsockopt): Ditto. (cygwin_recvfrom): Allow NULL from. * path.cc (mount_info::read_cygdrive_info_from_registry): Don't write cygdrive to registry if it doesn't exist.2001-12-03 Christopher Faylor <cgf@redhat.com> * path.cc (mount_info::conv_to_win32_path): Avoid returning error if cygdrive == '/'. (mount_info::cygdrive_win32_path): Return 0 if invalid cygdrive path.2001-11-30 Christopher Faylor <cgf@redhat.com> * debug.cc (makethread): Eliminate unneeded function call. * miscfuncs.cc (tls_ix): Predefine. * perthread.h (set_reent): Eliminate. (get_reent): Ditto. * winbase.h (my_tlsalloc): Use global stack base pointer. Set newly allocated location to NULL. (my_tlssetvalue): Use global stack base pointer. (my_tlsgetvalue): Ditto.2001-11-27 Christopher Faylor <cgf@redhat.com> * winsup.h: Reorganize to avoid use of experimental stuff. * shortcut.cc: Move winsup.h first in include order.2001-11-27 Christopher Faylor <cgf@redhat.com> * cygwin.din (ualarm): New export. * dcrt0.cc (_dll_crt0): Add experimental tls storage declaration. (dll_crt0): Ditto. * debug.cc (thread_stub): Ditto. * thread.cc: Minor cleanup. (__pthread_create): Add experimental tls storage declaration. * miscfuncs.cc: Define tls index. * winsup.h: Declare experimental tls storage. * window.cc (alarm): Use old timer return from setitimer. (ualarm): New function. From Alexandr V. Shutko.2001-11-26 Christopher Faylor <cgf@redhat.com> * Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding an archive doesn't work the way we want it to.2001-11-24 Christopher Faylor <cgf@redhat.com> * fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reporting inaccessible drives.2001-11-24 Corinna Vinschen <corinna@vinschen.de> * net.cc (cygwin_hstrerror): Allow s == NULL. (cygwin_rcmd): Add parameter checking. (cygwin_rexec): Ditto.2001-11-24 Corinna Vinschen <corinna@vinschen.de> * net.cc (cygwin_inet_ntoa): Add parameter checking. (cygwin_inet_network): Return INADDR_NONE instead of 0 in case of EFAULT. (cygwin_hstrerror): Add parameter checking. (cygwin_rresvport): Ditto. (socketpair): Ditto. * winsup.h (check_null_str): Add extern declaration.2001-11-24 Christopher Faylor <cgf@redhat.com> * path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matching trailing component, like other devices.2001-11-24 Christopher Faylor <cgf@redhat.com> * autoload.cc (IsDebuggerPresent): Make conditional load since it is not available everywhere. * path.cc (mount_info::conv_to_win32_path): Only consider /cygdrive to be FH_CYGDRIVE, not /cygdrive/x.2001-11-24 Christopher Faylor <cgf@redhat.com> * net.cc (inet_makeaddr): Revert previous change.2001-11-23 Christopher Faylor <cgf@redhat.com> * path.cc (chdir): Allow 'cd /cygdrive'.2001-11-23 Christopher Faylor <cgf@redhat.com> * dtable.cc (dtable::vfork_parent_restore): Add debugging statement. * exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger attached. * fhandler.h (fhandler_base::set_nohandle): New method. (fhandler_base::get_nohandle): New method. * fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no handle. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on dummy fd.2001-11-23 Christopher Faylor <cgf@redhat.com> * Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a * fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting since it is no longer used. * miscfuncs.cc (check_null_str): New function. (check_null_str_errno): Ditto. * net.cc: Add defensive buffer checking throughout. (cygwin_sendto): Protect against invalid fd. (cygwin_recvfrom): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * winsup.h: Declare a new function.2001-11-23 Corinna Vinschen <corinna@vinschen.de> * select.cc (set_bits): Fix conditional for setting fd in exceptfds. * dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device type. * path.cc (get_devn): Set correct pipe device type from device name.2001-11-22 Christopher Faylor <cgf@redhat.com> * path.cc (conv_path_list): Fix wild indexing into path due to conflicting methods for setting src pointer. * dir.cc (opendir): Only pass path_conv argument to opendir, since name is already part of the fhandler. * dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type. * fhandler.cc (fhandler_base::opendir): Nuke name argument. * fhandler.h: Add FH_CYGDRIVE to "device" enum. (fhandler_base::opendir): Nuke name argument. (fhandler_disk_file::opendir): Ditto. (fhandler_disk_file::fhandler_disk_file): Declare new method which passes devtype through. (fhandler_cygdrive): Add elements for tracking drives. (fhandler_cygdrive::set_drives): Declare new method. (fhandler_cygdrive::iscygdrive_root): Declare new method. (fhandler_cygdrive::opendir): Declare new method. (fhandler_cygdrive::readdir): Declare new method. (fhandler_cygdrive::telldir): Declare new method. (fhandler_cygdrive::seekdir): Declare new method. (fhandler_cygdrive::rewinddir): Declare new method. (fhandler_cygdrive::closedir): Declare new method. (fhandler_cygdrive::fstat): Declare new method.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -