summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount entries.Christopher Faylor2004-10-092-0/+11
|
* * cygcheck.cc (dump_sysinfo): Don't warn about empty path components, justChristopher Faylor2004-10-092-3/+8
| | | | display ``.''.
* * cygheap.h (class cygheap_user): Add psystemroot member andCorinna Vinschen2004-10-074-11/+47
| | | | | | | | | | env_systemroot method. * environ.cc (struct spenv): Add add_always member. (spenvs): Accomodate new add_always member. Add cygheap_user::env_systemroot method to SYSTEMROOT entry. (build_env): Check add_always member when adding missing environment variables from spenvs. * uinfo.cc (cygheap_user::env_systemroot): New method.
* * dcrt0.cc (dll_crt0_0): Drop duplicated line.Corinna Vinschen2004-10-072-1/+4
|
* revert erroneously applied changeChristopher Faylor2004-10-071-1/+0
|
* * spawn.cc (pthread_cleanup::oldmask): Default to invalid signal mask.Christopher Faylor2004-10-073-2/+10
| | | | | (do_cleanup): Test for invalid signal mask to decide whether to restore the mask rather than assuming zero mask indicates that there is nothing to do.
* * fhandler_tty.cc (fhandler_tty_slave::read): Use previouslyCorinna Vinschen2004-10-072-1/+6
| | | | evaluated time_to_wait value.
* * include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,Danny Smith2004-10-0613-6/+411
| | | | | | | | | | | | | | | | | atanh, atanhf, atanhl): Add prototypes. * mingwex/Makefile.in (MATH_OBJS): Add objects for above to list. (MATH_DISTFILES): Add sources for above and fastmath.h to list. Specify dependency on fastmath.h for new objects. * mingwex/math/fastmath.h: New file. * mingwex/math/ashinh.c: New file. * mingwex/math/asinhf.c: New file. * mingwex/math/asinhl.c: New file. * mingwex/math/acosh.c: New file. * mingwex/math/acoshf.c: New file. * mingwex/math/acoshl.c: New file. * mingwex/math/atanh.c: New file. * mingwex/math/atanhf.c: New file. * mingwex/math/atanhl.c: New file.
* * strace.cc (_impure_ptr): Remove.Corinna Vinschen2004-10-062-6/+4
|
* * cygcheck.cc (dump_sysinfo): Warn about empty path-components.Corinna Vinschen2004-10-062-1/+8
|
* 2004-10-05 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-10-064-5/+12
| | | | | | | * external.cc (check_ntsec): Do not call wincap.has_security. * path.cc (path_conv::check): Ditto. * security.cc (get_object_attribute): Ditto. (get_file_attribute): Ditto.
* revert erroneous checkinChristopher Faylor2004-10-051-1/+1
|
* * pinfo.cc (_pinfo::commune_send): Correct debugging output.Christopher Faylor2004-10-053-2/+6
|
* * bsd_mutex.cc (_msleep): Simplify event creation. Revert change fromCorinna Vinschen2004-10-047-17/+43
| | | | | | | | | | | | | 2004-08-24. It should be unnecessary now. * msg.cc (client_request_msg::serve): Release process critical section as early as possible. * sem.cc (client_request_sem::serve): Ditto. * shm.cc (client_request_shm::serve): Ditto. * process.cc: Use hold and release method calls instead of EnterCriticalSection/LeaveCriticalSection calls throughout. * process.h (_hold): Rename from hold. Take filename and linenumber parameter for logging. Define matching hold macro. (release): Ditto.
* fix erroneous checkinChristopher Faylor2004-10-041-1/+1
|
* * include/cygwin/signal.h: Add siginterrupt definition.Christopher Faylor2004-10-042-1/+6
|
* * cygcheck.cc (pretty_id): Close pipe.Corinna Vinschen2004-10-042-0/+5
|
* 2004-10-02 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-10-024-5/+9
| | | | | | | | * path.h (enum path_types): Delete PATH_ISDISK. (path_conv::isdisk): Delete method. (path_conv::set_isdisk): Ditto. * path.cc (path_conv::check): Do not call set_isdisk. * uinfo.cc(pwdgrp::load): Do not call pc.isdisk.
* * sysv_sem.cc: Update to FreeBSD version 1.69.Corinna Vinschen2004-10-012-14/+36
| | | | | | | | 1.68: Reduce the overhead of semop() by using the kernel stack instead of malloc'd memory to store the operations array if it is small enough to fit. 1.69: Adjust the number of processes waiting on a semaphore properly if we're woken up in the middle of sleeping.
* * how-using.texinfo: Fix typo. Add note about "Install For All Users"Joshua Daniel Franklin2004-09-302-7/+11
|
* * include/winbase.h (WINBASEAPI): Define as DECLSPEC_IMPORT onlyDanny Smith2004-09-303-6/+11
| | | | | if __W32API_USE_DLLIMPORT__ is defined. * include/winuser.h (WINUSERAPI): Likewise.
* * how-using.texinfo: Add FAQ about network shares and authentication.Joshua Daniel Franklin2004-09-301-5/+14
|
* 2004-09-30 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin2004-09-304-21/+40
| | | | | | * how-programming.texinfo: Add gcj note to WinMain@16 FAQ. * how-using.texinfo: Add FAQ about network shares and authentication. * install.texinfo: Add "Where is make" to FAQ subtitle.
* 2004-09-29 Filip Navara <xnavara@volny.cz>Danny Smith2004-09-2862-374/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h, d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, mcd.h, miniport.h, mountdev.h, mountmgr.h, ndis.h, ndistapi.h, ndiswan.h, netpnp.h, newdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h, ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddkbd.h, ntddmou.h, ntddpar.h, ntddpcm.h, ntddscsi.h, ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h, ntddvol.h, ntpoapi.h, parallel.h, pfhook.h, poclass.h, scsi.h, scsiscan.h, smbus.h, srb.h, storport.h, tdiinfo.h, tdikrnl.h, tvout.h, upssvc.h, usb.h, usb100.h, usbdi.h, usbioctl.h, usbiodef.h, usbscan.h, usbuser.h, videoagp.h, winddi.h, winddk.h, winnt4.h, ws2san.h): Fixed packing. * include/ddk/atm.h (ATM_TRAFFIC_DESCRIPTOR_IE): Fixed declaration. * include/ddk/hidclass.h (HID_INTERFACE_HIDPARSE, HID_INTERFACE_NOTIFY_PNP): Likewise. * include/ddk/ndis.h (NDIS_DMA_BLOCK, CO_FLOW_PARAMETERS): Likewise. (NdisQueryPacketLength): Added macro. Thanks to Art Yerkes <ayerkes@speakeasy.net>. * include/ddk/usb100.h (USB_CONFIGURATION_DESCRIPTOR): Fixed declaration. * include/ddk/winddi.h (PATHDATA, GLYPHPOS): Likewise. * include/ddk/winddk.h (PDRIVER_CONTROL, PDRIVER_LIST_CONTROL, PDRIVER_ADD_DEVICE, PIO_COMPLETION_ROUTINE, PDRIVER_CANCEL, PKDEFERRED_ROUTINE, PDRIVER_DISPATCH, PIO_DPC_ROUTINE, PMM_DLL_INITIALIZE, PMM_DLL_UNLOAD, PDRIVER_ENTRY, PDRIVER_INITIALIZE, PKSERVICE_ROUTINE, PIO_TIMER_ROUTINE, PDRIVER_REINITIALIZE, PDRIVER_STARTIO, PKSYNCHRONIZE_ROUTINE, PDRIVER_UNLOAD, DRIVER_OBJECT): Fixed callback declarations. (struct FILE_BASIC_INFORMATION): Renamed to _FILE_BASIC_INFORMATION. (SYNCH_LEVEL): Added definition. (KPCR, KPCR_TIB): Fixed declaration. (Interlocked[Push/Pop]EntrySList): Declare only if winbase.h isn't included and _WIN32_WINNT >= 0x0501. (RtlEqualLuid): Fixed macro definition. (KfLowerIrql, KfRaiseIrql): Declare and use instead of KeLowerIrql and KeRaiseIrql on i386 architectures.
* * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Disallow attempts to setChristopher Faylor2004-09-282-1/+6
| | | | the process group to a nonexistent process group.