changelog-1997

来自「cygwin, 著名的在win32下模拟unix操作系统的东东」· 代码 · 共 1,473 行 · 第 1/5 页

TXT
1,473
字号
        patch from cgf@bbc.com (Chris Faylor):        * console.cc: Add convenience macros and structures for handling        scrolling.        (fhandler_console::fillin_info): New function to fill in the `info'        struct.        (fhandler_console::scroll_screen): Change to scroll only the visible        portion of the screen.  Honor scroll regions more stringently.        (fhandler_console::open): Use new fillin_info function.        (fhandler_console::ioctl): Use new fillin_info function which        automatically calculates screen size.        (fhandler_console::clear_screen): Use new fillin_info function.        Only clear visible portion of screen.        (fhandler_console::cursor_set): Add a flag to indicate whether        cursor positioning is absolute within buffer or is screen relative.        Use new fillin_info function to get screen information.        (fhandler_console::cursor_rel): Use new fillin_info function.        Change for new cursor_set parameter.        (fhandler_console::cursor_get): Use new fillin_info function.        (fhandler_console::char_command): Use new fillin_info function        where appropriate.  Change for new cursor set parameter where        appropriate.  Scroll only visible portion of screen when required.        * fhandler.h (class fhandler_console): Add fillin_info, change        cursor_set to reflect additional argument.Mon Nov 10 15:11:42 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):        * dcrt0.cc (dll_crt0_1): Register process start time.        * fork.cc (cygwin_fork_helper1): Register process start time.        * utils/ps.cc (main): Report process start time.        (start_time): New function to format time similarly to UNIX ps.        A time from today shows as HH:MM, times from previous days just        show the month and day.        * winsup.h (class pinfo): Add start_time field.Mon Nov 10 11:54:27 1997  Ian Lance Taylor  <ian@cygnus.com>        * include/Windows32/Defines.h (TIME_ZONE_ID_INVALID): Define.        * times.cc (gettimeofday): The error return from        GetTimeZoneInformation is TIME_ZONE_ID_INVALID, not        TIME_ZONE_ID_UNKNOWN.Sun Nov  9 17:08:30 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):	* Makefile.in: add ../libiberty/strsignal.o	* cygwin.din: add exports for strsignal, strtosigno	* utils/kill.cc: changes to allow accepting signal name	as argumentSun Nov  9 17:08:30 1997  Geoffrey Noer  <noer@cygnus.com>	* include/limits.h: define PATH_MAX here instead of	include/sys/param.h, define _POSIX_NGROUPS_MAX as 0 not 1	(system invariant value, not implementation-specific)	* include/sys/param.h: remove PATH_MAX, change NOFILE from 64	to 8192, delete PATHSIZE, remove safety wrapper around	MAXHOSTNAMELEN, add comments	* sysconf.cc (sysconf): return NGROUPS_MAX not zero,	return _POSIX_SAVED_IDS not zero.  Return _POSIX_CHILD_MAX	not 4096.  Return _POSIX_CHILD_MAX, not 8.	patch from sos@prospect.com.ru (Sergey Okhapkin):	* winsup.h: add proto for setdtablesize, define NOFILE_INIT	and NOFILE_INCR	* hinfo.cc (hmap_init, hinfo_vec::find_unused_handle): change to	support virtually unlimited numbers of fds.  Remove setdtablesize	proto	* syscalls.cc: initialize dtable_size to NOFILE_INIT instead of	NOFILEThu Nov  6 13:14:09 1997  Geoffrey Noer  <noer@cygnus.com>	* exceptions.cc (__cygwin32_exception_handler): don't	print "In cygwin32_except_handler" for exceptions Cygwin32	isn't going to handle.  Print "(progname PID) Exception: <type>"	to console.  Redirect all detailed information including the	stack trace to <progname>.core.  This should reduce confusion	about what's causing the exception (a lot of people would see "In	cygwin32..." and think the problem was in Cygwin32 when most of	the time it was in some other program).	* syscalls.cc: add fixme	* times.cc: add fixmeWed Nov  5 19:23:10 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):	* Makefile.in: force .c.os and .cc.os to be built in same	directories as sourceWed Nov  5 19:23:10 1997  Geoffrey Noer  <noer@cygnus.com>	* drct0.cc (dll_crt0_1): stop initializing winsock on process	startup since that slows down startup time of all processes, even	ones that don't end up making Winsock calls.	* fork.cc (cygwin_fork_helper1): don't need to call uinfo_init	or socket_checkinit after fork -- the appropriate functions will	do the necessary initialization if they are ever called.	* net.cc: init winsock_init_p to zero and make it static	(all exported functions): call winsock_init before making	any WinSock calls since this no longer happens in dcrt0.cc	startup code.  Only do this if !winsock_init_p.	(winsock_init): checkinit renamed.  Now just inits winsock	without checking whether it has been already initialized.	Make it static.	* uinfo.cc (uinfo_init): after we call getpwnam, we know	the passwd file has been read in so don't check initialization	of it.  However, we do need to read_etc_group() if group_in_memory	isn't set.	* passwd.cc: rename global i variable to pw_pos, rename	passwd_in_memory to passwd_in_memory_p to match net.cc scheme.	Add comments.	(read_etc_passwd): make static	(various): make sure to read_etc_passwd() if passwd_in_memory	isn't set	* grp.cc: add comments, rename idx global to grp_pos,	rename group_in_memory to group_in_memory_p to match net.cc	scheme, group_in_memory_p no longer static (needs to be accessed	by uinfo_init)	* winsup.h: remove proto for socket_checkinit since that's	renamed and static within net.ccTue Nov  4 01:02:20 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):	* signal.cc (sigprocmask): Newer versions of gcc will call	sigprocmask when a builtin constructor is activated.  If this	happens prior to the setup of u->self, then a NULL dereference	will occur.  Guard against this.Mon Nov  3 17:00:45 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):	* hinfo.cc (hinfo_vec::build_fhandler): Open a console for	/dev/tty when !use_tty.Thu Oct 30 10:28:15 1997  Tom Tromey  <tromey@cygnus.com>        * include/mapi.h: New file.        * sysdef/i386/mapi32.def (MAPISendMail@20): New export.Thu Oct 30 15:08:13 1997  Geoffrey Noer  <noer@cygnus.com>        * times.cc: add comments listing standards funcs are defined in	(dump_filetime): remove unused local func        * net.cc (fail): remove local func, replace one reference with        equivalent debug_printf, add standards comments, reformat a little        (fhandler_socket::close): simplify handling of res        (fhandler_socket::fstat): set ENOSYS (unimplemented)        * stubs.cc: set ENOSYS in unimplemented funcs        * uname.cc: add standards comment	* ntea.cc: reformatWed Oct 29 22:43:57 1997  Geoffrey Noer  <noer@cygnus.com>	* times.cc (settimeofday): set ENOSYS instead of EPERM	since ENOSYS maps to "Function not implemented" which is the	case here.	* syscalls.cc (seterrno): on failure, set EACCES instead of EPERM	which is better for the unknown error caseFri Oct 24 01:24:07 1997  Geoffrey Noer  <noer@cygnus.com>	patch from green@cygnus.com (Anthony Green):	* dcrt0.cc: new host_dependent_constants object with a global	instance of it which allows constants that are different in Win 95	and NT to be saved here instead of having forks in the code and	having to check the OS type each time.  Add two constants for	fhandler, one for sharing attributes and one for upper word value	for locking files.	(dll_crt0_1): call host_dependent init function	* fhandler.cc (fhandler_base::open): use above object for	setting shared attributes	(fhandler_disk_file::lock): get upper word for locking from	host_dependent_constants	* winsup.h: define host_dependent_constants class and add extern	for global instance of itWed Oct 22 02:27:53 1997  Geoffrey Noer  <noer@cygnus.com>	patch from sos@prospect.com.ru (Sergey Okhapkin):	* cygwin.din: Export getenv, putenv, setenv and unsetenv instead	of cygwin32_ wrappers	* dcrt0.cc: External variable environ removed	(dll_crt0_1): strip executable's path on console title if	environment variable CYGWIN_TITLE set to "strip", references to	environ removed.	* environ.cc: New file. Code derived from newlib sources.	* exec.cc: include stdlib.h	(execl, execv): new (derived from newlib sources).	(sexecve): reference to environ removed.	(sexecvpe): call getenv instead of cygwin32_getenv.	* grp.cc: new static variable group_in_memory	(read_etc_group): skip blank lines	(getgrgid, getgrnam, getgrent): call read_etc_group when necessary.	* misc.cc (cygwin32_getenv/putenv/setenv/unsetenv): remove	wrappers.	* passwd.cc: new static variable passwd_in_memory	(read_etc_passwd): skip blank lines	(search_for, getpwent): call read_etc_passwd when necessary.	(setpwent): fixed incorrect initialization of i var.	* pinfo.cc (pinfo_init): initialize uid with illegal value to	force read of /etc/passwd and /etc/group.	* spawn.cc: call getenv instead cygwin32_getenv	(spawn_guts): force read of /etc/passwd and /etc/group on sexec	calls.	* uinfo.cc (uinfo_init): read /etc/passwd and /etc/group only if	uid is undefined.	* winsup.h: remove protos for environ, cygwin32_getenv,	cygwin32_putenvWed Oct 22 02:08:54 1997  Geoffrey Noer  <noer@cygnus.com>	* utils/aclocal.m4: new file.  Define autoconf macros for	determining whether we're compiling for the cygwin32 environment	or not and determine the executable suffix	* utils/configure.in: call AM_CYGWIN32 and AM_EXEEXT	* utils/configure: regenerate	* utils/Makefile.in: add $(exeext) after executable names so	programs will be built with the .exe suffixWed Oct 22 00:50:27 1997  Geoffrey Noer  <noer@cygnus.com>	Now that it is possible to use gdb using a stable	cygwin.dll to debug a program using a newer, potentially buggy	cygwin.dll, the strace mechanism will probably end up being	used more and more for debugging timing/race-condition bugs that	aren't easily exposed in a gdb session.  The following changes	make the strace facility better for debugging timing issues by	storing the last few commands in a buffer instead of writing	to disk each function call.	patch from cgf@bbc.com (Chris Faylor):	* dcrt0.cc (dll_crt0_1): Change to strace_init call to take        an argument (for planned future registry changes).        (_exit): Call strace_dump when appropriate.  Add a debugging	printf.        * include/sys/strace.h: Add _STRACE_CACHE, _STRACE_EXITDUMP,	strace_dump ().        * strace.c (strace_init): Allow hexadecimal, octal setting of        strace flags in environment variable.  Handle new cache option.        (strace_printf): Display number of seconds from last message.        Handle _STRACE_CACHE.        (strace_dump): New function.  Dump cached messages to disk.Wed Oct 22 00:08:40 1997  Geoffrey Noer  <noer@cygnus.com>	* cygwin.din: export socket calls without cygwin32_ prefix	* net.cc: remove unused herror function in favor of	cygwin32_herror	which is exported as herror	* include/netdb.h: we are now exporting the socket calls without	the cygwin32_ prefix so we don't need the nasty remapping in	header files	* include/arpa/inet.h: ditto	* include/sys/socket.h: ditto	* select.cc (select): make extern CTue Oct 21 22:52:29 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):	* sigproc.cc (sigproc_terminate): Fix flawed attempt to signal        any processes waiting for signal notification success when the        process receiving the signal is terminating.        (wait_subproc): Report on errors when opening the	sync_proc_subproc mutex.  Move initialization of events[0]	"wakeup" signal prior to wait_subproc_inited or risk a (miniscule)	chance for a reference to a NULL handle.        * strace.cc (ta[]): Change WM_ASYNCIO entry to reflect previous        changes to WM_ASYNCIO constant.Tue Oct 21 14:30:14 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):	* sigproc.cc (proc_subproc): fix minor error output problemMon Oct 20 20:19:02 1997  Geoffrey Noer  <noer@cygnus.com>	* Makefile.in: change DLL_NAME to cygwin97r2.dllMon Oct 20 20:16:47 1997  Geoffrey Noer  <noer@cygnus.com>	patch from sos@prospect.com.ru (Sergey Okhapkin):	* window.cc (alarm): When there is a previous alarm() request	with less than one second remaining, then the return from a call	to alarm() is supposed to return 1.Mon Oct 20 20:16:47 1997  Geoffrey Noer  <noer@cygnus.com>	patch from cgf@bbc.com (Chris Faylor):	* Makefile.in: Add sigproc.o target.  Add sigproc.h dependency	where appropriate.  Add -s to intermediate ld of cygwin.dll to	speed up the process of building the .dll.	* dcrt0.cc: Add new sigproc.h include.	(dll_crt0_1): Replace window_init with sigproc_init for

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?