summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler_tty.cc (fhandler_pty_master::close): Always closeChristopher Faylor2006-06-122-12/+11
| | | | from_master/to_master since we always have copies of these handles.
* * include/sys/wait.h: Move definition of wait constants from here...Corinna Vinschen2006-06-124-22/+46
| | | | | * include/cygwin/wait.h: ...to here. New file. * include/cygwin/stdlib.h: Include cygwin/wait.h to conform with SUSv3.
* * winsup.api/user_malloc.c: New file.Corinna Vinschen2006-06-122-0/+220
|
* * heap.cc (heap_init): Only commit if allocsize is not zero.Corinna Vinschen2006-06-122-1/+5
|
* * net.cc (fdsock): Disable raising buffer sizes. Add comment toCorinna Vinschen2006-06-122-2/+18
| | | | explain why.
* [mingw-Bugs-1424461]Danny Smith2006-06-1241-8549/+8717
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *include/imagehlp.h: Comment out IN, OUT and OPTIONAL, throughout. *include/rpcdce.h: Don't define IN, OUT or OPTIONAL if _NO_W32_PSEUDO_MODIFIERS. *include/rpcnsi.h: Comment out IN, OUT and OPTIONAL, throughout. *include/rpcnsip.h: Likewise. *include/windef.h: Don't define IN, OUT or OPTIONAL if _NO_W32_PSEUDO_MODIFIERS. *include/ddk/batclass.h: Comment out IN, OUT and OPTIONAL, throughout. *include/ddk/cfgmgr32.h: Likewise. *include/ddk/ddkmapi.h: Likewise. *include/ddk/hidclass.h: Likewise. *include/ddk/hidpi.h: Likewise. *include/ddk/kbdmou.h: Likewise. *include/ddk/mcd.h: Likewise. *include/ddk/miniport.h: Likewise. *include/ddk/minitape.h: Likewise. *include/ddk/ndis.h: Likewise. *include/ddk/ndistapi.h: Likewise. *include/ddk/ndiswan.h: Likewise. *include/ddk/ntapi.h: Likewise. *include/ddk/ntdd8042.h: Likewise. *include/ddk/ntddpcm.h: Likewise. *include/ddk/ntifs.h: Likewise. *include/ddk/ntpoapi.h: Likewise. *include/ddk/parallel.h: Likewise. *include/ddk/pfhook.h: Likewise. *include/ddk/scsiwmi.h: Likewise. *include/ddk/smbus.h: Likewise. *include/ddk/srb.h: Likewise. *include/ddk/storport.h: Likewise. *include/ddk/tdikrnl.h: Likewise. *include/ddk/upssvc.h: Likewise. *include/ddk/usbcamdi.h: Likewise. *include/ddk/usbscan.h: Likewise. *include/ddk/video.h: Likewise. *include/ddk/videoagp.h: Likewise. *include/ddk/win2k.h: Likewise. *include/ddk/winddi.h: Likewise. *include/ddk/winddk.h: Don't define IN, OUT or OPTIONAL if _NO_W32_PSEUDO_MODIFIERS. Comment out IN, OUT and OPTIONAL, throughout. *include/ddk/winnt4.h: Comment out IN, OUT and OPTIONAL, throughout. *include/ddk/ws2san.h: Likewise.
* 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-102-2/+8
| | | | * lib/Makefile.in: Added hlguids-uuid as source and object.
* 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-104-4/+29
| | | | | | | | | * lib/uuid.c (CLSID_StaticDib, CLSID_StaticMetafile, CLSID_StdHlink, CLSID_StdHlinkBrowseContext): Remove. Moved to relevant files. * lib/cguid-uuid.c (CLSID_StaticDib, CLSID_StaticMetafile): Added. * lib/hlguids-uuid.c: New file. Thank you to Julien Lecomte (julienlecomte at users dot sourceforge dot net).
* 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-105-13/+40
| | | | | | | | | | | * lib/Makefile.in: Added urlmon-uuid and hlink-uuid as sources and objects. * lib/uuid.c (IID_IAuthenticate, IID_IBindHost, IID_IBindProtocol, IID_IBindStatusCallback, IID_IBindStatusCallbackMsg, IID_IBinding, IID_IHlink, IID_IHlinkBrowseContext, IID_IHlinkFrame, IID_IHlinkSite, IID_IHlinkTarget): Remove. Moved to new files. * lib/urlmon-uuid.c: New file. * lib/hlink-uuid.c: New file.
* 2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-104-9/+28
| | | | | | | | * lib/Makefile.in: Added ativscp-uuid as source and object. * lib/uuid.c (IID_IActiveScript, IID_IActiveScriptError, IID_IActiveScriptParse, IID_IActiveScriptSite, IID_IActiveScriptSiteWindow): Remove. Moved to ativscp-uuid.c. * lib/ativscp-uuid.c: New file.
* 2006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-103-104/+113
| | | | | | | * lib/uuid.c (IID_IClientSecurity, IID_IMallocSpy, IID_IServerSecurity): Remove. Moved to objidl-uuid.c * lib/objidl-uuid.c (IID_IClientSecurity, IID_IMallocSpy, IID_IServerSecurity): Defined.
* 2006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-096-34/+82
| | | | | | | | | | | | | | | | | | | | * lib/Makefile.in: Add cguid-uuid and olectlid-uuid as sources and objects. * lib/uuid.c (CLSID_CColorPropPage, CLSID_CFontPropPage, CLSID_CPicturePropPage, CLSID_Picture_Dib, CLSID_Picture_Metafile, CLSID_StdFont, CLSID_StdPicture, GUID_NULL, IID_ICreateTypeInfo, IID_ICreateTypeInfo2, IID_ICreateTypeLib, IID_ICreateTypeLib2, IID_IDebug, IID_IDebugStream, IID_IDispatch, IID_IEnumFORMATETC,IID_IEnumMoniker, IID_IEnumOLEVERB, IID_IEnumSTATDATA, IID_IEnumSTATSTG, IID_IEnumString, IID_IEnumUnknown, IID_IEnumVARIANT, IID_IOleLink, IID_IPSFactory, IID_IRpcChannel, IID_IRpcProxy, IID_IRpcStub, IID_ITypeInfo, IID_ITypeInfo2, IID_ITypeLib, IID_ITypeLib2): Remove. Moved to relevant files. * lib/oaidl-uuid.c (IID_ICreateTypeInfo, IID_ICreateTypeInfo2, IID_ICreateTypeLib, IID_ICreateTypeLib2, IID_ITypeInfo, IID_ITypeInfo2, IID_ITypeLib, IID_ITypeLib2, IID_IEnumVARIANT): Define. * lib/cguid-uuid.c: New file. * lib/olectlid-uuid.c: New file.
* 2006-06-08 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-0810-66/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/Makefile.in: Add objsafe-uuid oaidl-uuid docobj-uuid comcat-uuid exdisp-uuid mlang-uuid objidl-uuid as sources and objects. * lib/uuid.c (CATID_Control, CATID_DocObject, CATID_Insertable, CATID_PersistsToPropertyBag, CATID_PersistsToStorage, CATID_PersistsToStream, CATID_PersistsToStreamInit, CATID_Printable, CATID_Programmable, CLSID_CMultiLanguage, CLSID_StdComponentCategoriesMgr, CLSID_WebBrowser, DIID_DWebBrowserEvents, DIID_DWebBrowserEvents2, IID_IAdviseSink, IID_IAdviseSink2, IID_IBindCtx, IID_ICatInformation, IID_ICatRegister, IID_IClassActivator, IID_IContinueCallback, IID_ICreateErrorInfo, IID_IDataAdviseHolder, IID_IDataObject, IID_IEnumCATEGORYINFO, IID_IEnumGUID, IID_IEnumOleDocumentViews, IID_IErrorInfo, IID_IExternalConnection, IID_IFillLockBytes, IID_ILockBytes, IID_IMalloc, IID_IMarshal, IID_IMessageFilter, IID_IMoniker, IID_IObjectSafety, IID_IOleCommandTarget, IID_IOleDocument, IID_IOleDocumentSite, IID_IOleDocumentView, IID_IPSFactoryBuffer, IID_IPersist, IID_IPersistFile, IID_IPersistStorage, IID_IPersistStream, IID_IPrint, IID_IProgressNotify, IID_IPropertySetStorage, IID_IPropertyStorage, IID_IROTData, IID_IRootStorage, IID_IRpcChannelBuffer, IID_IRpcProxyBuffer, IID_IRpcStubBuffer, IID_IRunnableObject, IID_IRunningObjectTable, IID_ISequentialStream, IID_IStdMarshalInfo, IID_IStorage, IID_IStream, IID_ISupportErrorInfo, IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp): Remove. Moved to new files. * lib/comcat-uuid.c: New file. * lib/docobj-uuid.c: New File. * lib/exdisp-uuid.c: New file. * lib/mlang-uuid.c: New file. * lib/oaidl-uuid.c: New file. * lib/objidl-uuid.c: New file. * lib/objsafe-uuid.c: New file.
* Missed uuid.c on last commitChris Sutcliffe2006-06-071-57/+0
|
* 2006-06-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-075-3/+113
| | | | | | | | | | | | | | | | | | | | | | | | * lib/Makefile.in: Add oleacc-uuid oleidl-uuid ocidl-uuid as sources and objects. * lib/uuid.c (IID_IOleCache, IID_IOleCache2, IID_IOleCacheControl, IID_IViewObject, IID_IViewObject2, IID_IDropSource, IID_IDropTarget, IID_IOleAdviseHolder, IID_IOleInPlaceUIWindow, IID_IOleInPlaceObject, IID_IOleInPlaceActiveObject, IID_IOleInPlaceFrame, IID_IOleInPlaceSite, IID_IOleContainer, IID_IOleItemContainer, IID_IOleClientSite, IID_IOleObject, IID_IOleWindow, IID_IParseDisplayName, IID_IAccessible, LIBID_Accessibility, IID_IQuickActivate, IID_IOleUndoManager, IID_IOleParentUndoUnit, IID_IOleUndoUnit, IID_IEnumOleUndoUnits, IID_IPointerInactive, IID_IAdviseSinkEx, IID_IOleInPlaceSiteEx, IID_IOleControl, IID_IOleControlSite, IID_IPersistPropertyBag, IID_IPersistPropertyBag2, IID_IPersistStreamInit, IID_IPersistMemory, IID_IPropertyBag, IID_IPropertyBag2, IID_IPropertyNotifySink, IID_IPropertyPage, IID_IPropertyPage2, IID_IPropertyPageSite, IID_IFont, IID_IFontDisp, IID_IPicture, IID_IPictureDisp, IID_IProvideClassInfo, IID_IProvideClassInfo2, IID_IEnumConnectionPoints, IID_IEnumConnections, IID_IConnectionPoint, IID_IConnectionPointContainer, IID_IClassFactory2, IID_IErrorLog, IID_IObjectWithSite, IID_IPerPropertyBrowsing, IID_ISimpleFrameSite, IID_ISpecifyPropertyPages): Remove. Moved to new files. * lib/oleidl-uuid.c: New file. * lib/oleacc-uuid.c: New file. * lib/ocidl-uuid.c: New file.
* ChangeLog amendment for entries dated 2006-04-18 by Thorsten DahlheimerKeith Marshall2006-06-041-14/+27
|
* * ioctl.cc (ioctl): Accommodate change in reported pty master device number.Christopher Faylor2006-06-043-5/+13
| | | | * select.cc (peek_pipe): Ditto.
* 2006-06-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-045-5/+30
| | | | | | | | | * lib/Makefile.in: Add unknwn-uuid and servprov-uuid as sources and objects. * lib/uuid.c (IID_IUnknown, IID_IClassFactory, IID_IServiceProvider): Remove. Moved to unknwn-uuid and servprov-uuid. * lib/unknwn-uuid.c: New file. * lib/servprov-uuid.c: New file.
* * cygtls.h (CYGTLS_PADSIZE): Reset to a size that XP SP1 seems to like.Christopher Faylor2006-06-043-63/+69
| | | | * tlsoffsets.h: Regenerate.
* fix wordingChristopher Faylor2006-06-031-1/+2
|
* * cygthread.cc (cygthread::terminate_thread): In debugging output, use name ofChristopher Faylor2006-06-035-25/+35
| | | | | | | | | | | | | | | | | | | | thread being terminated rather than thread doing terminating. * fhandler.h (fhandler_pty_master::slave): Delete. (fhandler_pty_master::get_unit): Ditto. (fhandler_pty_master::setup): Change argument declaration to accommodate new usage. * fhandler_tty.cc (fhandler_tty_master::init): Remove obsolete slave assignment. Pass argument to setup indicating that this is a tty. (fhandler_tty_slave::open): Use dev() method rather than referencing pc.dev directly. (fhandler_pty_master::open): Don't create archetype based on ptym device number. Set device number to use DEV_TTYM_MAJOR and tty number. Pass argument to setup indicating that this is a pty. (fhandler_pty_master::setup): Change single argument to a flag indicating whether we're creating a pty and use appropriately. Calculate 't' variable here rather than in caller. * fhandler_dsp.cc (fhandler_dev_dsp::open): Use dev() method rather than referencing pc.dev directly.
* * dcrt0.cc (dll_crt0_0): Call tty_list::init_session here.Christopher Faylor2006-06-039-77/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (dll_crt0_1): Reflect renaming from tty_init to tty::init_session. (do_exit): Reflect moving of tty_terminate into tty_list. * exceptions.cc (events_init): Move tty_mutex stuff elsewhere. * fhandler_console.cc (set_console_title): Use lock_ttys class. * fhandler_termios.cc (fhandler_termios::bg_check): Make debug output more accurate. * fhandler_tty.cc (fhandler_tty_slave::open): Reflect move of attach_tty into tty_list class. Don't attempt to grab master end of pty if master doesn't exist. (fhandler_pty_master::open): Reflect move of allocate_tty into tty_list class. Use lock_ttys::release to release mutex. Improve debugging output. (fhandler_pty_master::setup): Remove if 0'ed block. Fix argument to SetNamedPipeHandleState. * pinfo.cc (_pinfo::set_ctty): Lock ttys before setting sid/pgid. Improve debugging. Add temporary debugging. * tty.cc (tty_list::init_session): New function. (tty::init_session): Rename from tty_init. Reflect move of attach_tty to tty_list class. (tty::create_master): Rename from create_tty_master. (tty_list::attach): Rename from attach_tty. Reflect renaming of connect_tty to connect. Ditto for allocate_tty. (tty_terminate): Delete. (tty_list::terminate): Subsume tty_terminate. Use lock_ttys rather than manipulating mutex directly. (tty_list::allocate): Rename from allocate_tty. Use lock_ttys rather than manipulating mutex directly. Don't set sid here since linux apparently doesn't do this. Reflect move of create_tty_master into tty. (lock_ttys::lock_ttys): Define new constructor. (lock_ttys::release): New function. * tty.h (tty::exists): Return false immediately if !master_pid. (tty::set_master_closed): Define new function. (tty::create_master): Ditto. (tty::init_session): Ditto. (tty_list::mutex): New field. (tty_list::allocate): Define new function. (tty_list::connect): Ditto. (tty_list::attach): Ditto. (tty_list::init_session): Ditto. (lock_ttys): New class. (tty_init): Delete declaration. (tty_terminate): Ditto. (attach_tty): Ditto. (create_tty_master): Ditto.
* Expand ChangeLog entryChris Sutcliffe2006-06-031-1/+3
|
* * Makefile.in (libdl.a): New library.Christopher Faylor2006-06-032-1/+8
|
* * include/strmif.h (VMRDeinterlaceTech): Correct typedef for DeinterlaceTech_*Danny Smith2006-06-032-1/+6
| | | | enum.
* * include/strmif.h (enum tagAnalogVideoStandard): Add missing ','.Danny Smith2006-06-032-1/+5
|
* 2006-06-02 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2006-06-033-8/+16
| | | | | | | | | | | | | | * include/winuser.h (DM_BITSPERPEL, DM_PELSWIDTH, DM_PELSHEIGHT, DM_DISPLAYFLAGS, DM_DISPLAYFREQUENCY): Remove. Duplicates of wingdi.h defines. 2006-06-02 Dimitri Papadopoulos <papadopo@users.sourceforge.net> * include/winuser.h ((SPI_GETMOUSETRAILS,SPI_SETMOUSETRAILS): Remove duplicate defines. * include/winnt.h (SUBLANG_ARABIC_SAUDI_ARABIA): Revert accidental removal. (SUBLANG_MARATHI_INDIA): Remove duplicate define.
* * fhandler_tty.cc (fhandler_pty_master::close): Don't close handles if we don'tChristopher Faylor2006-06-032-6/+29
| | | | | | | | | | own them. (fhandler_pty_master::setup): Make sure that original handle is closed when changing inheritance. (fhandler_pty_master::fixup_after_fork): Set from_master/to_master to arch value always. (fhandler_pty_master::fixup_after_exec): Clear from_master/to_master when close_on_exec.
* * cygheap.cc (init_cygheap::close_ctty): Remove obsolete code.Christopher Faylor2006-06-035-36/+26
| | | | | | | | | | | | * dcrt0.cc (child_info_spawn::handle_spawn): Signal ready after we've run fixup_after_exec. * dtable.cc (dtable::fixup_after_exec): Add debugging output. * fhandler_tty.cc (fhandler_pty_master::doecho): Use class version of to_master. (fhandler_tty_common::close): Remove obsolete code. (fhandler_tty_slave::fixup_after_exec): Don't close, since this is done in dtable's fixup_after_exec. (revisit later?) (fhandler_pty_master::fixup_after_exec): Ditto.
* (check in missing ChangeLog lines)Christopher Faylor2006-06-031-0/+6
| | | | | | | | * tlsoffsets.h: Regenerate. * dcrt0.cc (break_here): Define unconditionally for use elsewhere. Call DebugBreak, if appropriate. (initial_env): Rely on break_here() to call DebugBreak. * exceptions.cc (try_to_debug): Ditto.
* * cygtls.h (CYGTLS_PADSIZE): Bump up or suffer a regrettable collision with theChristopher Faylor2006-06-035-68/+74
| | | | call chain.
* * fhandler.cc (fhandler_base::fixup_after_exec): Declare here.Christopher Faylor2006-06-028-333/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fhandler.h (fhandler_base::fixup_after_exec): Make non-inline. (fhandler_termios::fixup_after_fork): Delete declaration. (fhandler_termios::fixup_after_exec): Ditto. (fhandler_tty_common::inuse): Remove. (fhandler_tty_common::dup): Delete declaration. (fhandler_tty_common::fixup_after_fork): Ditto. (fhandler_tty_slave::fixup_after_exec): Declare new function. (fhandler_pty_master::dwProcessId): New variable. (fhandler_pty_master::from_master): Ditto. (fhandler_pty_master::to_master): Ditto. (fhandler_pty_master::setup): New function. (fhandler_pty_master::fixup_after_fork): Ditto. (fhandler_pty_master::fixup_after_exec): Ditto. * fhandler_termios.cc (fhandler_termios::fixup_after_exec): Delete definition. (fhandler_termios::fixup_after_fork): Ditto. * fhandler_tty.cc (fhandler_tty_master::init): Use fhandler_pty_master setup function rather than obsolete tty::common_init. Delete obsolete inuse setting. (fhandler_tty_slave::fhandler_tty_slave): Set inuse to NULL here. (fhandler_tty_slave::open): Change debugging output for clarity. Check for different things when doing a sanity check on the tty. Reflect the fact that master_pid now is the cygwin pid rather than the windows pid. Use "arch" rather than "archetype" for consistency. (fhandler_tty_slave::close): Close inuse here. (fhandler_tty_slave::dup): Remove old if 0'ed code. (fhandler_pty_master::dup): New function. Handles pty master archetype. (fhandler_pty_master::fhandler_pty_master): Zero pty_master specific fields. (fhandler_pty_master::open): Implement using archetypes, similar to slave. Use fhandler_pty_master setup function rather than obsolete tty::common_init. Don't set inuse. (fhandler_tty_common::close): Don't deal with inuse. Delete old if 0'ed code. (fhandler_pty_master::close): Implement using archetypes. Close from_master and to_master. (fhandler_tty_common::set_close_on_exec): Just set close_on_exec flag here since everything uses archetypes now. (fhandler_tty_common::fixup_after_fork): Delete definition. (fhandler_tty_slave::fixup_after_exec): Define new function. (fhandler_pty_master::setup): New function, derived from tty::common_init. (fhandler_pty_master::fixup_after_fork): New function. (shared_info.h): Reset SHARED_INFO_CB to reflect new tty size. * tty.cc (tty_list::terminate): Close individual handles from tty_master. (tty::master_alive): Delete. (tty::make_pipes): Ditto. (tty::common_init): Ditto. * tty.h (tty::from_slave): Delete. (tty::to_slave): Ditto. (tty::common_init): Delete declaration. (tty::make_pipes): Ditto. (tty::master_pid): Define as pid_t since it is now a cygwin pid.
* Add faq.setup.automatedJoshua Daniel Franklin2006-06-022-0/+53
|
* Replace references to depracated Win32_Winsock macro with __USE_W32_WINSOCKJoshua Daniel Franklin2006-06-022-6/+16
|
* * cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let theChristopher Faylor2006-06-028-22/+75
| | | | | | | | | | | | | | | | | | | | caller do that. * dcrt0.cc (child_info_spawn::handle_spawn): Close parent handle here to allow fixup_after_exec functions to use it. * cygtls.cc (_cygtls::call2): Avoid calling exit thread if called with *crt0_1 functions. * cygtls.h (_cygtls::isinitialized): Check that we actually have a tls before seeing if it is initialized. * gendef (_sigfe_maybe): Ditto. * dcrt0.cc (dll_crt0_1): Remove static, use just one argument. * dll_init.cc (dllcrt0_info): New structure. (dll_dllcrt0): Change into a front-end to renamed dll_dllcrt0_1 so that we'll always be assured of having something like a tls. (dll_dllcrt0_1): New function, basically renamed from from dll_dllcrt0. Unconditionally call _my_tls.init_exception_handler now that we are assured of having a tls. Change variable name from "linking" to "linked". * winsup.h (dll_crt0_1): Declare. (dll_dllcrt0_1): Ditto.
* Expand wildcards in Dimitri Papadopoulos Changelog entries of:Danny Smith2006-05-311-32/+269
| | | | | 2006-05-11, 2006-05-10, 2006-05-04, 2006-04-28, 2006-04-11, 2006-04-14, 2006-04-07.
* * cygtls.cc (_cygtls::call2): Don't call ExitThread on the main thread.Christopher Faylor2006-05-312-1/+8
|
* * winsup.api/cygload.h: Increase padding to 32768.Christopher Faylor2006-05-312-1/+5
|
* * winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.Christopher Faylor2006-05-292-3/+8
|
* * sigproc.cc (child_info::proc_retry): Mask all of the bits we're interestedChristopher Faylor2006-05-292-1/+6
| | | | in, which includes bits above and below 0xc0000000.
* Put an underscore in front of the "active" in "strace.active".Christopher Faylor2006-05-281-1/+1
|
* white spaceChristopher Faylor2006-05-2819-91/+91
|
* * dll_init.cc (dll_dllcrt0): Previous change didn't work very well with fork.Christopher Faylor2006-05-272-2/+10
| | | | | Semi-revert it but change name of variable to something that makes better sense.
* * thread.cc (verifyable_object_isvalid): Check for NULL specifically.Christopher Faylor2006-05-272-4/+10
|
* add missing commentChristopher Faylor2006-05-271-0/+6
|
* * dll_init.cc (dll_dllcrt0): Call _my_tls.init_exception_handler if we'veChristopher Faylor2006-05-272-3/+12
| | | | | finished initializing (Thanks to Gary Zablackis for noticing this problem). Just use cygwin_finished_initializing rather than defining a separate variable.
* Expand 2006-05-03 Dimitri Papadopoulos wildcards in ChangelogDanny Smith2006-05-251-3/+6
|
* Expand 2006-05-02 Dimitri Papadopoulos wildcards in ChangelogDanny Smith2006-05-251-7/+62
|
* * debug.h (ModifyHandle): Define new macro.Christopher Faylor2006-05-256-8/+50
| | | | | | | | | | | | | (modify_handle): Declare new function. * debug.cc (modify_handle): Define new function. * fhandler.h (fhandler_base::fork_fixup): Change return value from void to bool. * fhandler.cc (fhandler_base::fork_fixup): Return true if fork fixup has been done. * pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance of protected handle via ModifyHandle if DEBUGGING. (fhandler_pipe::fixup_after_fork): Protect guard handle if fork fixup has been done.
* * cygtls.cc (_cygtls::call): Call call2 using _my_tls.Christopher Faylor2006-05-257-112/+104
| | | | | | | | | | | | (_cygtls::init_exception_handler): Always replace existing exception handler with cygwin exception handler. * cygtls.h (_cygtls::call2): Remove static designation. * dcrto.cc (dll_crt0_1): Define in a way that allows calling via _cygtls::call. (_initialize_main_tls): Delete. (_dll_crt0): Call dll_crt0_1 via cygtls::call. Set _main_tls here. * external.cc (cygwin_internal): Implement CW_CYGTLS_PADSIZE. * include/sys/cygwin.h (CW_CYGTLS_PADSIZE): Define. * tlsoffsets.h: Regenerate.