?? changelog-1996
字號:
* spawn.cc: #include "shared.h". (spawn_guts, env var translation): Don't translate path names if using native path rules. * syscalls.cc (symlink): Delete (moved to path.cc). * cygwin.din (dump__5pinfo): Delete. (cygwin32_{posix,native}_path_to_{native,posix}_path_keep_rel): Renamed from ...{unix/dos}.... * smallout.cc: Delete. * sdata.cc: Delete. * shared.cc (u,s,environ): Define here. * Makefile.in (glob/libglob.a): Depend on glob/glob.c, glob/fnmatch.c. (utils-all): New target. (DLL_OFILES): Delete smallout.o, sdata.o. (Makefile): Depend on cygwin.din. (WINSUP_H): Depend on syscalls.h. * configure.in (AC_CONFIG_SUBDIRS): Add bin. (AC_PROG_INSTALL): Call. * configure: Regenerated. * utils/{Makefile.in,configure.in,configure}: New files. * utils/{kill.cc,mount.cc,ps.cc,umount.cc,termcap}: New files. * Makefile.in (UTILS_ALL): Define. (all): Depend on $(UTILS_ALL). (utils-all): New target. * dcrt0.cc (recur): Make no-op to see what happens. (globify): Don't call glob if unnecessary. Check return code from glob. (api_fatal): New function. * fhandler.cc (fhandler_base::read): Dump first few chars read. (fhandler_base::get_execable): New function. (fhandler_base::fstat): Use it. (fhandler_base::fhandler_base): Init execable_p. (fhandler_disk_file::fhandler_disk_file): Delete execable_p. (fhandler::{get,set}_execable_bit): Delete. (fhandler_disk_file::{get,set}_execable_bit): Delete. * fhandler.h (class fhandler): Delete {get,set}_execable_bit. (class fhandler_base): New member execable_p. New member fn get_execable. * fork.cc: Simplify/cleanup. (cygwin_fork_helper1): Use MAX_PATH, not MAXPATHLEN. * pinfo.cc (pinfo::dump): Delete. * pproc.cc (per_process::set_envname): Delete. * strace.cc (smallout::do_pline): Delete. * syscalls.h (readlink): Third arg is an int. * winsup.h (class pinfo, member progname): Use MAX_PATH. (class pinfo, member dump): Delete. (class smallout): Delete. (smallout): Delete. (class per_process, member set_envname): Delete. (file_exists): Delete. (api_fatal): Declare. * Makefile.in (LIB{C,CXX}FLAGS_FOR_TARGET): Delete, use {C,CXX}FLAGS. (FLAGS_TO_PASS): Define. (glob/libglob.a): Delete duplicate entry. * syscalls.cc (_sbrk): Update u->size when heap is grown. * hinfo.cc (hmap_init_per_process): Ensure stdout's handle != stderr's.Fri Jun 14 06:32:13 1996 Doug Evans <dje@canuck.cygnus.com> * register.h, registry.cc: Whitespace cleanup.Thu Jun 13 20:57:28 1996 Doug Evans <dje@canuck.cygnus.com> * Makefile.in (install): Install cygwin.dll in $(bindir).Tue Jun 11 13:46:17 1996 Geoffrey Noer <noer@cygnus.com> * fhandler.cc: lseek is now only binary mode, interpret control z characters as EOF when reading from a file. Reformatted some of the code (cleaned up line spacing, etc.)Tue Jun 11 09:50:09 1996 Jason Molenda (crash@kyriath.cygnus.com) * path.cc (nofinalslash): move it so it is next to its friends flip_slash and backslashify.Mon Jun 10 18:57:03 1996 Jason Molenda (crash@kyriath.cygnus.com) * path.cc (*): Pretty printing. (unix_path_to_dos_path_with_rel): use "dosnamein" and "unixnameout" instead of "path" & "real_path". (dos_path_to_unix_path_keep_rel): delete obsolete code. (mount_item::mangle): use "unixnamein" and "dosnameout" instead of "unixname" and "dosname". (mount_info::mangle): use "unixnamein" and "dosnameout". Remove obsolete code. * path.h (mount_item): Update prototypes, add comment. (mount_info): Update prototypes.Mon Jun 10 17:05:23 1996 Jason Molenda (crash@kyriath.cygnus.com) * path.cc (mount_item::reverse_mangle): Pretty printing, add a bit to the comment. (getcwd_inner): use MAX_PATH not MAXPATHLEN. (normalize_path): use MAX_PATH not MAXPATHLEN. (link_cookie::follow): use MAX_PATH not MAXPATHLEN.Mon Jun 10 15:36:32 1996 Geoffrey Noer <noer@cygnus.com> * Makefile.in: changed $(DOC) so it doesn't include html files; made a new info-html target that does the html versions of the docs. Since most customers don't have texi2html installed, the make shouldn't fail because of this. * configure: regenerated with autoconf 2.8Sun Jun 9 17:10:37 1996 Doug Evans <dje@canuck.cygnus.com> * version.c: Deleted. * version.h: New file. * winsup.h (VERSION): Deleted. (class per_process): Add version_major, version_minor. Delete version. * registry.cc: #include "version.h". (reg_session::reg_session): Update. * libccrt0.cc: #include "version.h" (cygwin_crt0): Delete setting of version, set magic_biscuit to 0. Set version_major, version_minor. * dcrt0.cc: #include "version.h". (cygwin_dll_version_{major,minor}): New static locals. (dll_crt0_1): Rewrite app/dll compatibility test. * Makefile.in (LIBCOS): Delete version.o. (DLL_OFILES): Delete version.o. (dcrt0.o,libccrt0.o,registry.o): Depend on version.h. * exceptions.h: New file. * exceptions.cc: Massive cleanups (still lots more to go). #include "exceptions.h". (init_exceptions): Renamed from __init_exceptions. New argument of pointer to exception handler list entry. (init_exception_handler): Renamed from init_thread_exceptions. Rewrite based on info from Onno Hovers <onno@stack.urc.tue.nl>. (ppc descriptor_to_{function,gotattr}): Make static. (i386 __stack_trace): Fix test for top of stack. * dcrt0.cc: #include "exceptions.h". (dll_crt0_1): Exception handler list entry must live on stack. * winsup.h (class pinfo): Delete member myp. * syscalls.h (struct exception_list): Delete. (__really_exit, __init_exceptions): Delete. * Makefile.in (dcrt0.o,exceptions.o): Depend on exceptions.h.Fri Jun 7 17:49:28 1996 Jason Molenda (crash@phydeaux.cygnus.com) * dcrt0.cc (conv_path_names): Add GCC_EXEC_PREFIX.Fri Jun 7 14:38:05 1996 Doug Evans <dje@canuck.cygnus.com> * Makefile.in (CC_FOR_TARGET,LD,DLLTOOL): Define. (AR,RANLIB): Set via configure. * configure.in (AR,LD,DLLTOOL): Set. (AC_PROG_RANLIB): Call. * configure: Regenerated.Thu Jun 6 12:11:23 1996 Kim Knuttila <krk@cygnus.com> * dcrt0.cc (dll_crt0_1): Removed reference to reent_data._next.Tue Jun 4 15:52:29 1996 Geoffrey Noer <noer@cygnus.com> * include/winkernel.h: fixed typoTue May 28 13:08:25 1996 Doug Evans <dje@canuck.cygnus.com> * syscalls.cc (_sbrk): Fix test of return value from VirtualAlloc. Delete lincr, make incr signed, and use only it. Misc. minor cleanup.Thu May 23 17:31:57 1996 Geoffrey Noer <noer@cygnus.com> sac diffs applied: * path.h: change MAXMOUNTS to 30 instead of 20 * sysdef/i386/rpcndr.def: add "none" to end of file * fhandler.cc: fix memset call to say sizeof (*buf) instead of sizeof (buf). * include/winuser.h: define MDIS_ALLCHILDSTYLES * Makefile.in: entry to build glob/libglob.a:Thu May 23 10:38:43 1996 Doug Evans <dje@canuck.cygnus.com> * fhandler.h (class fhandler_base): Make `name' private and shrink to 32 bytes. (set_name): Declare. * fhandler.cc (fhandler::set_name): New function. (fhander_base::open): Call it. (fhander_base::init): Call it. (fhandler_tty::ttyname): Call get_name instead of accessing `name' directly. * dcrt0.cc (dll_crt0_1): Call ExitProcess instead of exit if DLL and APP are out of sync.Thu May 16 03:07:18 1996 Mark Eichin <eichin@cygnus.com> * fhandler.cc (FakeReadFile): new function. Interface like ReadFile, only called from fhandler_console_in::read, calls ReadFile unless we're really reading from STD_INPUT_HANDLE and with ENABLE_LINE_INPUT turned off, in which case we use ReadConsoleInput instead. When using ReadConsoleInput, always read all available events, but only block if we don't get at least one actual character. This would be the place to implement FIONBIO on the console tty, which doesn't actually exist yet. (dbg_input_event): copied from select.cc, debugging code to show detail of what events we're actually getting. (ioctl): off-by-one on window size.Wed May 15 18:11:16 1996 Jim Wilson <wilson@chestnut.cygnus.com> * fhandler.h (class fhandler_base): Use MAXPATHLEN not 100 for size of array name.Wed May 15 11:14:46 1996 Doug Evans <dje@canuck.cygnus.com> * fork.cc (cygwin_fork_helper1): More debugging printf's. * dcrt0.cc (num_ms_env_vars): Renamed from ms_env_arity. (build_argv): Renamed from fill. (compute_argc): Renamed from prepare. * libccrt0.cc (cygwin_statu): Make static. * pproc.cc (per_process::init): Move strace initialization from here, * strace.cc (per_process::strace_init): To here. Pass FILE_SHARE_WRITE to CreateFileA. Print error message if open of log file fails. Create mutex for trace messages. (__sys_printf): Always write to end of disk files. Use mutex. (d): Delete. * winsup.h (class per_process): Add strace_init. Reorganize. `run_ctors' renamed to `run_ctors_p'. New member `trace_mutex'. (d): Delete. (PATH_MAX): Delete. * Makefile.in: Add header file dependencies. * dcrt0.cc (_exit): Add debugging printf. * shared.h (class shared_info): Rename member mutex_a to fork_mutex. * fork.cc (cygwin_fork_helper1): Update. Return with error if process slot unavailable. Set errno and release fork_mutex if failed because of split heap. * shared.cc (shared_info::terminate): Update. (shared_info::initialize): Update.Tue May 14 14:59:32 1996 Doug Evans <dje@canuck.cygnus.com> * fork.cc (cygwin_fork_helper1): Avoid SIGSEGV if allocate_pid fails. * pproc.cc (per_process::init): Fix test. * winsup.h (): Rename member `parent' to `ppid'. * fork.cc (prepare_child): Update. (cygwin_fork_helper1): Likewise. * hinfo.cc (hmap_init_per_process): Likewise. (hinfo_vec::dup_for_fork): Fix message. (hinfo_vec::dup2): Fix args to debug_printf. Delete extra printf's. * pinfo.cc (pinfo_init_per_process): Update. (pinfo::dump): Likewise. (pinfo::init_self): Likewise. * pproc.cc (per_process::init): Open strace file in append mode. * smallprintf.c (__small_vsprintf): Support %p. * syscalls.cc (getppid): Update. * wait.cc (wait_for_any): Likewise. Mon May 13 13:45:36 1996 Mark Eichin <eichin@cygnus.com> * fhandler.cc (ioctl): fix TIOCGWINSZ handling: (1) check the error return (2) if we're trying on STD_INPUT_HANDLE, substitute STD_OUTPUT_HANDLE since GetConsoleScreenBufferInfo only works on console output (3) check srWindow for the *screen* size, instead of checking dwSize for the scroll buffer size. * include/sys/errno.h (ECONNABORTED): add another errno value. * net.cc (errmap): add ECONNABORTED case. * fhandler.cc (fstat): clear the *entire* stat buf, not just the first four bytes.Fri May 10 17:59:09 1996 Mark Eichin <eichin@cygnus.com> * select.cc: change most debugging statements to select_printf. (dbg_input_event): new function, prints an INPUT_RECORD via select printf. (polled): Don't sleep around WaitForMultipleObjects; let it have a 10ms timeout until we have time to test it with 0. If WaitForMultipleObjects says that STD_INPUT_HANDLE has data, use PeekConsoleInput to scan the available events. If the first one is not a *bKeyDown* with a non-zero *AsciiChar* then use ReadConsoleInput to rip it off the queue, and pretend it wasn't there, so that later calls to read (and thus ReadFile) don't block because they can't find any *real* input. (This could be optimized later to check the whole queue, and if there are *no* real input events, nuke them all.) * include/sys/strace.h (_STRACE_SELECT, select_printf): new printf category, because select needs a *lot* of work. STRACE=256 to use it. * fhandler.cc (fhandler_console_in::init): IGNCR can't work without major changes to deal with the interaction with select (which shouldn't wake up if IGNCR causes the whole input to be deleted...) so don't make it the default. (fhandler_console_out::tcgetattr, fhandler_tty::tcgetattr): don't set IGNCR based on get_r_binary either.Wed May 8 20:20:05 1996 Mark Eichin <eichin@cygnus.com> * times.cc (__to_clock_t): must cast dwLowDateTime to *unsigned* before adding it -- otherwise we may subtract it! (to_time_t): same.Wed May 8 18:21:28 1996 Mark Eichin <eichin@cygnus.com> * times.cc (corelocaltime): new function. Basic localtime from newlib, with no conversions. (gmtime): just calls corelocaltime. (localtime): uses GetTimeZoneInformation, biases to standard time first, then uses DaylightDate and StandardDate to figure out if we're in DST -- and calls corelocaltime a second time with the rebiased seconds, if we are. (times): add debug_printf statements which work around apparent compiler bug and 7+ minute error. * select.cc: revert to <sac>'s changes of 4/20 which were accidentally backed out on 4/24.Tue May 7 05:29:42 1996 Mark Eichin <eichin@cygnus.com> * times.cc (__to_clock_t): subtract out FACTOR, the difference between 1601 and 1970, just like to_time_t() does.Tue May 7 01:55:06 1996 Mark Eichin <eichin@cygnus.com> * times.cc (gmtime): new function. Use GetTimeZoneInformation to compensate ahead before calling localtime (since the newlib version doesn't know what timezone we're in.) (localtime): use SECSPERMIN, not 60, to show that we know what we're talking about. * net.cc (errmap): add WSAEADDRINUSE, WSAECONNREFUSED mappings.Sun May 5 00:45:59 1996 Mark Eichin <eichin@cygnus.com> * include/sys/socket.h: add recvfrom macro and cygwin32_recvfrom declaration. Remove htons/htonl misdeclarations as they collide with the macros in
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -