| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules().
* include/dlfcn.h (RTLD_DEFAULT): Define to NULL.
|
|
|
|
| |
prevent pid reuse.
|
| |
|
|
|
|
| |
from a hold condition.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
starting.
* child_info.h (init_child_info): Remove pid argument from declaration.
* cygheap.h (init_cygheap::pid): New element.
* dcrt0.cc (dll_crt0_0): Eliminate handling of now-noexistent cygpid parameter
in child_info struct. Set forkee to 'true' rather than cygpid since the pid
value was never used.
(dll_crt0_1): Ditto.
(_dll_crt0): Ditto.
* fork.cc (fork_child): Don't wait for sigthread. This is handled in the fork
call now.
(fork_parent): Remove obsolete pid argument from init_child_info call. Don't
do anything special with cygpid when DEBUGGING.
(fork): Delay all signals during fork.
(fork_init): Don't do anything special when DEBUGGING.
* pinfo.cc (set_myself): Remove pid parameter. Use new pid field in cygheap.
(pinfo_init): Don't pass pid argument to set_myself.
* sigproc.cc (sig_send): Wait for dwProcessId to be non-zero as well as
sendsig.
(init_child_info): Eliminate handling of pid.
(wait_sig): Implement method to temporarily hold off sending signals.
* sigproc.h (__SIGHOLD): New enum.
(__SIGNOHOLD): Ditto.
* spawn.cc (spawn_guts): Remove obsolete pid argument from init_child_info
call.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* bsdlib.cc (logwtmp): Move from syscalls.cc to here.
(login): Ditto.
(logout): Ditto.
* winsup.h (EXPORT_ALIAS): New macro.
* exec.cc: Define alias symbols using EXPORT_ALIAS macro.
* syscalls.cc: Ditto.
* times.cc: Ditto.
|
| |
|
|
|
|
| |
where CreateNamedPipe returns NULL.
|
|
|
|
|
|
|
|
| |
(S_IFLNK) Ditto.
(_lstat) Ditto.
(lstat) Ditto.
(_S_ISLNK) Recode.
(S_ISLNK) Ditto.
|
|
|
|
| |
(S_ISLNG): Ditto.
|
|
|
|
|
|
|
|
| |
* cygheap.h (cwdstuff::drive_length): New member.
(cwdstuff::get_drive): New method.
* path.cc (normalize_win32_path): Simplify by using cwdstuff::get_drive.
(mount_info::conv_to_win32_path): Use cwdstuff::get_drive as default for /.
(cwdstuff::set): Initialize drive_length.
|
|
|
|
|
|
| |
indicate that it is "special".
* thread.cc (pthread::exit): If __sdidinit is < 0, it was never really
initialized so reset it to 0 before calling _reclaim_reent.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/mshtml.h (IHTMLDocument2): Correct get_selection
declaration.
(IHTMLSelectionObject): Correct get_type declaration.
(IHTMLFramesCollection2, IHTMLWindow2, IHTMLFrameBase,
IHTMLFrameBase2, IHTMLFrameBase3, IHTMLBodyElement,
IHTMLBodyElement2): Add interfaces.
(LPHTMLIMAGEELEMENTFACTORY, LPHTMLEVENTOBJ, LPHTMLSCREEN,
LPHTMLOPTIONELEMENTFACTORY, LPOMHISTORY, LPOMNAVIGATOR): Add
typedefs.
* lib/mshtml-uuid.c (IID_IHTMLFrameBase2, IID_IHTMLFrameBase3):
Add IIDs.
|
| |
|
|
|
|
| |
* Makefile.in: Ditto.
|
| |
|
|
|
|
| |
* Makefile.in: Ditto.
|
|
|
|
|
|
|
|
| |
* include/winuser.h (MonitorFromPoint, MonitorFromRect,
MonitorFromWindow): Add prototypes.
* lib/user32.def (MonitorFromPoint, MonitorFromRect,
MonitorFromWindowMonitorFromWindow): Add stubs.
* include/shellapi.h (DuplicateIcon): Add prototype.
|
|
|
|
| |
Use it to mark user32.dll imports, throughout.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/ddk/hid.def (HidD_FlushQueue, HidD_FreePreparsedData,
HidD_GetAttributes, HidD_GetConfiguration, HidD_GetFeature,
HidD_GetHidGuid, HidD_GetIndexedString, HidD_GetInputReport,
HidD_GetManufacturerString, HidD_GetMsGenreDescriptor,
HidD_GetNumInputBuffers, HidD_GetPhysicalDescriptor,
HidD_GetPreparsedData, HidD_GetProductString,
HidD_GetSerialNumberString, HidD_SetConfiguration,
HidD_SetFeature, HidD_SetNumInputBuffers, HidD_SetOutputReport,
HidP_GetButtonCaps, HidP_GetValueCaps): Add exports.
|
| |
|
|
|
|
| |
comma and elminate most uses of "foo = %s" to "foo %s".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autoload.cc (NtQueryInformationFile): Return nonzero on error.
* ntdll.h (FILE_PIPE_LOCAL_INFORMATION): Add.
(NtQueryInformationFile): Fix types for last two arguments.
* pipe.cc: Include stdlib.h, limits.h, and ntdll.h.
(create_selectable_pipe): New function to create a pipe that can be used with
NtQueryInformationFile for select.
(fhandler_pipe::create): Call create_selectable_pipe instead of CreatePipe.
(pipe): Use DEFAULT_PIPEBUFSIZE as argument to create_pipe.
* select.cc: Include limits.h and ntdll.h.
(peek_pipe): Add select_printf output. Call NtQueryInformationFile to
implement select for write on pipes.
(fhandler_pipe::select_read): Reorder field assignments to be consistent with
fhandler_pipe::select_write.
(fhandler_pipe::select_write): Initialize startup, verify, cleanup, and
write_ready fields for select_record.
(fhandler_pipe::select_except): Tweak indentation to be consistent with
fhandler_pipe::select_write.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
filled out by the child.
* pinfo.cc (pinfo::init): Trivial change.
|
|
|
|
| |
success on systems with ntsec and ntea set.
|
|
|
|
| |
before zero filling. Combine similar error handling statements.
|
|
|
|
|
| |
* syscalls.cc (ftruncate64): On 9x, call write with a zero length
to zero fill when the file is extended.
|
|
|
|
|
|
|
| |
* include/wincon.h (CONSOLE_FULLSCREEN_MODE, CONSOLE_WINDOWED_MODE):
Add defines.
(PCOORD): Add typedef.
(GetConsoleDisplayMode, SetConsoleDisplayMode): Add prototypes.
|
|
|
|
| |
Thanks to: "Jean-Do" <spab@users.sourceforge.net>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
format specifier.
|
|
|
|
|
|
|
|
|
| |
__mingw_aligned_offset_realloc, __mingw_aligned_malloc,
__mingw_aligned_realloc, __mingw_aligned_free): Add
prototypes.
* mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
tst-aligned-malloc.c.
(REPLACE_OBJS): Add mingw-aligned-malloc.o.
|
|
|
|
|
| |
* mingwex/mingw-aligned-malloc.c: New file.
* mingwex/tst-aligned-malloc.c: New file.
|
|
|
|
|
|
|
| |
noreturn attribute. Align stack to 16 bytes before passing args
to main.
(mainCRTStartup): Change return to void.
(WinMainCRTStartup): Likewise.
|
|
|
|
|
| |
* include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500
guard.
|
| |
|
|
|
|
|
|
|
| |
(set_ntsec): Ditto.
(set_smbntsec): Ditto.
(parse_thing): Change ntea, ntsec and smbntsec settings to call
appropriate functions.
|
|
|
|
|
| |
if/else.
(fhandler_dev_tape::raw_write): Return -1 in case of error.
|
|
|
|
|
| |
counterparts. Unify layout.
(strerror): Remove switch statement.
|