| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
know it's correct. Return correct value on error.
|
|
|
|
| |
si->exitcode consistently.
|
|
|
|
|
|
|
| |
* libc/misc/dprintf.c: Removed.
* libc/misc/__dprintf.c: Renamed from dprintf.c.
* libc/misc/Makefile.am: Changed appropriately for rename.
* libc/misc/Makefile.in: Regenerated.
|
|
|
|
|
|
| |
* libc/include/stdio.h: Protect dprintf prototype
with #ifndef dprintf so as to not interfere with
historical code defining their own dprintf macro.
|
|
|
|
|
|
|
| |
* mips/configure.in: Change mipsisa64-*-* to
mipsisa64*-*-* to catch minor variations like
mipsisa64sb1.
* mips/configure: Regenerated.
|
|
|
|
|
|
| |
* mips/configure.in: Change mipsisa64-*-* to
mipsisa64*-*-* to catch minor variations like
mipsisa64sb1.
|
|
|
|
|
|
| |
* MAINTAINERS: Change intl updating instructions.
* config.rpath: Copy from GCC tree.
* intl: Replace contents of intl directory with intl from GCC tree.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(CURR_CHILD_INFO_MAGIC): Reset.
(saw_ctrl_c): New function.
(set_saw_ctrl_c): Ditto.
* sigproc.cc (child_info::proc_retry): Return EXITCODE_OK if we get
STATUS_CONTROL_C_EXIT and we actually saw a CTRL-C.
* spawn.cc (dwExeced): Delete.
(chExeced): New variable.
(spawn_guts): Set chExeced;
* exceptions.cc (dwExeced): Delete declaration.
(chExeced): Declare.
(ctrl_c_handler): Detect if we're an exec stub process and set a flag, if so.
* fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Add extra
DEBUGGING test.
* pinfo.cc: Fix comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SECURITY_ATTRIBUTES argument.
* pipe.cc (fhandler_pipe::open): Duplicate guard from other process and protect
it appropriately. Eliminate unneeded writepipe_exists temporary variable. Set
inheritance appropriately.
(fhandler_pipe::set_close_on_exec): Revert change which eliminated handling
guard inheritance.
(fhandler_pipe::fixup_after_fork): Ditto. Use correct name of entity being
checked by fork_fixup.
(fhandler_pipe::fixup_after_exec): Don't bother with guard here.
(fhandler_pipe::dup): Cosmetic changes and revert creation of writepipe_exists
as noninheritable.
(fhandler_pipe::create): Revert change which eliminated SECURITY_ATTRIBUTES
argument. Revert change which always made writepipe_exists noninheritable.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* dtable.cc (dtable::stdio_init): Cosmetic change.
* fhandler.h (fhandler_base::create_read_state): Protect handle.
(fhandler_pipe::create_guard): Ditto. Always mark the handle as inheritable.
(fhandler_pipe::is_slow): Return boolean value rather than numeric 1.
* pipe.cc (fhandler_pipe::fhandler_pipe): Always flag that we need fork fixup.
(fhandler_pipe::open): Don't pass security attributes to create_guard.
(fhandler_pipe::set_close_on_exec): Don't handle guard here.
(fhandler_pipe::close): Accommodate now-protected guard handle.
(fhandler_pipe::fixup_in_child): Don't proected read_state here.
(fhandler_pipe::fixup_after_exec): Close guard handle if close_on_exec.
(fhandler_pipe::fixup_after_fork): Don't bother with guard here.
(fhandler_pipe::dup): Don't set res to non-error prematurely. Use boolean
values where appropriate. Protect guard and read_state.
(fhandler_pipe::create): Don't call need_fork_fixup since it is now the
default. Don't protect read_state or guard.
* pipe.cc (fhandler_base::ready_for_read): Use bool values for "avail".
* spawn.cc (spawn_guts): Set cygheap->pid_handle as inheritable when
protecting.
* select.cc (fhandler_pipe::ready_for_read): Actually get the guard mutex for
blocking reads.
|
| |
|
|
|
|
| |
on first pty open.
|
| |
|
|
|
|
| |
window station when ctty != TTY_CONSOLE.
|
|
|
|
|
| |
* libc/include/stdio.h: Add prototypes for fiscanf,
iscanf, and siscanf.
|
|
|
|
| |
(do-proto-toplev): Pass MAKEINFOFLAGS to submakes.
|
|
|
|
| |
Use supplied codepage as arg to WideCharToMultiByte.
|
|
|
|
|
|
| |
function will always be called when _my_tls is initialized.
* init.cc (dll_entry): Don't attempt to remove tls info if _my_tls is obviously
not even available.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(wait_sig): Set hwait_sig to INVALID_HANDLE_VALUE on __SIGEXIT.
* cygtls.cc (_cygtls::init_thread): Zero entire _my_tls structure and no more.
* cygtls.h (_my_tls::padding): Delete.
(CYGTLS_PADSIZE): Redefine concept of padding to mean padding at the end of the
stack.
* dcrt0.cc (initialize_main_tls): Change return to void.
* gentls_offsets: Treat const specially, too. Keep going after a '}' is found.
Change negative offset calculation to use CYGTLS_PADSIZE.
* init.cc (_my_oldfunc): New variable.
(threadfunc_fe): Use stored tls value for oldfunc rather than blindly writing
to the stack.
(munge_threadfunc): Set oldfunc in tls.
(dll_entry): Initialize tls allocation.
* tlsoffsets.h: Regenerate.
|
| |
|
| |
|
|
|
|
| |
* libc/machine/sh/Makefile.in: Regenerate.
|
|
|
|
|
|
| |
(TraceRegisterA,TraceRegisterW,TraceVprintfA,TraceVprintfW): Define
as macros.
Thanks to: Bruce M Simpson <bms_spc at sf dot net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(MprAdminMIBEntryDelete,MprAdminMIBEntryGet,MprAdminMIBEntryGetFirst)
(MprAdminMIBEntryGetNext,MprAdminMIBEntrySet,MprAdminMIBGetTrapInfo)
(MprAdminMIBServerConnect,MprAdminMIBServerDisconnect)
(MprAdminMIBSetTrapInfo): Declare functions.
Note: MprAdminMIBSetTrapInfo is missing from mprapi.def.
(MIB_SERVER_HANDLE): New typedef.
(MprConfigTransportSetInfo): Declare function.
* lib/mprapi.def (MprSetupIpInIpInterfaceFriendlyNameEnum)
(MprSetupIpInIpInterfaceFriendlyNameFree): Fix size.
|
|
|
|
|
|
|
| |
(TracePrintf{AW},TracePrintfEx{AW}): Left out for now.
* include/rtutils.h: New file.
(TraceDump{AW},TracePuts{AW},TraceRegister{AW},TraceVprintf{AW}):
Commented out, they're missing from rtutils.def.
|
|
|
|
|
|
| |
(MprInfoBlockQuerySize,MprInfoBlockRemove,MprInfoBlockSet)
(MprInfoCreate,MprInfoDelete,MprInfoDuplicate)
(MprInfoRemoveAll): Declare functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(MprConfigGetGuidName,MprConfigInterfaceCreate)
(MprConfigInterfaceDelete,MprConfigInterfaceEnum)
(MprConfigInterfaceGetHandle,MprConfigInterfaceGetInfo)
(MprConfigInterfaceSetInfo,MprConfigInterfaceTransportAdd)
(MprConfigInterfaceTransportEnum,MprConfigInterfaceTransportGetHandle)
(MprConfigInterfaceTransportGetInfo,MprConfigInterfaceTransportRemove)
(MprConfigInterfaceTransportSetInfo,MprConfigServerBackup)
(MprConfigServerConnect,MprConfigServerDisconnect)
(MprConfigServerGetInfo,MprConfigServerInstall)
(MprConfigServerRestore,MprConfigTransportCreate)
(MprConfigTransportDelete,MprConfigTransportEnum)
(MprConfigTransportGetHandle,MprConfigTransportGetInfo)
(MprConfigTransportSetInfo): Declare functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(MprAdminDeregisterConnectionNotification,MprAdminGetErrorString)
(MprAdminInterfaceConnect,MprAdminInterfaceCreate)
(MprAdminInterfaceDelete,MprAdminInterfaceDeviceGetInfo)
(MprAdminInterfaceDeviceSetInfo,MprAdminInterfaceDisconnect)
(MprAdminInterfaceEnum,MprAdminInterfaceGetCredentials)
(MprAdminInterfaceGetCredentialsEx,MprAdminInterfaceGetHandle)
(MprAdminInterfaceGetInfo,MprAdminInterfaceQueryUpdateResult)
(MprAdminInterfaceSetCredentials,MprAdminInterfaceSetCredentialsEx)
(MprAdminInterfaceSetInfo,MprAdminInterfaceTransportAdd)
(MprAdminInterfaceTransportGetInfo,MprAdminInterfaceTransportRemove)
(MprAdminInterfaceTransportSetInfo)
(MprAdminInterfaceUpdatePhonebookInfo,MprAdminInterfaceUpdateRoutes)
(MprAdminIsServiceRunning,MprAdminRegisterConnectionNotification)
(MprAdminServerConnect,MprAdminServerDisconnect)
(MprAdminServerGetCredentials,MprAdminServerGetInfo)
(MprAdminServerSetCredentials,MprAdminTransportCreate)
(MprAdminTransportGetInfo,MprAdminTransportSetInfo): Declare functions.
|
| |
|
|
|
|
| |
Would need to be regenerated on Windows Server 2003.
|
|
|
|
|
|
|
|
|
|
| |
(MprAdminAcceptNewConnection,MprAdminAcceptNewConnection2)
(MprAdminAcceptNewLink,MprAdminAcceptReauthentication)
(MprAdminConnectionHangupNotification)
(MprAdminConnectionHangupNotification2)
(MprAdminGetIpAddressForUser)(MprAdminInitializeDll)
(MprAdminTerminateDll,MprAdminLinkHangupNotification)
(MprAdminReleaseIpAddress): Declare functions.
|
|
|
|
|
| |
* include/ipxconst.h: Fix header guard.
* include/ipxrtdef.h: include <ipxconst.h>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(IPX_INTERFACE_INFO_TYPE,IPX_STATIC_ROUTE_INFO_TYPE)
(IPX_STATIC_SERVICE_INFO_TYPE,IPX_SERVICE_FILTER_INFO_TYPE)
(IPX_ROUTE_FILTER_INFO_TYPE,IPX_IN_TRAFFIC_FILTER_INFO_TYPE)
(IPX_ADAPTER_INFO_TYPE,IPXWAN_INTERFACE_INFO_TYPE,IPX_GLOBAL_INFO_TYPE)
(IPX_STATIC_NETBIOS_NAME_INFO_TYPE)
(IPX_IN_TRAFFIC_FILTER_GLOBAL_INFO_TYPE)
(IPX_OUT_TRAFFIC_FILTER_INFO_TYPE)
(IPX_OUT_TRAFFIC_FILTER_GLOBAL_INFO_TYPE): Define.
* include/routprot.h: Cleanup.
(PROTO_IP_*,IPRTRMGR_PID,IPX_PROTOCOL_*): Define.
* include/fltdefs.h: New file.
* include/ipinfoid.h: New file.
|
|
|
|
|
|
| |
(DEF_NEWLIB_VERSION).
* configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(IAMAudioRendererStats,IAMBufferNegotiation,IAMCameraControl)
(IAMCertifiedOutputProtection): Add interfaces.
* include/adsprop.h: New file.
* include/cmnquery.h: New file.
* include/dsadmin.h: New file.
* include/dsclient.h: New file.
* include/dsgetdc.h: New file.
* include/dsquery.h: New file.
* include/dsrole.h: New file.
* include/ntdsapi.h: New file.
* include/ntdsbcli.h: New file.
* include/objsel.h: New file.
Not finished. Just wanted to submit this before I'm disembarked
from the project, so that the work isn't lost...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.in: Pass some additional flags in FLAGS_TO_PASS.
* configure.in: Add additional flags when creating Makefile.
* configure: Regenerated.
* arm/configure
* arm/configure.in: Set with_multisubdir when creating Makefile.
* cris/configure.in: Ditto.
* d30v/configure.in: Ditto.
* frv/configure.in: Ditto.
* i386/configure.in: Ditto.
* iq2000/configure.in: Ditto.
* libnosys/configure.in: Ditto.
* m32c/configure.in: Ditto.
* m32r/configure.in: Ditto.
* m68hc11/configure.in: Ditto.
* m68k/configure.in: Ditto.
* mcore/configure.in: Ditto.
* mips/configure.in: Ditto.
* mn10200/configure.in: Ditto.
* mn10300/configure.in: Ditto.
* mt/configure.in: Ditto.
* pa/configure.in: Ditto.
* rs6000/configure.in: Ditto.
* sparc/configure.in: Ditto.
* cris/configure: Regenerated.
* d30v/configure: Ditto.
* frv/configure: Ditto.
* i386/configure: Ditto.
* iq2000/configure: Ditto.
* libnosys/configure: Ditto.
* m32c/configure: Ditto.
* m32r/configure: Ditto.
* m68hc11/configure: Ditto.
* m68k/configure: Ditto.
* mcore/configure: Ditto.
* mips/configure: Ditto.
* mn10200/configure: Ditto.
* mn10300/configure: Ditto.
* mt/configure: Ditto.
* pa/configure: Ditto.
* rs6000/configure: Ditto.
* sparc/configure: Ditto.
|
|
|
|
|
| |
(DEXTERF_TRACK_SEARCH_FLAGS,TIMELINE_MAJOR_TYPE): Add enums.
(CONNECTF_DYNAMIC_*,SFN_VALIDATEF_*,RESIZEF_*): Define.
|
|
|
|
| |
* include/errors.h: Cleanup.
|
|
|
|
|
|
| |
avoid dependency on <string.h>.
There's no Win32 equivalent for memcmp:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q99456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of memset to avoid <string.h>. Still need a fix for memcmp.
* include/dshow.h (AM_ASPECT_RATIO_MODE,AM_WST_DRAWBGMODE,AM_WST_LEVEL)
(AMExtendedSeekingCapabilities,AM_WST_SERVICE,AM_WST_STATE)
(AM_WST_STYLE): Add enums.
(AM_WST_PAGE,AMVABeginFrameInfo,AMVACompBufferInfo,AMVAEndFrameInfo,
AMVAInternalMemInfo,AMVAUncompBufferInfo,AMVAUncompDataInfo): New
structures.
* include/errors.h (VFW_*): Define.
* include/evcode.h (AM_WMT_EVENT_DATA): New structure.
* include/mmsystem.h (WAVE_FORMAT_EXTENSIBLE): Define.
* include/edevdefs.h (ED_FORMAT_SMPTE_30,ED_FORMAT_SMPTE_30DROP)
(ED_FORMAT_SMPTE_25,ED_FORMAT_SMPTE_24): Move from here...
* include/strmif.h: ... to here. New file.
* include/aviriff.h: New file.
* include/bdatypes.h: New file.
* include/control.h: New file.
* include/dvdmedia.h: New file.
* include/il21dec.h: New file.
* include/ks.h: New file.
* include/ksmedia.h: New file.
* include/mmreg.h: New file.
* include/mpegtype.h: New file.
* include/vidcap.h: New file.
* include/vmr9.h: New file.
* include/vptype.h: New file.
* include/xprtdefs.h: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Documented as defined on Windows 2000 or later.
[WINVER >= 0x0600] (LOCALE_SDURATION,LOCALE_SIETFLANGUAGE)
(LOCALE_SISO3166CTRYNAME2,LOCALE_SISO639LANGNAME2)
(LOCALE_SKEYBOARDSTOINSTALL,LOCALE_SNAME,LOCALE_SNAN)
(LOCALE_SNEGINFINITY,LOCALE_SPOSINFINITY,LOCALE_SSCRIPTS): Documented
but values unknown, Windows Vista or later.
(CAL_UMALQURA): Cleanup.
(CAL_SSHORTESTDAYNAME_*): Cleanup.
[WINVER >= 0x0410] (CAL_SYEARMONTH,CAL_ITWODIGITYEARMAX)
(CAL_NOUSEROVERRIDE,CAL_RETURN_NUMBER,CAL_USE_CP_ACP): Cleanup.
|
|
|
|
|
|
|
|
|
|
|
| |
(GGO_UNHINTED): Define.
(DMPAPER_*): Define. Paper size newly added to the documentation.
(DMPAPER_LAST): Value depends on DMPAPER_* variables actually defined.
(DM_*): Cleanup.
(DM_PANNINGWIDTH,DM_PANNINGHEIGHT,DM_DISPLAYFIXEDOUTPUT): Define.
(DMDO_*,DMDFO_*): Define.
(GetDCBrushColor,GetDCPenColor): Declare.
* lib/msimg32.def (GetDCBrushColor,GetDCPenColor): Add stubs.
|
|
|
|
| |
Languages newly added to the documentation.
|
|
|
|
|
|
| |
* libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
lib_a_SOURCES.
* libc/ctype/Makefile.in: Regenerated.
|