Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)Author
2002-09-11 * grp.cc (initgroups): Call groups::clear_supp to free theCorinna Vinschen
supplementary group sids that may have been set by setgroups. * security.cc (cygsidlist::free_sids): Also zero the class members. * security.h (groups::clear_supp): New. Rename cygsidlist_unknown to cygsidlist_empty.
2002-09-11 * ntsec.html: Add chapter for switching user context w/o password.Corinna Vinschen
2002-09-11 * lib/shell32.def: Add missing stubs.Danny Smith
2002-09-08* fhandler_tty.cc (fhandler_tty_slave::open): Don't protect input/outputChristopher Faylor
handles since they are not properly manipulated later. * tty.cc (tty::make_pipes): Ditto.
2002-09-07 * include/windef.h (WINVER): Add documentation.Earnie Boyd
(_WIN32_WINNT): Ditto. Special thanks to Paul Schmidt <paul@tricattechnologies.com>
2002-09-06whitespaceChristopher Faylor
2002-09-06* winsup.h (_WIN32_WINNT): Protect.Christopher Faylor
2002-09-06* winsup.h (_WIN32_WINNT): Define.Christopher Faylor
2002-09-06 * lib/Makefile.in (TEST_OPTIONS): Define WINVER to 0x0666.Danny Smith
2002-09-05 * include/_mingw.h: Increment version to 2.3.Earnie Boyd
Makefile.in: Ditto.
2002-09-05 * mingwex/fegetenv.c: Change to \n line endings.Earnie Boyd
* mingwex/vsnprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto.
2002-09-052002-09-04 Kevin Chase <kevincha99@hotmail.com>Danny Smith
* include/winbase.h (AllocateUserPhysicalPages, MapUserPhysicalPages, MapUserPhysicalPagesScatter, FreeUserPhysicalPages): Add prototypes. * lib/kernel32.def: Add function stubs for above.
2002-09-04some editsChristopher Faylor
2002-09-04first draftChristopher Faylor
2002-09-04fix typoChristopher Faylor
2002-09-04 * Makefile.in (DLL_OFILES): Drop shortcut.o.Corinna Vinschen
* path.cc: Move all shortcut functions from shortcut.c to here. (check_shortcut): Implement without using COM interface. * path.h: Move definition of SHORTCUT_HDR_SIZE to here. * shortcut.c: Remove. * shortcut.h: Ditto.
2002-09-04 * fhandler.h (fhandler_socket::read): Remove method.Corinna Vinschen
(fhandler_socket::write): Ditto. (fhandler_socket::readv): New method. (fhandler_socket::writev): Ditto. (fhandler_socket::recvmsg): Add new optional argument. (fhandler_socket::sendmsg): Ditto. * fhandler.cc (fhandler_socket::read): Remove method. (fhandler_socket::write): Ditto. (fhandler_socket::readv): New method. (fhandler_socket::writev): Ditto. (fhandler_socket::recvmsg): Use win32's scatter/gather IO where possible. (fhandler_socket::sendmsg): Ditto. * net.cc (cygwin_recvmsg): Check the msghdr's iovec fields. (cygwin_sendmsg): Ditto. Add omitted sigframe.
2002-09-042002-09-03 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>Danny Smith
* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines. Add WINVER guards for dialog box command id defines.
2002-09-03 * include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.Earnie Boyd
2002-09-03 * cygwin.din: Revert exporting new wchar functions.Corinna Vinschen
* include/cygwin/version.h: Change comment for API minor 62.
2002-09-02* dcrt0.cc (dll_crt0_1): Remove getpagesize() call.Christopher Faylor
* shared.cc (memory_init): Move it here.
2002-09-02 * mingwex/math/hypotl.c: Replace with version based on cephesDanny Smith
library.
2002-08-31* fhandler_proc.cc: Add <sys/param.h> include.Christopher Faylor
(format_proc_uptime): Use KernelTime and UserTime only as they include the other counters. (format_proc_stat): KernelTime includes IdleTime, so subtract IdleTime from KernelTime. Make number of 'jiffies' per second same as HZ define. * fhandler_process.cc: Add <sys/param.h> include. (format_process_stat): Make number of 'jiffies' per second same as HZ define. Use KernelTime and UserTime only to calculate start_time.
2002-08-31* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't needChristopher Faylor
ready for read" flag. (fhandler_tty_slave::read): Don't do anything special with vtime when vmin == 0.
2002-08-31(inspired by a patch from Egor Duda)Christopher Faylor
* select.cc (fhandler_tty_slave::ready_for_read): Remove. * fhandler.h (fhandler_tty_slave::ready_for_read): Remove declaration. * fhandler_tty.cc (fhandler_tty_slave::read): Don't do anything special with vtime when vmin == 0. * autoload.cc (GetConsoleWindow): Correct parameter count.
2002-08-30Christopher Faylor <cgf@redhat.com>Christopher Faylor
* tty.cc (tty_list::allocate_tty): Use GetConsoleWindow, if available. Call FindWindow in a loop.
2002-08-30* include/wincon.h: Define GetConsoleWindow(void).Christopher Faylor
2002-08-30* miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero lengthChristopher Faylor
iov_len. (check_iovec_for_write): Ditto. * fhandler.h (fhandler_base::readv): New method. (fhandler_base::writev): Ditto. * fhandler.cc (fhandler_base::readv): New method. (fhandler_base::writev): Ditto. * syscalls.cc (_read): Delegate to readv(2). (_write): Ditto, mutatis mutandi. (readv): Rewrite, based on the old _read code, to use the new fhandler_base::readv method. Improve access mode handling and ensure all calls reach the final strace statement. (writev): Ditto, mutatis mutandi. * include/sys/uio.h (struct iovec): Change field types to match SUSv3. * winsup.h (check_iovec_for_read): New function. (check_iovec_for_write): Ditto. * miscfuncs.cc (check_iovec_for_read): Ditto. (check_iovec_for_write): Ditto.
2002-08-30 Sigh, mbsrtowcs was still missing...Corinna Vinschen
2002-08-30 * cygwin.din: Add more prototypes for new wchar functions in newlib.Corinna Vinschen
2002-08-30 * cygwin.din: Add prototypes for new wchar functions in newlib.Corinna Vinschen
* include/cygwin/version.h: Bump API minor number.
2002-08-30* how-api.texinfo: Remove a line from the CRLF discussion about lseek notChristopher Faylor
working. Answer thread safe question more simply.
2002-08-29 * poll.cc (poll): Peek sockets ready for read to see if there'sCorinna Vinschen
actually data.
2002-08-29* cygthread.cc (hthreads): Remove unneeded global.Christopher Faylor
(cygthread::simplestub): New static member function. (cygthread::runner): Don't set hthreads. (cygthread::freerange): New member function. (cygthread::operator new): Call freerange if all cygwin slots are used up. (cygthread::exit_thread): Don't mess with event if freerange thread. (cygthread::detach): Ditto. * cygthread.h (class cygthread): Declare new member functions and variables.
2002-08-29removeChristopher Faylor
2002-08-29 * include/w32api.h: Increment version to 2.1.Earnie Boyd
* Makefile.in: Ditto.
2002-08-29 * include/sys/param.h: Add ENDIAN defines.Danny Smith
* test_headers.c: Include sys/param.h.
2002-08-28removeChristopher Faylor
2002-08-28* malloc.cc: Protect some definitions to avoid a compile time warning.Christopher Faylor
2002-08-28 * calls.texinfo: Add getc_unlocked, getchar_unlocked, putc_unlockedCorinna Vinschen
and putchar_unlocked.
2002-08-28 * cygwin.din: Export getc_unlocked, getchar_unlocked,Corinna Vinschen
putc_unlocked, putchar_unlocked functions. * include/cygwin/version.h: Bump api minor.
2002-08-28 * fhandler_socket.cc (fhandler_socket::recvfrom): Eliminate flagsCorinna Vinschen
not understood by WinSock. (fhandler_socket::sendto): Ditto. If WinSock sendto() returns WSAESHUTDOWN, change errno to EPIPE and raise SIGPIPE if MSG_NOSIGNAL isn't set in flags. * include/cygwin/socket.h: Define MSG_WINMASK and MSG_NOSIGNAL. * include/cygwin/version.h: Bump API minor number.
2002-08-28 * poll.cc (poll): Eliminate erroneous POLLERR conditional.Corinna Vinschen
2002-08-28 * test_headers.c: Don't include varargs.h.Danny Smith
* Makefile.in (test_headers): Don't use -std=xx with -xc++. Test -std=gnu89, gnu99 also.
2002-08-28fragging mumble bruggum newlibChristopher Faylor
2002-08-27 * fhandler_socket.cc (fhandler_socket::check_peer_secret_event):Corinna Vinschen
Fix strace message. (fhandler_socket::connect): Remove sigframe. (fhandler_socket::accept): Ditto. (fhandler_socket::getsockname): Ditto. (fhandler_socket::getpeername): Ditto. (fhandler_socket::recvfrom): Ditto. (fhandler_socket::recvmsg): Ditto. (fhandler_socket::sendto): Ditto. (fhandler_socket::sendmsg): Ditto. (fhandler_socket::close): Ditto. (fhandler_socket::ioctl): Ditto. * ioctl.cc (ioctl): Add sigframe. *net.cc (cygwin_sendto): Ditto. (cygwin_recvfrom): Ditto. (cygwin_recvfrom): Ditto. (cygwin_connect): Ditto. (cygwin_shutdown): Ditto. (cygwin_getpeername): Ditto. (cygwin_accept): Ditto. Improve strace message. (cygwin_getsockname): Ditto. Ditto. (cygwin_recvmsg): Ditto. Ditto. (cygwin_sendmsg): Fix strace message.
2002-08-27* child_info.h: Add _PROC_WHOOPS enum value.Christopher Faylor
(CURR_CHILD_INFO_MAGIC): Update. (child_info::magic): Make 'long'. * cygheap.h: Export _cygheap_start. * cygheap.cc: Don't declare _cygheap_start. * cygmagic: Use cksum to produce checksums. Append 'U' to end of checksum. * dcrt0.cc (initial_env): Calculate sleep ms before reusing buffer. (_dll_crt0): Detect cygheap mismatch as indicative of different cygwin version. Set child_proc_info to NULL when _PROC_WHOOPS. (multiple_cygwin_problem): If child_info specific problem, then set child_proc_info type to _PROC_WHOOPS. * shared_info.h (CURR_MOUNT_MAGIC): Update. (CURR_SHARED_MAGIC): Ditto.
2002-08-272002-08-26 Bart Oldeman <bart.oldeman@btinternet.com>Danny Smith
* include/winsock2.h (SOCKET_ADDRESS): Define if __CSADDR_T_DEFINED is not defined (copied from nspapi.h) (CSADDR_INFO): Ditto. (nspapi.h) : Don't include. Removed FIXME comment. * include/nspapi.h (SOCKET_ADDRESS) Only define if __CSADDR_T_DEFINED is not defined. (CSADDR_INFO): Ditto. (BLOB): Added structure and typedef if not already defined. (NS_*): Add defines. (SERVICE_*): Ditto. (SERVICE_ADDRESS): Add structure and typedefs. (SERVICE_ADDRESSES): Ditto. (SERVICE_INFO[AW]): Ditto, and add UNICODE mappings. (LPSERVICE_ASYNC_INFO): Add typedef. (SetService[AW], GetAddressByName[AW]): Add prototypes and UNICODE mappings. * include/wsipx.h: New file. * include/svcguid.h: New file. * lib/test.c: Include wspix.h and svcguid.h.
2002-08-272002-08-26 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith
* include/wsahelp.h: New file. * lib/test.c: Include wsahelp.h.
2002-08-26* dll.sgml: Remove indirect reference to older gccs.Christopher Faylor