From: noer AT cygnus DOT com (Geoffrey Noer) Subject: New winsup snapshot 4/8/98 8 Apr 1998 19:05:53 -0700 Message-ID: <199804090153.SAA15623.cygnus.cygwin32.developers@skaro.cygnus.com> Content-Type: text To: cygwin32-developers AT cygnus DOT com A new snapshot is available. ChangeLog entries since the last snapshot follows. Note that the first entry fixes a socket bug that's been there since last fall... -- Geoffrey Noer noer AT cygnus DOT com ----------------------------> snip <----------------------------- Wed Apr 8 18:04:07 1998 Geoffrey Noer * net.cc (cygwin32_bind, cygwin32_getsockname, cygwin32_listen, cygwin32_shutdown): if should check sock, not s. Wed Apr 8 15:00:46 1998 Geoffrey Noer Eliminate warnings revealed by -Wshadow -Wall: * console.cc (FakeReadFile): fix aggregate with partly bracketed initializer (add missing brackets). * tty.cc (fhandler_tty_slave::close): remove unused variable tty (fhandler_tty_slave::dup): ditto (fhandler_tty_slave::send_ioctl_request): ditto Wed Apr 8 03:04:11 1998 Geoffrey Noer Eliminate warnings revealed by -Wshadow -Wall: * console.cc (FakeReadFile): change variable name index to modifier_index. (fhandler_console::read): remove second definition of flags * dcrt0.cc (build_argv): rename s to start, e to end (insert_files): reformat, add parens around assign used as truth value, make i a DWORD, remove dup def of i. * dlfcn.cc (set_dl_error): rename s to str (checkAccess): rename to check_access (checkPathAccess): rename to check_path_access (getFullPathOfDll): rename to get_full_path_of_dll, don't redeclare len * dll_init.cc (DllList::detachDll): rename index to dll_index * fork.cc (cygwin_fork_helper1): rename index to dll_index, reformat slightly, rename res in dll load section to loadres, don't redeclare rc two additional times (dump_jmp_buf): rename s to sbuf * grp.cc (initgroups): rename group arg to grp * hinfo.cc (digits): rename s to str (hinfo_vec::build_fhandler): rename first buf variable to buf_info, the second to buff. (hinfo_vec::linearize_fd_array): cast sizeof return to int, declare i in for loop (hinfo_vec::de_linearize_fd_array): declare i in for loop * misc.cc (nice): rename pri to priority, index to curr (cygname): rename s to str (login): rename tty to currtty (logout) put missing parens around arg to sizeof calls * net.cc (DuplicateSocket): rename function to duplicate_socket, rename s arg to sock (fhandler_socket::fhandler_socket): rename s arg to sock (socketpair): rename sin to sock_in (cygwin32_rexec): rename passwd arg to password * passwd.cc (parse): rename stat array to tmpbuf * resource.cc (fill_rusage): rename creation to creation_time, exit to exit_time, kernel to kernel_time, user to user_time (getrusage): rename rusage arg to rusage_in * sigproc.cc (proc_terminate): move i declaration outside of loop, get rid of extra declaration (getsem): rename s to str (proc_strace): declare i at top of function, remove extra two declarations of it later * smallprint.c: include ctype.h for isalnum proto (__small_vsprintf): put parens around assign used as truth value * spawn.cc (spawn_guts): rename both s variables to str, remove redeclarations of i * strace.cc (mark): rename s arg to str * syscalls.cc (chown): remove unused vars group, passwd (access): rename s to st (ctermid): rename s to str * termios.cc (cfsetospeed, cfsetispeed): rename s to speed * times.cc (times): rename creation to creation_time, exit to exit_time, kernel to kernel_time, user to user_time (time_t_to_filetime, timeval_to_filetime): rename time to time_in * tty.cc (create_tty_master): rename utmp variable our_utmp (fhandler_tty_master::init): rename ttynum arg ttynum_in Tue Apr 7 17:18:05 1998 Geoffrey Noer * syscalls.cc (seterrno): add FIXME * path.cc (symlink_check_one): change comment wording patch from Tom Tromey (tromey AT cygnus DOT com) * syscalls.cc (access): Call SetErrorMode to turn off critical errors dialog. patch from Mikey (jeffdb AT netzone DOT com): * fhandler.cc (fhandler_disk_file::open): under Win95, set S_IXOTH|S_IXGRP|S_IXGRP if the first two bytes of a file contain a '#!'. (fhandler_disk_file::check_execable_p): consider shell scripts execable Mon Apr 6 20:55:06 1998 Geoffrey Noer * include/sys/cygwin.h: add protos for cygwin32 path conversion functions.