📄 changelog-1998
字号:
Thu Dec 31 16:50:32 1998 DJ Delorie <dj@cygnus.com> * mmap.cc: replaced all references to libstdc++ templates with inline classes to remove build dependency on libstdc++Thu Dec 31 00:02:40 1998 Geoffrey Noer <noer@cygnus.com> * sysdef/uuid.def: remove useless stub. * sysdef/oldnames.def: ditto. * sysdef/largeint.def: ditto. * sysdef/rpcndr.def: ditto.Wed Dec 30 20:33:09 1998 Geoffrey Noer <noer@cygnus.com> * utils/cygcheck.cc: clean up misc. warnings relating to signed vs. unsigned, char * vs. const char *, etc...Wed Dec 30 21:41:25 1998 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (do_exit): Remove previous dwProcessId change as it presumes too much knowledge about signalling in the wrong place in the code. * sigproc.cc (sigproc_terminate): Move the dwProcessId assignment here but only do it when it is necessary or programs will die abnormally. * fhandler.h: Add raw_write method to fhandler_serial. * fhandler_serial.cc (raw_write): New method. Accommodates overlapped I/O that now must be used with serial. * utils/kill.cc (main): Allow `0' signal. Just checks for existence of process.Wed Dec 30 00:01:18 1998 Geoffrey Noer <noer@cygnus.com> * include/cygwin/version.h: bump API_MINOR to 8 to mark recently exported _ctype_, _sys_errlist, _sys_nerr. Briefly describe all API_MINOR changes to date.Wed Dec 30 01:31:34 1998 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (do_exit): Set myself->dwProcessId so that some exit routines will not falsely believe that this process has been execed. * select.cc (peek_serial): Remove debugging statements. * sigproc.cc (sigproc_terminate): Detect state where myself->dwProcessId == 0 as indicative of not being an exec stub.Tue Dec 29 21:13:33 1998 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (alloc_stack_hard_way): Fix a couple of thinkos in calculating size of the new stack. Just use the size passed from the parent. (dll_crt0_1): Set up new frame pointers here, if appropriate. * fork.cc (fork): Move frame pointer setup into dll_crt0_1.Tue Dec 29 12:57:38 1998 Geoffrey Noer <noer@cygnus.com> * utils/mkpasswd.c: Include wchar.h. * utils/mkgroup.c: Ditto.Tue Dec 29 12:53:23 1998 Geoffrey Noer <noer@cygnus.com> * Makefile.in: remove dep for libcerr.oMon Dec 28 22:02:15 1998 Christopher Faylor <cgf@cygnus.com> * fhandler.h: Make fhandler_serial io_status public since select needs it. Add 'saw_error' field to select_record so that select can detect error conditions. * fhandler_serial.cc (fhandler_serial::raw_read): Detect "operation aborted" error and retry. This seems to indicate an attempt to retry an overlapped operation. * select.cc (select_stuff::wait): Honor saw_error field when appropriate. (peek_serial): Rewrite to operate similarly to fhandler_serial::raw_read. * include/sys/termios.h: CBAUD mask was still not right.Mon Dec 28 09:09:27 1998 Christopher Faylor <cgf@cygnus.com> * libcerr.cc: Make obsolete. Move into errno.cc * libctype.c: Make obsolete. Use newlib table. * Makefile.in: Remove obsolete entries from LIBCOS. Define __INSIDE_CYGWIN__ explicitly for .c -> .o compilation. * cygwin.din: New exports: _ctype_, _sys_errlist, _sys_nerr. * errno.cc: Move _sys_errlist and _sys_nerr here. * dlfcn.cc: Reorganize includes to put ctype.h after winsup.h so that __INSIDE_CYGWIN__ will be defined for use in ctype.h. * fhandler_console.cc: Ditto. * fhandler_tty.cc: Ditto. * path.cc: Ditto. * spawn.cc: Ditto.Sat Dec 26 00:20:48 1998 Christopher Faylor <cgf@cygnus.com> patch from Corinna Vinschen <corinna.vinschen@cityweb.de>: * include/Windows32/CommonFunction.h: Added proto for NetUserChangePassword().Thu Dec 24 16:15:40 1998 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (dll_crt0_1): Add more debugging output. * ioctl.cc (ioctl): Can't use TC[GS]ET ioctls for pty master as it conflicts with TIOCPKT. * passwd.cc (passwd): Bypass tc[gs]etattr call in favor of appropriate method or conversion confusion will result due to attempts to appropriately convert to old-style termios structures in tc[gs]etattr. * strace.cc (strace_vsprintf): Define t explicitly. * termios.cc (tcsetattr): Reorganize to allow meaningful debugging output. (tcgetattr): Ditto.Wed Dec 23 15:02:11 1998 Christopher Faylor <cgf@cygnus.com> * winsup.h: Reorganize include order to allow thread-safe build.Wed Dec 23 11:45:33 1998 DJ Delorie <dj@cygnus.com> * strace.cc (strace_microseconds): new function; returns elapsed time in microseconds, using performance counters if available. (strace_vsprintf): print timestamps and deltas as microseconds, not seconds.Wed Dec 23 11:35:02 1998 DJ Delorie <dj@cygnus.com> * times.cc (__to_clock_t): Change return value to unsigned long long to prevent overflow.Tue Dec 22 19:37:55 1998 Christopher Faylor <cgf@cygnus.com> * fhandler.h: Reflect fhandler_*::init argument reordering. Add dup and init methods to fhandler_serial. * fhandler.cc (fhandler_base::init): Reorder arguments to mirror open(). * fhandler_console.cc (fhandler_console::init): Ditto. Initialize using fhandler_base rather than fhandler_serial as console is now being slowly uncouple from fhandler_serial. * fhandler_serial.cc (fhandler_serial::fhandler_serial): Set size of data structure or suffer strange behavior on exec(). (raw_read): Add debugging output. (fhandler_serial::init): New method. (fhandler_serial::open): Detect call from init method and avoid calling fhandler_base::open. Don't worry about non-blocking reads since they are now handled correctly by _read(). (fhandler_serial::tcsetattr): Honor ICANON in a kludgey sort of way. (fhandler_serial::tcgetattr): Ditto. (fhandler_serial::dup): New method. Ensures duplication of all elements of fhandler_serial class. * fhandler_tty.cc (fhandler_tty_master::init): Reflect init argument reordering. (fhandler_tty_slave::init): Ditto. * hinfo.cc (hinfo::init_std_file_from_handle): Remove unnecessary argument. (hinfo_init): Reflect change to init_std_file_from_handle. (cygwin_attach_handle_to_fd): Use more appropriate types for arguments. (hinfo::build_fhandler): Add some slop to allocated buffer just for paranoia's sake. (hinfo::dup2): Avoid dereferencing a NULL pointer when oldfd==newfd. * pipe.cc (make_pipe): Reflect init argument change. * shared.h: Another immigrant from winsup.h * winsup.h: Reflect change to init_std_file_from_handle. Relocate a declaration to shared.h so that it can be used in fhandler.h. * include/sys/cygwin.h: Reflect change to cygwin_attach_handle_to_fd.Mon Dec 21 16:22:48 1998 Christopher Faylor <cgf@cygnus.com> * fhandler.cc (fhandler_base::open): Detect serial device as a special case requiring an overlapped open. * fhandler.h (fhandler_serial): Add several methods. Add new 'fixup after fork required' field. * fhandler_serial.cc (raw_read): Rewrite to come closer to handling VMIN VTIME parameters and to allow EINTR. (fhandler_serial::open): Initialize overlapped event here. Make error messages more explicit. (fhandler_serial::close): Close status event. (fhandler_serial::tcsetattr): Store vtime_ as milliseconds. Attempt to handle VMIN > 0, VTIME == 0 better. (fhandler_serial::fixup_after_fork): Initialize a new event handle after a fork. (fhandler_serial::de_linearize): Ditto. * hinfo.cc (hinfo::fixup_after_fork): Call fork fixer upper if close_on_exec of need_fork_fixup set.Sun Dec 20 16:05:25 1998 Geoffrey Noer <noer@cygnus.com> * include/shellapi.h: replace with stub that includes windows.h like similar headers already do. * scandir.cc (scandir): add parens around assignment used as truth value.Sat Dec 19 00:42:44 1998 Christopher Faylor <cgf@cygnus.com> * thread.cc: Fix copyright info. * thread.h: Ditto. * libcmain.cc: gcc is now more picky about requiring a type for main(), so add one. * include/pthread.h: Add attribution for net contributor.Fri Dec 18 19:21:30 1998 Geoffrey Noer <noer@cygnus.com> * pthread.cc: fix copyright header. * shared.h: ditto.Fri Dec 18 19:21:30 1998 Geoffrey Noer <noer@cygnus.com> patch from Corinna Vinschen <corinna.vinschen@cityweb.de>: * cygwin.din: export scandir and alphasort. * Makefile.in: add scandir.o to deps * scandir.cc: New file with scandir and alphasort implementations. * include/cygwin/version.h: bump API_MINOR to 7.Fri Dec 18 16:44:07 1998 Geoffrey Noer <noer@cygnus.com> * include/pthread.h: clean up, remove C++-style comments, remove pthread_getsequence_np proto.Fri Dec 18 15:26:33 1998 Christopher Faylor <cgf@cygnus.com> Throughout, prepend cygwin_ to functions that are exported as cygwin_* which previously needed to be aliased. * path.cc (cygwin_conv_to_win32_path): Resolve symbolic links. Return success or failure value. (cygwin_conv_to_full_win32_path): Ditto. (cygwin_conv_to_posix_path): Return success or failure value. (cygwin_win32_to_posix_path_list): Ditto. (cygwin_posix_to_win32_path_list): Ditto. * shared.h: New include file that incorporates parts of winsup.h, fhandler_tty.h, path.h, and delqueue.h. * Makefile.in: Remove old include files. * cygwin.din: cygwin_* aliases are no longer required. * libccrt0.cc: Store api_minor in per_process structure. * select.cc: Change meaning of second argument to ready_for_read to indicate whether read_ahead should be ignored. * fhandler.h: Reflect change in second argument to ready_for_read. * syscalls.cc (_read): Ditto. * termios.cc: Throughout, detect attempt to use old style termios structure and convert as appropriate. * ioctl.cc (ioctl): Detect use of ioctl requiring termios field and call appropriate tc[gs]et* function to handle it. * fhandler_console.cc (fhandler_console::ioctl): Remove TC* calls that are now handled in main ioctl. * fhandler_tty.cc (fhandler_tty_slave::ioctl): Ditto. * include/cygwin/version.h: Added TERMIOS defines. Bump API_MINOR to 6. * include/sys/cygwin.h: Reflect change in return value for some cygwin_conv_* calls. * include/sys/termios.h: Reformat slightly. Add conversion macros for dealing with old style termios structure. * include/pthread.h: addFri Dec 18 15:03:33 1998 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Cleanup pthread usage.Fri Dec 18 14:35:59 1998 Christopher Faylor <cgf@cygnus.com> * Makefile.in: Remove obsolete header dependency for thread-safe build.Fri Dec 18 14:16:04 1998 Christopher Faylor <cgf@cygnus.com> * exceptions.cc (sig_handle): Avoid suspending top-level processes. * trace.cc: Remove unneeded include.Thu Dec 17 19:19:53 1998 Geoffrey Noer <noer@cygnus.com> * cygwin.din: remove pthread_getsequence_np, _reent_clibThu Dec 17 16:48:15 1998 Geoffrey Noer <noer@cygnus.com> * include/cygwin/version.h: correct two typos in commentsThu Dec 17 19:11:31 1998 Christopher Faylor <cgf@cygnus.com> patch from Corinna Vinschen <corinna.vinschen@cityweb.de>: * include/Windows32/Defines.h: Add values for using Windows function `DeviceIoControl()'.Thu Dec 17 18:00:34 1998 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (dll_crt0_1): exception_list is not a struct. * debug.cc (thread_stub): Ditto.Thu Dec 17 08:24:37 1998 Christopher Faylor <cgf@cygnus.com> * cygwin.din: Remove leading underscores from pthread functions. * include/cygwin/version.h: Bump DLL major version to 21, DLL minor version to 0, and API_MINOR to 5.Wed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> Merge in thread-safe branch changes.Wed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> * pthread.cc: Include winsup.h.Wed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> * thread.cc: Reformat. * pthread.cc: New file. * cygwin.din: Add pthread interface functionsWed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> * configure.in: Add some --enable options. * configure: Regenerate. * Makefile.in: Reorganize CFLAGS to recognize new --enable options.Wed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> * fork.cc (stack_base): Store slightly different information in child_info_fork structure for later use in alloc_stack_hard_way. (fork): Set frame pointer information if stack has been reallocated. * dcrt0.cc (alloc_stack_hard_way): Reflect change in child_info_fork structure. (dll_crt0_1): Make thread initializers "static" and NO_COPY or death of the main thread causes death of other threads. * winsup.h (child_info_fork): Change structure.Wed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> * thread.h: Remove extraneous declaration. * include/sys/strace.h: Make a new thread_printf function for use by new thread-safe code. * thread.cc: Use thread_printf throughout.Wed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> patch from Marco Fuykschot (marco@ddi.nl) * Throughout sources add locking control for preliminary thread-safe cygwin operation.Wed Dec 16 22:54:16 1998 Christopher Faylor <cgf@cygnus.com> * dcrt0.cc (getprogname): Should be a static. (alloc_stack): Extend to allow forking from another thread. (alloc_stack_hard_way): New function used by alloc_stack. (dll_crt0_1); Don't pass parameters since stack may be
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -