summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* 2004-11-18 Earnie Boyd <earnie@users.sf.net>Earnie Boyd2004-11-182-1/+5
| | | | * include/wincon.h (AttachConsole): Correct the _WIN32_WINNT filter.
* * cygcheck.cc (eprintf): New function.Bas van Gompel2004-11-182-0/+13
|
* * cygcheck.cc (find_on_path): Clear show_error and/or print_failedBas van Gompel2004-11-162-6/+14
| | | | | | | parameters to display_error. (rva_to_offset): Ditto. (dll_info): Ditto. (track_down): Ditto.
* 2004-11-13 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-11-132-14/+29
| | | | | | | * kill.cc (forcekill): Do not pass negative pids to cygwin_internal. Check if sig == 0. Improve error messages. (main): Make pid a long long and distinguish between pids, gpids (i.e. negative pids) and Win9x pids.
* * include/shlobj.h (SHGFP_TYPE): Add enum.Danny Smith2004-11-132-1/+11
|
* 2004-11-12 Lo�c Guilloux (glx@users.sourceforge.net>Danny Smith2004-11-132-0/+5
| | | | * include/winuser.h (WM_THEMECHANGED): Add define.
* * include/ddk/winddk.h (ExAllocateFromPagedLookasideList,Danny Smith2004-11-122-20/+44
| | | | | | ExFreeToPagedLookasideList): Guard inline versions with (__USE_NTOSKRNL__) && (_WIN32_WINNT >= 0x0501). Declare as external functions for earlier _WIN32_WINNT.
* * include/cygwin/version.h: Bump DLL minor number to 13.Christopher Faylor2004-11-112-1/+5
|
* * cygcheck.cc: Change "keyeprint" to "display_error" throughout.Christopher Faylor2004-11-112-40/+44
|
* * cygcheck.cc (main): Allow a '-l' without an additional argument.Christopher Faylor2004-11-112-10/+8
|
* * cygcheck.cc (keyeprint): New optional parameters: show_error andBas van Gompel2004-11-112-2/+12
| | | | print_failed.
* * include/ras.h (RASCONN[AW]): Remove dwSessionId field.Danny Smith2004-11-102-4/+6
| | | | Fix typos in last ChangeLog entry
* * include/winnls.h (WINBASEAPI): Define as DECLSPEC_IMPORT.Danny Smith2004-11-092-75/+89
| | | | | if undefined. and __W32API_USE_DLLIMPORT__. Add WINBASEAPI token to prototypes, throughout.
* * include/winnt.h (GetCurrentFiber): Support -masm=intel.Danny Smith2004-11-082-6/+48
| | | | | (GetFiberData): Likewise. (NtCurrentTeb): Likewise.
* * include/wingdi.h (NIF_INFO): Add define.Danny Smith2004-11-042-4/+22
| | | | | | (NIIF_*) Add defines.. Thanks to: Benoit Blanchon <benoit.blanchon@free.fr> (NIF_*): Convert constants to hex.
* * include/wingdi.h (GetFontUnicodeRanges,GetGlyphIndicesA,Danny Smith2004-11-023-3/+31
| | | | | | | GetGlyphIndicesW): Declare. (GGI_MARK_NONEXISTING_GLYPHS): Define * lib/gdi32.def (GetFontUnicodeRanges,GetGlyphIndicesA, GetGlyphIndicesW): Add stubs.
* * cygcheck.cc (get_dword): Fix errormessage.Bas van Gompel2004-10-312-7/+14
| | | | | | (cygwin_info): Ditto. (track_down): Ditto. (check_keys): Ditto.
* * fork.cc (NPIDS_HELD): Reduce to former number now that bash problem has beenChristopher Faylor2004-10-282-1/+6
| | | | identified.
* 2004-10-28 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-10-286-23/+41
| | | | | | | | | | | | | | * path.cc (mount_info::from_registry): Deimpersonate while accessing HKLM. (mount_info::read_cygdrive_info_from_registry): Ditto. * cygheap.h: Define NO_IMPERSONATION. (cygheap_user::issetuid): Replace INVALID_HANDLE_VALUE by NO_IMPERSONATION. (cygheap_user::has_impersonation_tokens): Ditto. (cygheap_user::close_impersonation_tokens): Ditto. * uinfo.cc (uinfo_init): Ditto. * syscalls.cc (seteuid32): Ditto. * security.cc (set_impersonation_token): Ditto.
* * cygcheck.cc (dump_sysinfo): Warn about missing or multiple cygwin1Bas van Gompel2004-10-272-1/+14
| | | | dlls.
* * cygtls.cc (_cygtls::fixup_after_fork): Wipe out exitsock local since itChristopher Faylor2004-10-264-5/+20
| | | | | | | | should not be used by the child. * select.cc (start_thread_socket): Turn off inheritance for exitsock. Don't add exitsock to exception mask since it should never get an exception. (socket_cleanup): Change some debug messages for consistency. * fhandler_socket.cc (fhandler_socket::dup): Change comment wording slightly.
* 2004-10-26 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-10-262-6/+14
| | | | | | * registry.cc (get_registry_hive_path): Simplify and add a debug_printf in case of failure. (load_registry_hive): Revert the 2004-04-19 change.
* whitespaceChristopher Faylor2004-10-251-1/+1
|
* * cygcheck.cc (dump_sysinfo): Add leading newline before legend forBas van Gompel2004-10-252-1/+6
| | | | drive-list.
* fix whitespace, update some copyrightsChristopher Faylor2004-10-258-89/+89
|
* Remove CRsChristopher Faylor2004-10-251-5/+5
|
* 2004-10-24 Dan Aloni <da-x@colinux.org>Danny Smith2004-10-244-4/+36
| | | | | | | | | * include/ddk/ntapi.h (NtQueryFullAttributesFile, ZwQueryFullAttributesFile): Declare. * include/ddk/ntapi.h (RtlDosPathNameToNtPathName_U): Declare. lib/ntoskrnl.def (ZwQueryDirectoryFile, ZwQueryFullAttributesFile. ZwQueryVolumeInformationFile): Add stubs.
* * cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' andBas van Gompel2004-10-222-4/+10
| | | | ``unk''. Use single puts. Add leading newline. Line up equal-signs.
* * cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list. ChangeChristopher Faylor2004-10-212-3/+8
| | | | ``Used'' to ``Free'' in helptext-title for drive-list.
* * select.cc (start_thread_socket): Remove attempt to delay reading of exitsockChristopher Faylor2004-10-202-6/+12
| | | | | or suffer occasional mysterious 60 second hangs. (socket_cleanup): Empty the exitsock here after the thread has terminated.
* revert erroneous checkinChristopher Faylor2004-10-201-7/+4
|
* * fhandler_console.cc (fhandler_console::fixup_after_exec): Fix error message.Christopher Faylor2004-10-203-8/+16
|
* * sysv_sem.cc: Redefine offsetof to circumvent build problems withCorinna Vinschen2004-10-182-0/+14
| | | | gcc 3.4.
* * cygcheck.cc (pretty_id): Don't let i become negative. FixCorinna Vinschen2004-10-182-2/+7
| | | | printf-format.
* = include/wsahelp.h (WINSOCK_MAPPING, WSHGetWinsockMapping,Danny Smith2004-10-182-11/+20
| | | | PWSH_GET_WINSOCK_MAPPING): Don't define if __OBJC__.
* fix dateChristopher Faylor2004-10-181-2/+2
|
* * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.Christopher Faylor2004-10-182-3/+7
|
* * cygcheck.cc (pretty_id): Allocate space for trailing '\0' on uid and guid.Christopher Faylor2004-10-172-4/+10
|
* * cygcheck.cc (pretty_id): Don't exit on id error. Fix size calculations.Christopher Faylor2004-10-152-9/+16
|
* 2004-10-15 Robert Wruck <wruck@tweerlei.de>Danny Smith2004-10-155-96/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | Danny Smith <dannysmith@users.sourceforge.net> = include/winbase.h (InitializeSListHead, Interlocked*): Guard with !__USE_NTOSKRNL__. * include/ddk/ntddk.h (__USE_NTOSKRNL__): Define. * include/ddk/winddk.h (InitializeSListHead, Interlocked*): Guard with __USE_NTOSKRNL__. (ExInterlockedPopEntrySList, ExInterlockedPushEntrySList): Add prototypes. Guard macro definition with __USE_NTOSKRNL__ && _WIN32_WINNT >= 0x0501 (ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList, ExFreeToNPagedLookasideList, ExFreeToPagedLookasideList): Replace calts to InterlockedPopEntrySList, InterlockedPushEntrySList with ExInterlockedPopEntrySList, ExInterlockedPushEntrySList. * lib/ddk/ntosknl.def (ExInterlockedPopEntrySList, ExInterlockedPushEntrySList) Add stubs with fastcall decoration. (ExDesktopObjectType, ExEventObjectType, ExSemaphoreObjectType, ExWindowStationObjectType, IoAdapterObjectType, IoDeviceHandlerObjectSize, IoDeviceHandlerObjectType, IoDeviceObjectType, IoDriverObjectType, IoFileObjectType, LpcPortObjectType, MmSectionObjectType, SeTokenObjectType): Uncomment stubs.
* * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is actingChristopher Faylor2004-10-142-31/+36
| | | | funny.
* * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.Danny Smith2004-10-142-2/+6
|
* * select.cc (start_thread_socket): Remove unused code.Christopher Faylor2004-10-132-6/+4
|
* * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.Christopher Faylor2004-10-112-1/+5
|
* 2004-10-11 Robert Wruck <wruck@tweerlei.de>Danny Smith2004-10-112-2/+18
| | | | | | * include/ddk/winddk.h (IoReleaseRemoveLockAndWait): Fix definition (IoReleaseRemoveLock): Add definition.
* minor changeChristopher Faylor2004-10-111-1/+1
|
* * cygtls.h (exitsock): New element.Christopher Faylor2004-10-115-127/+137
| | | | | | | | | | | | (exitsock_sin): Ditto. * cygtls.cc (_cygtls::init_thread): Initialize exitsock to invalid handle. (_cygtls::call2): Close exitsock if it is valid. * select.cc (struct socketinf): Remove sin element. (start_thread_socket): Initialize one SOCK_DGRAM socket per thread instead of (apparently) expensive opening and closing of socket with each select call. (socket_cleanup): Send a byte to the exitsock socket as a way to potentially signal a waiting-for-socket thread to exit. * tlsoffsets.h: Regenerate.
* Remove unneeded directory.Christopher Faylor2004-10-1050-51839/+0
|
* * cygcheck.cc (add_path): Don't leak memory when path is already in ``paths''.Christopher Faylor2004-10-102-1/+9
|
* * include/ddk/winnt4.h (Exi386InterlockedDecrementLong,Danny Smith2004-10-104-25/+117
| | | | | | | | | | | | | | | | | | | | | | | | | Exi386InterlockedExchangeUlong, Exi386InterlockedIncrementLong); Add prototypes. * include/winddk.h (ExInterlockedAddUlong, ExInterlockedInsertHeadList, ExInterlockedInsertTailList, ExInterlockedRemoveHeadList, ExInterlockedPopEntryList, ExInterlockedPushEntryList): Change calling convention to DDKAPI. (ExfInterlockedAddUlong,ExInterlockedInsertHeadList, ExInterlockedInsertTailList, ExInterlockedRemoveHeadList, ExInterlockedPopEntryList, ExInterlockedPushEntryList): Add prototypes for DDKFASTAPI versions. Thanks to Vadim Yegor0v <zg at bmg dot lv> for report. * lib/ntoskrnl.def (ExInterlockedAddUlong, ExInterlockedInsertHeadList, ExInterlockedInsertTailList, ExInterlockedRemoveHeadList, ExInterlockedPopEntryList, ExInterlockedPushEntryList): Remove lead '@' from stubs. (ExfInterlockedAddUlong,ExfInterlockedInsertHeadList, ExfInterlockedInsertTailList, ExfInterlockedRemoveHeadList, ExfInterlockedPopEntryList, ExfInterlockedPushEntryList): Add fastcall stubs. (Exi386InterlockedDecrementLong, Exi386InterlockedExchangeUlong, Exi386InterlockedIncrementLong); Add stdcall stubs.