summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * malloc.cc: Update to 2.7.2.Christopher Faylor2002-08-183-10/+19
| | | | | * malloc_wrapper.cc (malloc_init): Call user level mallocs to determine if the malloc has been wrapped.
* * Makefile.in: Change COMPILE_C* definitions.Christopher Faylor2002-08-171-0/+4
|
* * include/winuser.h (CURSOR_SHOWING) Add define.Danny Smith2002-08-172-0/+6
|
* * include/winerror.h: Cast OLE error codes to HRESULT.Danny Smith2002-08-172-355/+360
|
* fix typoChristopher Faylor2002-08-171-1/+1
|
* * Makefile.in: Change COMPILE_C* definitions.Christopher Faylor2002-08-171-2/+2
|
* Missed this commit in last checkin.Christopher Faylor2002-08-161-74/+149
|
* * winsup.h: Remove malloc_*lock functions.Christopher Faylor2002-08-162-3/+4
|
* * Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. UseChristopher Faylor2002-08-1610-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.
* * exceptions.cc (interrupt_setup): Ensure that the previous signal mask isChristopher Faylor2002-08-162-1/+7
| | | | properly saved.
* * dcrt0.cc: Modify define for CYGWIN_GUARD.Christopher Faylor2002-08-152-2/+8
| | | | (alloc_stack_hard_way): Just use CYGWIN_GUARD in VirtualAlloc call.
* present tenseChristopher Faylor2002-08-151-21/+20
|
* make comment more accurate.Christopher Faylor2002-08-151-4/+4
|
* * include/wincrypt.h (ALG_*): Add defines.Danny Smith2002-08-142-0/+73
| | | | | | | | (CALG_*): Ditto. (CRYPT_*): Ditto. (PP_*): Ditto. (PROV_*): Ditto. (PRIVATEKEYBLOB): Add define.
* * include/unistd.h: Add include of process.h.Earnie Boyd2002-08-142-0/+5
|
* * include/shlobj.h (SHGetFolderPath): Add define.Earnie Boyd2002-08-143-0/+14
| | | | | * lib/shell32.def (SHGetSpecialFolderPath): Add export. (SHGetFolderPath): Ditto.
* * regtool.cc (find_key): Add support for custom key separator.Christopher Faylor2002-08-132-3/+19
| | | | (usage): Document it.
* * include/commdlg.h: Don't include COM headers if __OBJC__.Danny Smith2002-08-122-4/+9
|
* * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):Danny Smith2002-08-122-0/+9
| | | | Add prototypes.
* 2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>Danny Smith2002-08-122-0/+5
| | | | * include/shellapi.h (FOF_NOERRORUI): Add define.
* * fhandler.h (fhandler_socket::recv): Remove method.Conrad Scott2002-08-124-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.
* * include/objidl.h (IEnumMoniker): Put 'interface' back.Danny Smith2002-08-112-1/+5
|
* * cygthread.cc (cygthread::cygthread): Close another race.Christopher Faylor2002-08-112-1/+12
|
* * assert.cc (__assert): Call debugger on assertion failure if debugging.Christopher Faylor2002-08-117-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.
* * include/objidl.h (IEnumMoniker): Correct declaration.Danny Smith2002-08-112-1/+5
|
* * w32sdk: New winsup module.Earnie Boyd2002-08-101-0/+4
|
* * include/commctrl.h: Whitespace change.Danny Smith2002-08-091-3/+3
|
* 2002-08-09 Mark Schreiber <mark7@users.sourceforge.net>Danny Smith2002-08-092-1/+10
| | | | | | | | * include/wincrypt.h (CRYPT_NOHASHOID): Add define. 2002-08-09 Danny Smith <dannysmith@users.sourceforge.net> * include/commctrl.h: Whitespace change.
* 2002-08-09 Lars Munch <lars@segv.dk>Danny Smith2002-08-092-5/+16
| | | | | | | * include/commctrl.h (tagTVHITTESTINFO): Replace obsolete struct name _TVHITTESTINFO and typedefs. Add defines for backward compatability. (ListView_SetExtendedListViewStyleEx): Add macro.
* * environ.cc (parse_options): Remember the "no" part of any options for laterChristopher Faylor2002-08-082-1/+7
| | | | export.
* * winsup.h (__check_null_invalid_struct): Make ptr argument non-const.Conrad Scott2002-08-086-150/+191
| | | | | | | | | | | | | | | | | | | | | | | | | (__check_null_invalid_struct_errno): Ditto. * miscfuncs.cc (__check_null_invalid_struct): Ditto. (__check_null_invalid_struct_errno): Ditto. (__check_invalid_read_ptr_errno): Remove superfluous cast. * net.cc (get): Set appropriate errno if fd is not a socket. (cygwin_sendto): Fix parameter checking. (cygwin_recvfrom): Ditto. (cygwin_setsockopt): Ditto. (cygwin_getsockopt): Ditto. (cygwin_connect): Ditto. (cygwin_gethostbyaddr): Ditto. (cygwin_accept): Ditto. (cygwin_bind): Ditto. (cygwin_getsockname): Ditto. (cygwin_listen): Ditto. (cygwin_getpeername): Ditto. (cygwin_send): Ditto. (cygwin_shutdown): Ditto. Move sigframe to fhandler_socket. (cygwin_recvmsg): Fix parameter checking. Add tracing. (cygwin_sendmsg): Ditto. * fhandler_socket.cc (fhandler_socket::shutdown): Add sigframe. * resource.cc (setrlimit): Fix parameter checking.
* Patch by Joe Buehler <jbuehler@hekimian.com>:Corinna Vinschen2002-08-082-1/+5
| | | | * sec_helper.cc (sec_acl): remove extraneous arg to debug_printf.
* Fix by Conrad Scott <conrad.scott@dsl.pipex.com>:Corinna Vinschen2002-08-072-2/+7
| | | | * fhandler_socket.cc (fhandler_socket::accept): Fix FIONBIO call.
* one more changeChristopher Faylor2002-08-072-1/+2
|
* * cygheap.cc (_csbrk): Avoid !cygheap considerations.Christopher Faylor2002-08-072-20/+18
| | | | (cygheap_init): Deal with unintialized cygheap issues here.
* Conrad Scott <conrad.scott@dsl.pipex.comChristopher Faylor2002-08-063-3/+9
| | | | | * cygheap.cc (_csbrk): Allocate some slop initially. Don't erroneously add sbrk amount to returned value in initial case.
* * spawn.cc (spawn_guts): Don't set mount_h here.Christopher Faylor2002-08-063-1/+7
| | | | | * sigproc.cc (init_child_info): Set it here instead. * shared.cc (cygwin_mount_h): Make NO_COPY.
* * cygthread.cc (cygthread::stub): Accept flag to pass info structure to threadChristopher Faylor2002-08-065-14/+53
| | | | | | | | | | | | | | | | function. (cygthread::operator new): Add defense debugging output. (cygthread::cygthread): Add debugging output. Set name after thread has been awakened to avoid a race. (cygthread::exit_thread): Use handle operator rather than using ev directly. (cygthread::exit_thread): Reorganize to provide debugging. Set __name to NULL. * cygthread.h (cygself): Define. * fhandler_tty.cc (fhandler_tty_master::init): Use cygself as argument so that invoked thread can access its own info. (process_output): Derive cygthread info of thread from thread argument. * sigproc.cc (sigproc_init): Use cygself as argument so that invoked thread can access its own info. (wait_sig): Derive cygthread info of thread from thread argument.
* * debug.h (handle_list::allocated): Remove field.Conrad Scott2002-08-063-17/+12
| | | | | | * debug.cc (newh): Don't malloc extra entries. (add_handle): Downgrade strace message level. (delete_handle): Remove case for `allocated' entries.
* * cygthread.cc (cygthread::stub): Change event creation to manual reset. SetChristopher Faylor2002-08-052-7/+30
| | | | | __name after calling SetEvent to prevent races. (cygthread::detach): Always reset event here to prevent races.
* * include/wingdi.h (AlphaBlend,GradientFill,TransparentBlt):Danny Smith2002-08-053-2/+19
| | | | | Add prototypes. * lib/msimg32.def: New file, with stubs for above.
* * debug.h (WaitForMultipleObjects): Correct typo.Conrad Scott2002-08-032-1/+5
|
* updateChristopher Faylor2002-08-031-1/+5
|
* * include/stdio.h (_fcloseall): Add prototype.Danny Smith2002-08-032-0/+5
|
* * winbase.h (AddAccessAllowedAceEx,AddAccessDeniedAceEx,Danny Smith2002-08-032-0/+21
| | | | | | GetFileSizeEx, SetFilePointerEx): Add prototypes. (EncryptFile[AW], FileEncryptionStatus[AW]): Add prototypes and UNICODE mappings.
* * mkgroup.c (main): Don't print an entry for "Everyone".Corinna Vinschen2002-08-023-4/+15
| | | | | * mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user. (main): Don't print an entry for "Everyone".
* * security.cc (verify_token): Do not reject a token just becauseCorinna Vinschen2002-08-024-6/+19
| | | | | | | | the supplementary group list is missing Everyone or a groupsid equal to usersid, or because the primary group is not in the token, as long as it is equal to the usersid. * syscalls.cc (seteuid32): Use common code for all successful returns. * grp.cc (getgroups32): Never includes Everyone in the output.
* * include/winbase.h (ReadFileScatter, WriteFileGather):Danny Smith2002-08-022-4/+9
| | | | Change second parameter to pointer.
* * cygthread.cc (cygthread::exit_thread): Define new method.Christopher Faylor2002-08-027-20/+46
| | | | | | | | | | | | | | | * cygthread.h (cygthread::exit_thread): Declare new method. * fhandler.h (fhandler_tty_master::hThread): Delete. (fhandler_tty_master::output_thread): Define. * fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Adjust constructor. (fhandler_tty_master::init): Use cygthread rather than handle. (process_output): Use cygthread method to exit. (fhandler_tty_master::fixup_after_fork): Set output_thread to NULL after fork. (fhandler_tty_master::fixup_after_exec): Set output_thread to NULL after spawn/exec. * tty.cc (tty_list::terminate): Detach from output_thread using cygthread method.
* * syscalls.cc (_link): Revert previous change and just always dereference theChristopher Faylor2002-08-012-9/+10
| | | | oldpath.