aboutsummaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)AuthorFilesLines
2002-08-26* dll.sgml: Remove indirect reference to older gccs.Christopher Faylor1-0/+4
2002-08-26 * fhandler.h (fhandler_socket::recvfrom): Fix prototype.Corinna Vinschen5-24/+51
(fhandler_socket::sendto): Ditto. * fhandler_socket.cc (fhandler_socket::recvfrom): Ditto. (fhandler_socket::sendto): Ditto. * include/sys/socket.h (recv): Fix prototype. (recvfrom): Ditto. (send): Ditto. (sendto): Ditto. * net.cc (cygwin_sendto): Ditto. Improve strace message (cygwin_recvfrom): Ditto. Ditto. (cygwin_setsockopt): Improve strace message. (cygwin_getsockopt): Ditto. (cygwin_connect): Ditto. (cygwin_accept): Ditto. (cygwin_bind): Ditto. (cygwin_getsockname): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Fix prototype. (cygwin_send): Ditto. (cygwin_recvmsg): Improve strace message. (cygwin_sendmsg): Ditto.
2002-08-26 * sec_acl.cc (getacl): Check ace_sid == well_known_world_sidCorinna Vinschen3-170/+108
before owner_sid and group_sid so that well_known_world_sid means "other" even when owner_sid and/or group_sid are Everyone. * security.cc (get_attribute_from_acl): Created from code common to get_nt_attribute() and get_nt_object_attribute(), with same reordering as in getacl() above. (get_nt_attribute): Call get_attribute_from_acl(). (get_nt_object_attribute): Ditto.
2002-08-26* Makefile.in (cygcheck.exe): Make a -mno-cygwin program.Christopher Faylor4-17/+43
* cygrun.c (main): Export CYGWIN=ntsec unless otherwise set. * shared.cc (shared_name): Only add build date to shared name when *testing*.
2002-08-26* Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, whereChristopher Faylor3-7/+12
appropriate. * winsup.api/winsup.exp: Use -nodefaultlibs when linking executable to avoid potentially linking installed dll.
2002-08-25* Makefile.in (DLL_IMPORTS): Move libuuid.a and libshell32.a to list ratherChristopher Faylor2-6/+14
than referring to them via -l. Add DLL imports last in link line for new-cygwin.dll and cygrun.exe.
2002-08-23output some newlines.Christopher Faylor1-2/+2
2002-08-21* dll.sgml: Remove indirect reference to older gccs.Christopher Faylor1-1/+1
2002-08-21* dll.sgml: Refine dll build instructions.Christopher Faylor3-39/+35
* ntsec.html: Correct some typos.
2002-08-21fix some glitchesChristopher Faylor1-5/+5
2002-08-21 * include/sys/param.h: New File.Earnie Boyd2-0/+35
2002-08-21 * include/_mingw.h: Increment version to 2.2.Earnie Boyd3-2/+7
Makefile.in: Ditto.
2002-08-21 * include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.Earnie Boyd2-1/+6
Thanks to: "Phil Dempster" <p_dempster@yahoo.co.uk>.
2002-08-20 * include/math.h (asm): Change to __asm__ throughout.Danny Smith2-14/+20
Expose ISO C99 functions if __GLIBCPP__. (hypotf): Use hypot, not _hypot in stub..
2002-08-20 * include/tchar.h: Ansi-fy another comment.Danny Smith2-2/+6
2002-08-20 * include/tchar.h: Ansi-fy comment.Danny Smith2-2/+5
2002-08-20 * test_headers.c : New file.Danny Smith3-1/+77
* Makefile.in (test_headers): New target, using it, (SRCDIST_FILES): Distribute it.
2002-08-20 * include/ws2spi.h: Modify comment about being part ofDanny Smith2-2/+7
mingw32 package. (winsock2.h): Change "" to <>.
2002-08-202002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith3-0/+207
* include/ws2spi.h: New file. * lib/test.c: Include ws2spi.h.
2002-08-20 * include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,Danny Smith2-3/+9
WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated functions.
2002-08-19* pinfo.h (pinfo::remember): Arrange for destructor call if proc_subprocChristopher Faylor3-5/+17
returns error. * sigproc.cc (zombies): Store 1 + total zombies since proc_subproc uses NZOMBIES element.
2002-08-19 * pwdgrp.h (pwdgrp_read::pwdgrp_read): Remove.Corinna Vinschen2-13/+10
(pwdgrp_read::~pwdgrp_read): Ditto. (pwdgrp_read::open): Reset fh to NULL instead of INVALID_HANDLE_VALUE. (pwdgrp_read::close): Ditto.
2002-08-19* fhandler.h (fhandler_console::send_winch_maybe): New method.Christopher Faylor4-25/+45
* fhandler_console.cc (set_console_state_for_spawn): Remove if 0'ed code. (fhandler_console::send_winch_maybe): Define new method. (fhandler_console::read): Use send_winch_maybe where appropriate. (fhandler_console::init): Just call all tcsetattr rather than output_tcsetattr. * select.cc (peek_console): Reorganize so that send_winch_maybe is called for everything but keyboard input.
2002-08-18* perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields.Christopher Faylor9-19/+99
(vfork_save::restore_pid): New method. (vfork_save::restore_exit): New method. * fork.cc (vfork): Save ctty, sid, pgid and restore them when returning to "parent". Use exitval field if exiting but never created a new process. * syscalls.cc (setsid): Detect when in "vfork" and force an actual fork so that pid will be allocated (UGLY!). (getsid): New function. * dcrt0.cc (do_exit): Use vfork_save::restore_exit method for returning from a vfork. * spawn.cc (spawnve): Use vfork_save::{restore_pid,restore_exit} methods for returning from vfork. * cygwin.din: Export getsid. * include/cygwin/version.h: Bump api minor number. * malloc.cc: #ifdef sYSTRIm for when MORECORE_CANNOT_TRIM is true.
2002-08-18* cygmalloc.h (MORECORE_CANNOT_TRIM): Define.Christopher Faylor2-1/+4
2002-08-18* sigproc.cc (sigCONT): Define.Christopher Faylor5-16/+32
* sigproc.h (sigCONT): Declare. (wait_sig): Create sigCONT event here. * exceptions.cc (sig_handle_tty_stop): Wait for sigCONT event rather than stopping thread. (sig_handle): Set sigCONT event as appropriate on SIGCONT rather than calling ResumeThread.
2002-08-18* malloc.cc: Update to 2.7.2.Christopher Faylor3-10/+19
* malloc_wrapper.cc (malloc_init): Call user level mallocs to determine if the malloc has been wrapped.
2002-08-17* Makefile.in: Change COMPILE_C* definitions.Christopher Faylor1-0/+4
2002-08-17 * include/winuser.h (CURSOR_SHOWING) Add define.Danny Smith2-0/+6
2002-08-17 * include/winerror.h: Cast OLE error codes to HRESULT.Danny Smith2-355/+360
2002-08-17fix typoChristopher Faylor1-1/+1
2002-08-17* Makefile.in: Change COMPILE_C* definitions.Christopher Faylor1-2/+2
2002-08-16Missed this commit in last checkin.Christopher Faylor1-74/+149
2002-08-16* winsup.h: Remove malloc_*lock functions.Christopher Faylor2-3/+4
2002-08-16* Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. UseChristopher Faylor10-31/+5661
-fomit-frame-pointer for malloc.o compilation. * malloc_wrapper.cc: New file. Rename from malloc.cc. Add support for more malloc functions. Eliminate export_* calls. Just use straight malloc names. Remove unused argument from malloc lock functions. * cygwin.din: Just export straight malloc names. Add malloc_stats, malloc_trim, malloc_usable_size, mallopt, memalign, valloc. * dcrt0.cc (__cygwin_user): Eliminate export_* malloc entries. * fork.cc (fork_parent): Remove unused argument from malloc_lock argument. * malloc.cc: New file. Doug Lea's malloc v2.7.1. * cygmalloc.h: New file. * include/cygwin/version.h: Bump API_MINOR. * sync.h (muto::acquire): Use appropriate number for regparm attribute. (muto::reset): Ditto. (muto::release): Ditto.
2002-08-16* exceptions.cc (interrupt_setup): Ensure that the previous signal mask isChristopher Faylor2-1/+7
properly saved.
2002-08-15* dcrt0.cc: Modify define for CYGWIN_GUARD.Christopher Faylor2-2/+8
(alloc_stack_hard_way): Just use CYGWIN_GUARD in VirtualAlloc call.
2002-08-15present tenseChristopher Faylor1-21/+20
2002-08-15make comment more accurate.Christopher Faylor1-4/+4
2002-08-14 * include/wincrypt.h (ALG_*): Add defines.Danny Smith2-0/+73
(CALG_*): Ditto. (CRYPT_*): Ditto. (PP_*): Ditto. (PROV_*): Ditto. (PRIVATEKEYBLOB): Add define.
2002-08-14 * include/unistd.h: Add include of process.h.Earnie Boyd2-0/+5
2002-08-14 * include/shlobj.h (SHGetFolderPath): Add define.Earnie Boyd3-0/+14
* lib/shell32.def (SHGetSpecialFolderPath): Add export. (SHGetFolderPath): Ditto.
2002-08-13* regtool.cc (find_key): Add support for custom key separator.Christopher Faylor2-3/+19
(usage): Document it.
2002-08-12 * include/commdlg.h: Don't include COM headers if __OBJC__.Danny Smith2-4/+9
2002-08-12 * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):Danny Smith2-0/+9
Add prototypes.
2002-08-122002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>Danny Smith2-0/+5
* include/shellapi.h (FOF_NOERRORUI): Add define.
2002-08-12 * fhandler.h (fhandler_socket::recv): Remove method.Conrad Scott4-106/+28
(fhandler_socket::send): Ditto. * fhandler_socket.cc (fhandler_socket::recv): Ditto. (fhandler_socket::send): Ditto. (fhandler_socket::read): Delegate to fhandler_socket::recvfrom. (fhandler_socket::write): Delegate to fhandler_socket::sendto. (fhandler_socket::sendto): Check for null `to' address. * net.cc (cygwin_sendto): Check for zero request length. (cygwin_recvfrom): Ditto. Fix signature, use void *buf. (cygwin_recv): Delegate to cygwin_recvfrom. (cygwin_send): Delegate to cygwin_sendto.
2002-08-11 * include/objidl.h (IEnumMoniker): Put 'interface' back.Danny Smith2-1/+5
2002-08-11* cygthread.cc (cygthread::cygthread): Close another race.Christopher Faylor2-1/+12
2002-08-11* assert.cc (__assert): Call debugger on assertion failure if debugging.Christopher Faylor7-25/+41
* dcrt0.cc (dll_crt0_1): Just wait for signal thread to go live rather than going through the overhead of invoking it. * fork.cc (fork_child): Ditto. * exceptions.cc (signal_fixup_after_fork): Call sigproc_init here. * sigproc.cc (proc_can_be_signalled): Assume that the signal thread is live. (sig_dispatch): Ditto. (sig_send): Ditto. (wait_for_sigthread): Renamed from "wait_for_me". Assume that wait_sig_inited has been set and that this function is only called from the main thread. * winsup.h (wait_for_sigthread): Declare new function.