📄 changelog-1999
字号:
into the mount table more than once. * utils/mount.cc (main): Add some orthogonality to the options.Tue Oct 26 21:55:49 1999 Christopher Faylor <cgf@cygnus.com> * environ.cc (environ_init): Turn off ntsec by default.Wed Oct 27 00:14:11 1999 J"orn Rennecke <amylaar@cygnus.co.uk> * fhandler.cc (fhandler_base::lseek): Take readahead into account.Tue Oct 26 16:46:54 1999 Christopher Faylor <cgf@cygnus.com> * syscalls.cc (_unlink): Return EISDIR when attempting to unlink a directory.Mon Oct 25 18:05:23 1999 Christopher Faylor <cgf@cygnus.com> * fhandler.cc (fhandler_base::read): Fix previous fix.Mon Oct 25 13:46:44 1999 Christopher Faylor <cgf@cygnus.com> * dll_init.cc (add): Avoid allocating name for "LINK"ed DLLs. (DllList::forkeeLoadDlls): Only reload DLLs if they have been dlopen'ed. * grp.cc (parse_grp): Assign gr_mem when it is determined.Sun Oct 24 21:55:48 1999 Christopher Faylor <cgf@cygnus.com> * dll_init.cc (struct dll): Add module name. (add): Add additional 'name' parameter for recording in dll structure. (reserve_upto): New function. (release_upto): Ditto. (DllList::forkeeLoadedDlls): Ditto. (DllList::forkeeStartLoadDlls): Remove. (DllList::forkeeEndLoadedDlls): Ditto. (DllNameIterator::*): Eliminate class. (LinkedDllNameIterator::*): Ditto. * dll_init.h: Reflect above changes. * fork.cc (fork): Don't generate a list of dlls to load in the parent. Let the child do it. Use new DllList::forkeeLoadDlls to load DLLs. * smallprint.c (__small_vsprintf): No need for a sign on a Win32 error. (small_printf): Move function here from strace(). * strace.cc (small_printf): Move to smallprint.c * include/sys/strace.h: Always declare small_printf.Sun Oct 24 02:22:13 1999 Christopher Faylor <cgf@cygnus.com> * fhandler.cc (fhandler_base::read): Work around C bug.Tue Oct 19 22:10:21 1999 Christopher Faylor <cgf@cygnus.com> * dll_init.cc: Add some external symbols to allow thread-safe compilation.Tue Oct 19 21:09:42 1999 Christopher Faylor <cgf@cygnus.com> Make minor changes throughout to accommodate new gcc merge. * Makefile.in: Remvoe -fpermissive option when compiling using g++. * dcrt0.cc (noload): Mark as "unused" to avoid a compiler warning. * exceptions.cc (sigreturn): Make this "extern" since it essentially *is* extern. * fork.cc (sync_with_parent): Modify to cause the macro to be considered void. * heap.cc (sbrk): Remove debugging code. * passwd.cc (getpass): Don't use fprintf to print the prompt. * path.cc (mount_info::conv_to_win32_path): Accommodate compiler warning. * select.cc (cygwin_select): Experimental version of select which handles fd_sets with non-standard FD_SETSIZE. (select_stuff::wait): Ditto. * termios.cc (tcgetattr): Avoid a compiler warning. (cftospeed): Ditto. (cftispeed): Ditto. * uinfo.cc (netapi32_init): Ditto. * winsup.h (api_fatal): Simplify and avoid a compiler warning. * include/sys/strace.h (system_printf): Ditto. (strace_printf_wrap): Modify to cause the macro to be considered void. (strace_printf_wrap1): Ditto.1999-10-19 DJ Delorie <dj@cygnus.com> * Makefile.in (.cc.o): add -fpermissive to avoid g++'s conformance madness. * environ.cc (_findenv): rename to my_findenv to avoid newlib prototype. * syscalls.cc (logout): remove braces around _PATH_UTMPSat Oct 16 22:53:02 1999 Christopher Faylor <cgf@cygnus.com> * path.cc (mount_info::cygdrive_posix_path): Properly terminate string after Oct 11 change below.Fri Oct 15 23:02:39 1999 Christopher Faylor <cgf@cygnus.com> * exceptions.cc (stack_info): Reimplement stack handling routines in new stack_info class. (stack_info::brute_force): Just fill out the same structure as StackWalk. (stack_info::walk): Just fill out stack info. (stack): Use stack_info class stuff to iterate over and display the stack.Fri Oct 15 00:32:13 1999 Christopher Faylor <cgf@cygnus.com> * include/cygwin/version.h: Bump some versions.Oct 5 11:45:00 1999 Corinna Vinschen <corinna@vinschen.de> * dcrt0.cc (dll_crt0_1): Delete calls to get_WHOEVER_sid. Move call to uinfo_init() to the end of the function. * fhandler.cc (get_file_owner): Substitute call to get_id_from_sid() with call to get_uid_from_sid(). (get_file_group): Substitute call to get_id_from_sid() with call to get_gid_from_sid(). * fork.cc (fork): Copy new pinfo members to child. * grp.cc (parse_grp): Rewritten. Saves gr_passwd and all user names in gr_mem. (read_etc_group): Variable `group_sem' avoids endless loop. * passwd.cc (read_etc_passwd): Variable `passwd_sem' avoids endless loop. * security.cc (get_sid): New function to generate SID from int values. (get_ssid): New function to generate SID from string. (get_pw_sid): New function to generate SID from pw_gecos entry. (get_gr_sid): New function to generate SID from gr_passwd entry. (get_admin_sid): Rewritten to avoid using heap space. (get_system_sid): Ditto. (get_creator_owner_sid): Ditto. (get_world_sid): Ditto. (get_id_from_sid): Try to read SIDs from /etc/passwd or /etc/group files before using RID or Lookup... function. (legal_sid_type): New function. (lookup_name): Rewritten to use the logon server info, if any. (alloc_sd): Try to use SID from /etc/passwd and /etc/group files before call to lookup_name(). (alloc_sd): New parameter for logon server. (set_nt_attribute): Ditto. (set_file_attribute): Ditto. * shared.cc (sec_user): If SID is saved in myself, use it instead of calling lookup_name(). * shared.h: struct pinfo got extended user information. * spawn.cc (spawn_guts): method for forcing reread /etc files changed. (_spawnve): Copy new pinfo members to child. * syscalls.cc (chown): Change call to set_file_attribute(). (chmod): Ditto. * uinfo.cc (internal_getlogin): New function. (uinfo_init): Calls internal_getlogin() now. (getlogin): Uses myself->username now. * winsup.h: extern HANDLE netapi32_handle; Change prototypes for set_file_attribute(), lookup_name(), get_id_from_sid(). New inline functions get_uid_from_sid() and get_gid_from_sid(). * utils/mkgroup.c: Adapt to the new ntsec features. * utils/mkpasswd.c: Ditto.Thu Oct 14 23:46:03 1999 Christopher Faylor <cgf@cygnus.com> Replace calls to GetCurrentProcess() with hMainProc throughout. * autoload.h: Implement LoadDLLinitnow() function to force the loading of a DLL. * cygwin.din: Export cygwin_stackdump. * dcrt0.cc (dll_crt0): Set up hMainProc and hMainThread here. * dll_init.cc (dll_dllcrt0_1): Ditto. * environ.cc (parse_options): New "oldstack" option for forcing the use of the old stack walking code. * exceptions.cc (signals_init): Remove. (err_printf): Remove. Use small_printf throughout. (sfta): New helper function for StackWalk. (sgmb): Ditto. (stack_brute_force): Renamed from old stack walk function. Now uses frame pointer from context handler. (stack_walk): New function. Uses Windows API to walk the stack. (stack): Reimplement to attempt to load imagehlp.dll. If this succeeds use stack_walk() to display stack info, otherwise use stack_brute_force. (cygwin_stackdump): Temporary (?) function for displaying a stack dump from the called location. (stackdump): Accept new parameters for passing to stack(). (handle_exceptions): Call stackdump with new parameters needed to walk the stack. * fhandler.cc (fhandler_base::read): Fix potential buffer overrun. Fix end of buffer problems when \r is not followed by a \n. (fhandler_base::lseek): Avoid flushing read ahead when not moving the file pointer. * fhandler_termios.cc (fhandler_termios::set_ctty): Add a debugging statement. * sigproc.cc (sigproc_init): Eliminate obsolete signals_init function. * winsup.h: Add some declarations.Wed Oct 13 09:02:32 1999 Kazuhiro Fujieda <fujieda@jaist.ac.jp> * path.cc (readlink): Return errno correctly when it can't find the target symlink.Tue Oct 12 13:02:08 1999 Christopher Faylor <cgf@cygnus.com> * syscalls.cc (setsid): Only reset sid/pgid when NOT process group leader. * tty.cc (tty_list::allocate_tty): Don't set sid to myself. The first tty open should do that.Mon Oct 11 23:13:29 1999 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (noload): Issue appropriate Windows error. * fhandler_termios.cc (fhandler_termios::ctty): Don't automatically set sid, etc., unless the current pid associated with the tty's sid does not exist. * path.cc (mount_info::cygdrive_posix_path): Avoid copying beyond the end of buffer or suffer garbage. * pinfo.cc (pinfo_init): Restore sid behavior of a year ago. The sid should be the same as the pid to be equivalent to UNIX. (pinfo_list::operator []): Add more bounds checking.Sun Oct 10 14:08:30 1999 Christopher Faylor <cgf@cygnus.com> * select.cc (select): Return error if n > FD_SETSIZE. This is a temporary fix.Sun Oct 10 13:56:14 1999 Christopher Faylor <cgf@cygnus.com> * path.cc (iscygdrive_device): Be more precise in detecting when a "cygdrive" device. This should allow 'mkdir -p' to work correctly.Fri Oct 08 08:55:31 1999 Kazuhiro Fujieda <fujieda@jaist.ac.jp> * path.cc (symlink_check_one): set errno to EINVAL on socket files same as normal files.1999-10-06 DJ Delorie <dj@cygnus.com> * include/oaidl.h (IDispatch.GetIDsOfNames): Use DISPID* not DISPID1999-10-06 DJ Delorie <dj@cygnus.com> * exceptions.cc (err_printf): new function; print to stderr without strace's clutter. The stacktrace functions use this, so the stacktrace files should be cleaner. (exception): Print segment registers also (stack): include a peek at the function's argumentsTue Oct 5 16:33:17 1999 Christopher Faylor <cgf@cygnus.com> * hinfo.cc (hinfo::extend): Eliminate inappropriate test for boundary condition.1999-10-04 DJ Delorie <dj@cygnus.com> * config/i386/longjmp.c: don't restore %fs (Paul Sokolovsky <paul-ml@is.lg.ua>)1999-10-04 DJ Delorie <dj@cygnus.com> * localtime.c (tzsetwall): Handle Asian Windows strings correctly (from Kazuhiro Fujieda <fujieda@jaist.ac.jp>).Sat Oct 2 23:00:00 1999 Corinna Vinschen <corinna@vinschen.de> * include/lm*.h: Correct multiple problems in lan manager header files.Sun Oct 3 14:29:53 1999 Christopher Faylor <cgf@cygnus.com> * sysdef/imagehlp.def: New file. Definitions for imagehlp.dll. * include/imagehlp.h: Ditto. * include/winbase.h: YA missing structure.Fri Oct 1 11:16:00 Corinna Vinschen <corinna@vinschen.de> * security.cc (alloc_sd): Correct setting of FILE_DELETE_CHILD. (get_file_attribute): Read ntea attributes only if ntsec is disabled. * syscalls.cc (_unlink): Don't queue file into delqueue if DeleteFile returns ERROR_ACCESS_DENIED.1999-09-30 Mumit Khan <khan@xraylith.wisc.edu> * init.cc (dll_entry): Remove static_load case. * dcrt0.c (set_os_type): Make it externally visible. * dll_init.cc (dll_dllcrt0_1): Update noncygwin initialization for post-b20.1 code.1999-09-30 DJ Delorie <dj@cygnus.com> * times.cc: declare _timezone and _daylight properlyWed Sep 29 23:57:40 1999 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (do_exit): Remove EXIT_SIGNAL mask when exiting. It is not correct given changes to really_exit. * select.cc (peek_serial): Work around apparent Windows bug.1999-09-29 Norbert Schulze <Norbert.Schulze@rhein-neckar.de> * times.cc (timezone): revert 'return TZ if set' patch. * times.cc (timezone): uses now tzset() and _timezone. * times.cc (gettimeofday): ditto. * localtime.c (tzsetwall): no negative minutes if offset is negativ. * localtime.c (tzsetwall): minutes place holder was missing if minutes == 0 and seconds !=0 (h:0:s). * localtime.c (tzsetwall): if timezone has no daylight saving (tz.StandardDate.wMonth==0) generate no daylight saving parameters.Sat Sep 25 15:11:04 1999 Christopher Faylor <cgf@cygnus.com> * fhandler_termios.cc (fhandler_termios::bg_check): Accept a new argument to control whether we should worry about blocking signals. * fhandler.h: Ditto. * syscalls.cc (read_handler): Accept a new argument for passing to bg_check. (read): Inform read_handler if signals are blocked or not. * termios.cc: Throughout, reorganize to always block signals before calling bg_check.Sat Sep 25 13:36:06 1999 Christopher Faylor <cgf@cygnus.com> * fhandler.h (fhandler_termios::line_edit): Add an extra argument. * fhandler_serial.cc (fhandler_serial::open): Maintain consisten fAbortOnError state. * fhandler_termios.cc (fhandler_termios::line_edit): Use new "always_accept" argument to control whether input_done is set regardless of canonical state. * fork.cc (vfork): Duplicate "parent's" fd table. * hinfo.cc (hinfo::dup_worker): New method. (dup2): Use new dup_worker method. (hinfo::fixup_after_fork): Lock dtable prior to operating on it. (hinfo::vfork_child_dup): New method. Duplicates dtable for vfork. (hinfo::vfork_parent_restore): New method. Restores dtable when vfork exits. * net.cc (set_winsock_errno): Make global. * pipe.cc (pipe): Default mode to binary unless *explicitly* set to text.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -