📄 changelog-1996
字号:
Wed Oct 23 10:43:05 1996 Jeremy Allison <jra@cygnus.com> * dcrt0.cc (api_fatal): Changed locking clear of process table to unlocking clear. Needed as lock code calls api_fatal. * exceptions.cc: Added debug_printfs to follow exceptions in strace mode. * pinfo.cc: Added code to ensure fd table is cleared when new pid entry allocated. Fixed bug when process is terminated violently by TerminateProcess and leaves fd table non-zero. * termios.cc: Changed stubbed out syscalls to syscall_printf rather than small_printf. Stops annoying tcdrain message. * winsup.h: Made get_empty_pinfo call private to pinfo_list. Should never be called external to this class.Tue Oct 22 16:14:23 1996 Jeremy Allison <jra@cygnus.com> * hinfo.cc: Removed previous change. This is not the correct place to flush input events.Tue Oct 22 09:25:32 1996 Jeremy Allison <jra@cygnus.com> * dcrt0.cc: Fixed up exit code to clean up pinfo array. * exceptions.cc: Fixed up exit code to clean up pinfo array. * fork.cc: Tidied up access to inuse_p entry. Added flags to allow different states to be represented. * hinfo.cc: Added code to flush pending events if stdin is a console. * pinfo.cc (pinfo::record_death): Added code to clean the pinfo array if we are an exiting parent. * spawn.cc: Removed erroneous code to clean childs pinfo entry. * wait.cc: Changed WAIT_ERROR_RC to Win32 WAIT_FAILED. Tidied up access to pinfo array. * winsup.h: Added record_death_nolock to pinfo class. Added PID_XXX types for inuse_p.Tue Oct 22 01:26:52 1996 Geoffrey Noer <noer@cygnus.com> * include/Windows32/Base.h: * include/Windows32/Functions.h: * include/Windows32/Structures.h: * include/Windows32/UnicodeFunctions.h: Fixes to just commited changesMon Oct 21 19:58:50 1996 Geoffrey Noer <noer@cygnus.com> * include/Windows32/ASCIIFunctions.h: * include/Windows32/Base.h: * include/Windows32/Defines.h: * include/Windows32/Functions.h: * include/Windows32/Structures.h: * include/Windows32/UnicodeFunctions.h: Add back items in old include files (commdlg.h, ddeml.h, shellapi.h, winadvapi.h, winbase.h, wincon.h, windef.h, windowsx.h, winerror.h, wingdi.h, winkernel.h, winnt.h, wintypes.h, winuser.h, winversion.h) which should now be able to be erased and windows.h modified to point to the new headers without anything nasty happening. * include/WINREADME: deleted * include/mywinsock.h: removed many blank linesMon Oct 21 09:48:00 1996 Jeremy Allison <jra@cygnus.com> * select.cc: Re-written from scratch. Take account of the following cases. (1). All sockets [written&works] (2). Handles, sockets and always readies [written,not tested] (3). All handles [written,not tested]. (4). Handles & sockets with timeout [not yet written,returns -1]. Correctly blocks and doesn't spin cpu. * pinfo.cc: Changed to add global lock around pinfo array. * fork.cc: Changed to use global pinfo lock. * shared.cc: Fixed bug with fork()->exec()->exec() code. * net.cc: Removed select_init() call (no longer used). * spawn.cc: Implemented suggestion that spawn creates process suspended, then sets up it's dwProcessId entry in the shared pinfo array. * wait.cc: Changed to use global pinfo lock. * winsup.h: Added missing windows_95() call. * fhandler.h: Changed ifdefs to select new always_ready methods. * fhandler.cc (fhandler_console::write): Fixed bug where return of write_normal was being ignored. * dcrt0.cc: Added code to use global pinfo lock. Ensure that process records it's own death. * exceptions.cc: Added code to clear our entry in pinfo array when we are exiting. Should reduce dead processes in pinfo array. * include/winbase.h: Added MAXIMUM_WAIT_OBJECTS define.Mon Oct 21 00:52:17 1996 Geoffrey Noer <noer@cygnus.com> * Makefile.in: install headers from new Windows32 dirSat Oct 19 00:47:58 1996 Geoffrey Noer <noer@cygnus.com> * include/Windows32/Base.h: change DWORD to unsigned int from unsigned long, change __WIN32__ checks to _WIN32, change // comments to /* */Fri Oct 18 17:33:07 1996 Geoffrey Noer <noer@cygnus.com> * include/Windows32/Defines.h: change INFINITE to 0xFFFFFFFF, add back definitions present in old winsup headers missing from this file (STATUS_WAIT_0 et al, CONTEXT stuff, FAR, PACKED, ASCIICHAR) * include/Windows32/Functions.h: change // comments to /* */ * include/Windows32/Messages.h: add definitions for WM_NULL, WM_PENWINFIRST, WM_PENWINLAST * include/Windows32/Sockets.h: change __WIN32__ checks to _WIN32 * include/Windows32/Structures.h: add ppc case for CONTEXT structure, change // comments to /* */Fri Oct 18 17:25:09 1996 Geoffrey Noer <noer@cygnus.com> * include/Windows32: new directory for Windows headers * include/Windows32/ASCIIFunctions.h: * include/Windows32/Base.h: * include/Windows32/Defines.h: * include/Windows32/Errors.h: * include/Windows32/Functions.h: * include/Windows32/Messages.h: * include/Windows32/Sockets.h: * include/Windows32/Structures.h: * include/Windows32/UnicodeFunctions.h: New Win32 headers from Scott Christley's windows32api-0.1.2 package with no local modifications.Wed Oct 16 17:16:33 1996 Geoffrey Noer <noer@cygnus.com> * key.cc: remove extra blank lines, change ASCIICHAR to AsciiChar * registry.cc: remove #include <winbase.h> since it's already included in windows.hTue Oct 15 09:51:48 1996 Jeremy Allison <jra@cygnus.com> * fhandler.h: Many changes to support moving fhandler array out of shared area into locally allocated memory. Removed fhandler class, fhandler_base is now root of class tree. Re-arranged class definitions to make it clear what functions are virtual and can be overridden. Inlined may accessor functions. * fhandler.cc: Many changes to support moving fhandler array out of shared area into locally allocated memory. unix_path_name_ is now always set (all fhandler_base classes have a name). * hinfo.cc: Many changes to support moving fhandler array out of shared area into locally allocated memory. Added linearization and de-linearization functions. * net.cc(socket): Added code to keep name for fhandler_socket. * pinfo.cc : Changed allocation of fhandler_base array to be in local memory rather than in shared area. (modified functions are pinfo_init, pinfo_list::get_empty_pinfo, pinfo_list::allocate_pid, pinfo::record_death). * shared.cc: Added functions to copy fd area for spawned process. Changed name of shared area to include master version number of Cygwin32. * spawn.cc (spawn_guts): Added code to initialize new shared area for fds. * syscalls.cc: Changed all code depending on NOFILE to use getdtablesize(). Added internal setdtablesize() call for exec'ed processes. * syscalls.h: Added getdtablesize(). * sysconf.cc (sysconf): Changed SC_OPEN_MAX to return getdtablesize(). * winsup.h: Moved fhandler array out of shared area. Changed from fhandler to fhandler_base (new root of class tree). * include/mywinsock.h: Updated #endif to make end of __INSIDE_CYGWIN32__ clear. * include/winkernel.h: Added UnmapViewOfFile call.Mon Oct 14 14:59:16 1996 Geoffrey Noer <noer@cygnus.com> * sysdef/i386: replace all files with ones from Scott Christley's windows32api-0.1.2 package. Still need to integrate new headers.Mon Oct 14 13:41:14 1996 Geoffrey Noer <noer@cygnus.com> * syscalls.cc (_unlink): need to fchmod file to writable before attempting to delete. This change still needs more work (fchmod isn't written yet). * (fchmod): change commentFri Oct 11 22:27:17 1996 Geoffrey Noer <noer@cygnus.com> * fhandler.cc, fhandler.h: minor fixes to console support functions (remove missed reference to gotarg2, definition in fhandler.h)Wed Oct 9 17:55:00 1996 Geoffrey Noer <noer@cygnus.com> * delqueue.cc: added copyright notice, reformatted file from sos@prospect.com.ru (Sergey Okhapkin): * fhandler.cc, fhandler.h: add/fix ansi/vt100 console support, and fix a tab bug (modified functions are fhandler_console_out::clear_screen, fhandler_console_out::clear_to_eol, fhandler_console_out::char_command, fhandler_console_out::write, FakeReadFile)Wed Oct 9 17:32:17 1996 Jeremy Allison <jra@cygnus.com> * times.cc: Swapped gmtime and localtime (they were incorrectly reversed). Added is_dst determination to them both. * misc.c: Added swab, ffs. * fcntl.cc(fcntl): Added capability for lock calls. * fhandler.h: Added lock method into fhandler class. * fhandler.cc: Added NT/Win95 semantics locks into ::lock made them pretend they are POSIX locks. * syscalls.cc (writev): Fixed return value bug. * net.cc: Added WSAEOPNOTSUPP error. * cygwin.din: Added ffs and swab. * include/strings.h: Added file (just include string.h). * include/winbase.h: Added defines LOCKFILE_FAIL_IMMEDIATELY and LOCKFILE_EXCLUSIVE_LOCK. * include/winerror.h: Added define ERROR_LOCK_FAILED.Thu Oct 3 16:19:23 1996 Jeremy Allison <jra@cygnus.com> * fhandler.h: Many changes - removed all public variables from classes, replaced with accessor functions. Renamed all class variables to add a trailing '_'. This makes reading and understanding which variables are class variables much simpler. Changed name member to unix_path_name_ and made dynamic rather than a fixed 31 byte buffer per entry. * fhandler.cc: Updated varable access for above. * fcntl.cc: Updated varable access for above. * hinfo.cc: Updated varable access for above. * spawn.cc: Updated varable access for above. * syscalls.cc: Added fsync (null call) and fchmod(null call at present). * net.cc: Added ioctls for SIOCGIFCONF and SIOCGIFFLAGS. Added ntohs, ntohl, static functions get_winnt_ifconf, get_win95_ifconf and get_if_flags. * include/cygwin32/if.h: Added structs for new ioctls. * include/cygwin32/socket.h: Added iovec include. * include/asm/socket.h: Added defines for above ioctls. * cygwin.din: Added ntohs, ntohl, fsync, fchmod.Wed Oct 2 17:34:21 1996 Geoffrey Noer <noer@cygnus.com> * utils/configure.in: add call to AC_CANONICAL_SYSTEM * utils/configure: regenerate * Makefile.in: build cygwin.dll as new-cygwin.dll and install as cygwin.dll to prevent confusion when building winsup nativelyTue Oct 1 17:27:34 1996 Jeremy Allison (jra@cygnus.com) * include/regex.h: Added. * net.cc: Added WSAECONNRESET, WSAEPFNOSUPPORT to errmap array.Tue Oct 1 15:40:39 1996 Jeremy Allison (jra@cygnus.com) * fork.cc (cygwin_fork_helper1): Fixed resource leak of process handles, added cleanup code. Also fixed timout problem when child cannot be initialized. * dirsearch.cc (readdir): Changed comparison to explicitly check for INVALID_HANDLE_VALUE. Test < 0 fails with void *. * syscalls.cc (num_entries): Changed comparison to explicitly check for INVALID_HANDLE_VALUE. Test < 0 fails with void *. * cygwin.din: Added regcomp, regexec, regerror, regfree. * Makefile.in: Added EXTRA_OFILES containing ../librx/rx.o. Added comment to explain makefrag. Added ../newlib/libc/include to include path.Mon Sep 30 16:10:56 1996 Stu Grossman (grossman@critters.cygnus.com) * cygwin.din: Remove getopt and friends.Fri Sep 27 18:31:28 1996 Jeremy Allison <jra@cygnus.com> * dcrt0.cc (dll_crt_1): Moved initialization of _reent to correct position.Fri Sep 27 14:24:05 1996 Jeremy Allison <jra@cygnus.com> * dcrt0.cc (dll_crt_1): Fixed fork bug with _impure_ptr not being initialized correctly in a forked child. This should fix the bash echo in a sub-shell bug. * include/sys/uio.h: Created file. Contains definitions for writev * include/limits.h: Added IOV_MAX and SSIZE_MAX. * syscalls.cc: Added writev, changed read and write to return ssize_t. * syscalls.h: Added writev, changed read and write to return ssize_t. * cygwin.din: Added writev call.Wed Sep 20 13:09:00 1996 Jeremy Allison <jra@cygnus.com> * include/mntent.h: Added MOUNTED definition, needed by some code. * dcrt0.cc : Added __progname for getopt code. * misc.c: Added getw code. * cygwin.din: Added getopt, optarg, opterr, optind optopt, putw, getw calls.Fri Sep 20 03:03:17 1996 Geoffrey Noer <noer@cygnus.com> * select.cc: change long millisec to unsigned int, respaced file patch from Sergey Okhapkin <sos@prospect.com.ru>: * select.cc (polled): fix for select to get keyboard input working properly (check EventType != KEY_EVENT instead of checking for KeyEvent.AsciiChar == 0) * select.cc (cygwin32_select): make int i unsigned int so NULL is a valid timeout argument for loop Fri Sep 13 18:21:52 1996 Jeremy Allison <jra@cygnus.com> * fhandler.cc (fhandler_base::read): rewrite text mode readFri Sep 13 14:58:17 1996 Geoffrey Noer <noer@cygnus.com> * exceptions.cc (call_handler): fix control-C not working problem by setting rethere variable before the old value is clobbered.Thu Sep 12 16:27:00 1996 Jeremy Allison <jra@cygnus.com> * syslog.cc (pass_handler) : Removed duplicate code in pass_handler::print(). Added get_win95_event_log_path() to facilitate moving to registry configuration.Thu Sep 12 12:56:00 1996 Jeremy Allison <jra@cygnus.com> * syslog.cc : Added real openlog, syslog, logmask, closelog calls. syslog logs to event log on NT, file on Win95. * include/winnt.h : added EVENTLOG_xx_TYPE definitions. * include/winadvapi.h : added ReportEventA, RegisterEventSourceA DeregisterEventSourceA declarations. * include/winkernel.h : added LockFile, UnlockFile, LockFileEx, UnlockFileEx declarations. * include/wintypes.h : added PSID typedef. * include/sys/syslog.h : added options flag definitions for openlog.Wed Sep 11 15:34:09 1996 Geoffrey Noer <noer@cygnus.com> * fhandler.cc (popen): delete stub in favor of newlib's
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -