?? changelog-1997
字號:
* exec.cc (_execve): add missing const to args to match def of execve in newlib which this calls. (sexecve): add missing const to def (sexeclpe): don't need to cast argv in sexecvpe call (sexecvpe): add missing const to def * winsup.h: correct _execve proto, add protos for login/logout * syscalls.h: correct sexecve, sexecvpe protos * include/Windows32/Base.h: NULL should be defined differently for C++ * init.cc: respacingTue Sep 23 17:05:50 1997 Geoffrey Noer <noer@cygnus.com> patch from sos@prospect.com.ru (Sergey Okhapkin): * dcrt0.cc (dll_crt0_1): don't use alloca for allocating storage for environment blocks because setenv() uses realloc!Tue Sep 23 17:05:50 1997 Geoffrey Noer <noer@cygnus.com> patch from cgf@bbc.com (Chris Faylor): * Makefile.in (LD_STUFF): Add datestamp.o after DLL_OFILES. (datestamp.o): New target. datestamp.c is generated whenever .o files change. It creates a file containing a "date stamp" which is used by the function "cygname" to create named shared memory, events, mutexes, and semaphores used by cygwin.dll. The unique datestamp allows multiple loading of different cygwin.dll's even when they have incompatible use of shared memory areas. * init.cc (dll_entry): Create the name string used by cygname from the name of the invoking .dll + the datestamp of the .dll from the auto-generated datestamp.c * misc.cc (cygname): New function. Creates a standard Cygnus shared resource name given a prefix, a name (e.g., pinfo_mutex), and a numeric suffix (e.g., a pid). Replaces custom code in several files. Uses cygwin_dlldate from datestamp.c to construct names that are unique for a given cygwin load. * shared.cc (open_shared_file_map): Use standard cygname function to create names for sharable objects. Use static handle 'h' so that it can be closed later by shared_terminate. (shared_terminate): Guard against calling CloseHandle with a NULL handle. (create_shared_fd_mapping_name): Use cygname function to generate the name for the "fd_map".Tue Sep 16 23:34:36 1997 Geoffrey Noer <noer@cygnus.com> patch from sos@prospect.com.ru (Sergey Okhapkin): * fcntl.cc (_fcntl): correct errno value (EBADF instead of EBADFD).Tue Sep 16 17:22:28 1997 Geoffrey Noer <noer@cygnus.com> patch from sos@prospect.com.ru (Sergey Okhapkin): * include/Windows32/Defines.h: add missing defines needed for NTEA usage. * ntea.cc: remove them from here * syscalls.cc (_link): call CreateFile with FILE_WRITE_ATTRIBUTES flag instead of GENERIC_WRITETue Sep 16 17:22:28 1997 Geoffrey Noer <noer@cygnus.com> patch from cgf@bbc.com (Chris Faylor): * pinfo.cc (pinfo_init): Fix a NULL pointer dereference when PID environment variable contains garbage.Thu Sep 11 16:51:40 1997 Geoffrey Noer <noer@cygnus.com> * syscalls.cc (ftruncate): read file pointer location at beginning of function and restore it at the endThu Sep 11 15:35:10 1997 Ian Lance Taylor <ian@cygnus.com> * path.cc (backslashify): Don't turn a single trailing slash into a double trailing slash.Wed Sep 10 11:40:55 1997 Ian Lance Taylor <ian@cygnus.com> * include/Windows32/Structures.h: Add PACKED to PRINTDLG. * include/Windows32/Functions.h: Add STDCALL to a few function declarations.Tue Sep 9 02:12:18 1997 Geoffrey Noer <noer@cygnus.com> patch from sos@prospect.com.ru (Sergey Okhapkin): * syscalls.cc (_link): Implement hard links under NT with NTFS using the backup API. Default to copying the file (what we did before).Mon Sep 8 20:19:09 1997 Geoffrey Noer <noer@cygnus.com> Merge in the following changes: Thu Aug 21 13:30:12 1997 Ian Lance Taylor <ian@cygnus.com> * assert.cc: New file. * Makefile.in (DLL_OFILES): Add assert.o. (assert.o): New target. * pinfo.cc (cygwin32_winpid_to_pid): New C function. * cygwin.din: Add cygwin32_winpid_to_pid. * include/sys/cygwin.h: Include <sys/types.h>. (cygwin32_winpid_to_pid): Declare. * pinfo.cc (pinfo_init): Add debug_printf showing pid and pgid. Wed Aug 20 13:24:30 1997 Ian Lance Taylor <ian@cygnus.com> * spawn.cc (env_sort): New static function. (spawn_guts): Sort the environment before passing it to CreateProcess. * exceptions.cc (exit_already): New file static variable. (__cygwin_exception_handler): If exit_already is set, just return. If we get an exception we don't recognize, let the next exception handler handle it. Just ignore the INVALID_HANDLE exception. (really_exit): Remove file static exit_already variable; use the global one. (events_terminate): Set exit_already. * include/Windows32/Defines.h (EXCEPTION_INVALID_HANDLE): Define. (STATUS_INVALID_HANDLE): Define. * include/Windows32/Functions.h: Declare some shell functions.Mon Sep 8 17:40:46 1997 Geoffrey Noer <noer@cygnus.com> patch from sos@prospect.com.ru (Sergey Okhapkin): * dcrt0.cc (_exit): Kill the foreground process group on session leader exit only if job control is in progress. * exceptions.cc (ctrl_c_handler): protect the code with critical section. This helps stability under Win 95. * include/sys/strace.h: add new wm_printf macro * signal.cc (kill_worker): window message number changed (window messages WM_USER-WM_USER+0x100 reserved for common controls on windows95). Debug print added. * spawn.cc (spawn_guts): removed unneeded flag DETACHED_PROCESS. * strace.cc: defines for SIGNAL and ASYNCIO messages added. * tty.cc (create_tty_master): initialize speed fields of termios structure. (fhandler_pty_master::open): likewise. * window.cc (WndProc): debug print added, window message number changed. * winsup.h: WM_ASYNCIO number changed.Mon Sep 8 16:40:46 1997 Geoffrey Noer <noer@cygnus.com> patch from cgf@bbc.com (Chris Faylor): * fhandler.h: set_w_binary/set_r_binary now defined to return void * grp.cc (getgroups): always return an array of length 1 where the element is the user's gid. * pinfo.cc (pinfo_init): verify that we haven't exceeded the maximum number of processes (pinfo_list::allocate_pid): ditto * include/Windows32/Functions.h: add noreturn attrib to ExitProcess * include/sys/strace.h: change strace defs so strace-related printfs will automatically add __FUNCTION__: to the beginning, rename __sys_printf to strace_printf. * *.cc: remove function names from debug printfs in favor of the new scheme where they are automatically added, change __sys_printf references (now strace_printf). * smallprint.c (__small_vsprintf): new function displayer code to support the above changesWed Sep 3 12:44:45 1997 Geoffrey Noer <noer@cygnus.com> * Makefile.in: split subdir_do into subdir_dobefore and subdir_doafter to reflect whether the subdir in question should be built before or after the top level is built (e.g. glob needs to be built before libcygwin.a but libcygwin.a needs to be built before utils).Thu Aug 28 12:09:39 1997 Geoffrey Noer <noer@cygnus.com> * configure.in: when setting up EXE_LDFLAGS, correct the location of crt0.o to ../../newlib since EXE_LDFLAGS is used by Cygwin32 subdirectories where newlib is two directories up instead of one. * configure: regenerate with autoconfThu Aug 28 00:13:11 1997 Geoffrey Noer <noer@cygnus.com> Replace all licensing-related headers in all Cygnus-owned files. Instead of listing terms at the top of each file, now we simply refer to: * CYGWIN32_LICENSE: new file listing Cygwin32 licensing termsWed Aug 27 17:40:16 1997 Geoffrey Noer <noer@cygnus.com> * cygwin.din: export random, srandomWed Aug 20 16:56:39 1997 Geoffrey Noer <noer@cygnus.com> * Makefile.in: remove unused winsock-related build rules that were commented out, minor comment changes, remove test.exe build rule.Wed Aug 20 14:45:17 1997 Geoffrey Noer <noer@cygnus.com> * Makefile.in: link cygwin.dll with -lm -lgcc -lc -lgcc instead of -lc -lm -lm -lgcc so lgcc finds abort(). Add definitions that will eventually be used to build a cygwindebug.dll used by gdb so gdb can debug a buggy cygwin.dll. Change some variable names to have underscores in them (DLL_NAME, LIB_NAME, DEF_FILE, etc.). Comment out text.exe build rule. Tue Aug 19 20:41:51 1997 Geoffrey Noer <noer@cygnus.com> * dcrt0.cc: respace, modify some comments slightlyTue Aug 19 16:17:57 1997 Geoffrey Noer <noer@cygnus.com> * Makefile.in: include ../libiberty/random.o, stop including librx since it is LGPL'd code. * stubs.cc: add stubs for regcomp, regexec, regerror, regfree * dcrt0.cc (dll_crt0_1): default to not support tty/pty devs, default to not displaying the running process in the title bar.Fri Aug 15 18:23:43 1997 Rob Savoye <rob@cygnus.com> Add mingw directory for the minimalist cygwin environment. See mingw/ChangeLog for changes specific to that directory * configure.in: Add mingw to AC_CONFIG_SUBDIR. * configure: Regenerated from autoconf 2.12 with Cygnus patches. * Makefile.in: Use subdir_do which uses the value of $SUBDIRS rather than having seperate target for each directory. * glob/Makefile.in: Add a phony target for install. * configure.in: Add mingw to AC_CONFIG_SUBDIR.Fri Aug 15 01:12:19 1997 Geoffrey Noer <noer@cygnus.com> * times.cc: add missing extern "C"s around exported functionsThu Aug 14 17:00:32 1997 Geoffrey Noer <noer@cygnus.com> patch from sos@prospect.com.ru (Sergey Okhapkin): * console.cc (fhandler_console::input_tcsetattr): clear iflag_ and lflag_ when tty support enabled. (FakeReadFile): do not interrupt read when tty support enabled. Do not reset signal_arrived event. * cygwin.din: add exports - cf(g)set(i)ospeed, login, logout, ttyslot * dcrt0.cc (_exit): kill orphaned childs with SIGHUP and SIGCONT on group leader exit, kill foreground process group on session leader exit. * dirsearch.cc (closedir): check for FindFirst() was called * exceptions.cc: include mywinsock.h. (call_handler): call WSACancelBlockingCall to try to interrupt blocking winsock call, do PulseEvent() instead of SetEvent(). (ctrl_c_handler): clear pending SIGCONT on stop signals, clear all pending stop signals on SIGCONT, suspend the thread before resuming to avoid W95 bug, process pending signals on SIGCONT, add signals to pending if the process is stopped. * fcntl.cc (fcntl): some code rearrangement to always do debug printfs on call exit. * hinfo.cc: include stdio.h (hinfo_vec::build_fhandler): always add ttynum to tty's filename (hinfo_vec::dup2): fix return value initialization and errno setting. * include/netdb.h: typedef for sig_t removed * include/sys/termios.h: octal constants changed to hexadecimals to simplify debugging. * misc.cc: include unistd.h and utmp.h (login): new (logout): new * pinfo.cc (lock_pinfo_for_update): debug printf added (pinfo::record_death): mark processes as orphaned on group leader exit. * select.cc (cygwin32_select): ResetEvent() removed * signal.cc: unneeded ResetEvents removed (_kill): ignore stop signals from a member of orphaned process group, kill self process the last on group kill. (sigaction): reset pending SIGCHLD when the disposition is set to default. * spawn.cc (spawn_guts): ResetEvent removed (cwait): do not interrupt the call * strerror.cc: include stdio.h, reenable disabled cases, remove duplicated cases, return decimal error value in the default case. * syscalls.cc (setsid): set process group id to process id when setsid called. (setpgid): check for negative pgid * syslog.cc (syslog): %m macro support added * termios.cc (cfg(s)eti(o)speed): new fuctions needed to support NIST PCTS requirements. * tty.cc: include utmp.h. (ttyslot): new (tty_list::terminate): fill in utmp on tty master exit (tty_list::allocate_tty): check for tty master pocess alive (create_tty_master): fill in utmp (do_input): restart tty output on interrupt (fhandler_tty_slave::fhndler_tty_slave): ttynum logic moved to build_fhandler. (fhandler_tty_slave::open): set tty's session id to sid of the calling process. (fhandler_tty_slave::write): check for TOSTOP bit (fhandler_tty_slave::fstat): allow access to tty to everyone (fhandler_tty_slave::ioctl): check for TOSTOP bit * tty.h: ttyslot prototype added * wait.cc (wait4): check for valid value of option argument added * winsup.h: define PID_ORPHANED, move tty_l
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -