From: noer AT cygnus DOT com (Geoffrey Noer) Subject: Winsup snapshot for 5/13/98 13 May 1998 17:16:49 -0700 Message-ID: <199805132324.QAA30556.cygnus.cygwin32.developers@skaro.cygnus.com> Content-Type: text To: cygwin32-developers AT cygnus DOT com I've put up a new winsup snapshot for ftp. This version includes better Windows 98 support -- now we just check whether we're running NT or not; this makes Win 95/98 behave similarly for now. I've also switched to using a global to store the operating system type since that's more efficient (most processes were calling get_os_type many times which is a waste). Also, some other misc fixes. -- Geoffrey Noer noer AT cygnus DOT com -----------> ChangeLog entries since last snapshot <------------- Wed May 13 16:03:07 1998 Geoffrey Noer * dcrt0.cc: declare os_being_run global (set_os_type): new static local function that sets os_being_run based on results of calling GetVersionEx (dll_crt0_1): call set_os_type very early on in Cygwin32 dll initialization * syscalls.cc (get_os_type): delete * uname.cc (uname): use os_being_run instead of get_os_type, call GetVersionEx to figure out operating system version numbers, handle Windows 98. * winsup.h: add win98 to os_type enum, delete get_os_type proto, add extern for os_being_run. * {dlfcn.cc, fhandler.cc, mmap.cc, net.cc, syscalls.cc, syslog.cc, tty.cc}: make all uses of get_os_type use os_being_run instead. Have Windows 98 behave like Windows 95 for now by changing all tests for win95 to check for not being winNT. Wed May 13 16:03:07 1998 Geoffrey Noer patch from sos AT prospect DOT com DOT ru (Sergey Okhapkin): * sigproc.cc (proc_exists): Process is alive if OpenProcess() call fails due to security reasons. Wed May 13 16:03:07 1998 Geoffrey Noer * select.cc: add comments, FIXMEs, respace, delete old sockets-only case that was previously commented out. (cygwin32_select): in case where handles and sockets are set, don't check that always_ready_used is zero (that case is covered before). * syscalls.cc: delete unused file_queue struct. Tue May 12 18:36:25 1998 Geoffrey Noer * syscalls.cc (get_os_type): add FIXME Tue May 5 14:02:12 1998 Christopher Faylor Throughout Cygwin replace use of "sa" SECURITY_ATTRIBUTE variables with appropriate global variables. * shared.cc (shared_init): Initialize global security attribute variables for use in various places around cygwin. * fork.cc (fork_init): Remove. Functionality replaced by above. * dcrt0.cc (dll_crt0_1): Remove obsolete fork_init() call. Sat May 2 17:40:51 1998 Christopher Faylor patch from sos AT prospect DOT com DOT ru (Sergey Okhapkin): * tty.cc (create_tty_master): Fill in ut_host utmp field with local host name instead of "local" to avoid "who" command timeouts.