aboutsummaryrefslogtreecommitdiff
path: root/winsup
AgeCommit message (Collapse)AuthorFilesLines
2004-10-07 * dcrt0.cc (dll_crt0_0): Drop duplicated line.Corinna Vinschen2-1/+4
2004-10-07revert erroneously applied changeChristopher Faylor1-1/+0
2004-10-07* spawn.cc (pthread_cleanup::oldmask): Default to invalid signal mask.Christopher Faylor3-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.
2004-10-07 * fhandler_tty.cc (fhandler_tty_slave::read): Use previouslyCorinna Vinschen2-1/+6
evaluated time_to_wait value.
2004-10-06 * include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,Danny Smith13-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.
2004-10-06 * strace.cc (_impure_ptr): Remove.Corinna Vinschen2-6/+4
2004-10-06 * cygcheck.cc (dump_sysinfo): Warn about empty path-components.Corinna Vinschen2-1/+8
2004-10-062004-10-05 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet4-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.
2004-10-05revert erroneous checkinChristopher Faylor1-1/+1
2004-10-05* pinfo.cc (_pinfo::commune_send): Correct debugging output.Christopher Faylor3-2/+6
2004-10-04 * bsd_mutex.cc (_msleep): Simplify event creation. Revert change fromCorinna Vinschen7-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.
2004-10-04fix erroneous checkinChristopher Faylor1-1/+1
2004-10-04* include/cygwin/signal.h: Add siginterrupt definition.Christopher Faylor2-1/+6
2004-10-04 * cygcheck.cc (pretty_id): Close pipe.Corinna Vinschen2-0/+5
2004-10-022004-10-02 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet4-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.
2004-10-01 * sysv_sem.cc: Update to FreeBSD version 1.69.Corinna Vinschen2-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.
2004-09-30* how-using.texinfo: Fix typo. Add note about "Install For All Users"Joshua Daniel Franklin2-7/+11
2004-09-30 * include/winbase.h (WINBASEAPI): Define as DECLSPEC_IMPORT onlyDanny Smith3-6/+11
if __W32API_USE_DLLIMPORT__ is defined. * include/winuser.h (WINUSERAPI): Likewise.
2004-09-30* how-using.texinfo: Add FAQ about network shares and authentication.Joshua Daniel Franklin1-5/+14
2004-09-302004-09-30 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin4-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-282004-09-29 Filip Navara <xnavara@volny.cz>Danny Smith62-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.
2004-09-28* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Disallow attempts to setChristopher Faylor2-1/+6
the process group to a nonexistent process group.
2004-09-27 * lib/_cygwin_crt0_common.cc: Revert patch from 2004-09-16. BrakesCorinna Vinschen2-0/+12
newly built DLLs.
2004-09-24Sergey Ivanov <seriv@parkheights.dyndns.org>Christopher Faylor2-5/+11
* path.cc (mount_info::read_cygdrive_info_from_registry): Default /cygdrive to binary mode.
2004-09-24 * cygwinenv.sgml: smbntsec is not on by default.Corinna Vinschen2-8/+11
2004-09-23 * sysv_shm.cc (kern_shmat): Avoid compiler warning.Corinna Vinschen2-0/+8
2004-09-23 * dump_setup.cc (dump_setup): Remove unneeded strlen when check_filesCorinna Vinschen2-2/+6
is not set.
2004-09-232004-09-22 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2-7/+12
* path.cc (normalize_win32_path): Only look for : in second position. Avoid infinite loop with names starting in double dots. (mount_info::conv_to_win32_path): Do not worry about a trailing dot. (hash_path_name): Ditto.
2004-09-22 * dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.Corinna Vinschen2-4/+16
2004-09-21 * sysv_shm.cc (vm_object_reference): remove Cygwin specific define.Corinna Vinschen2-8/+16
(vm_map_find): Ditto. (vm_map_inherit): Ditto. (kern_shmat): On Cygwin, take shmaddr just as is. Don't call vm system calls on Cygwin. Add comment.
2004-09-20* exceptions.cc (sig_handle_tty_stop): Set flag earlier.Christopher Faylor2-1/+5
2004-09-20.Christopher Faylor1-1/+1
2004-09-20* exceptions.cc (sig_handle_tty_stop): Set flag that we are in a cygwinChristopher Faylor3-1/+10
function to avoid a probably erroneous stack walk.
2004-09-17 * syscalls.cc (unlink): Don't use "delete on close" on remote shares.Corinna Vinschen2-2/+22
2004-09-17 * cygwin.din (_impure_ptr): And export again. There are libs out there.Corinna Vinschen2-0/+5
2004-09-16 * cygwin.din (_impure_ptr): Don't export.Corinna Vinschen3-8/+8
(reent_data): Export. * lib/_cygwin_crt0_common.cc (_impure_ptr): Drop entirely. Don't initialize _impure_ptr or u->impure_ptr_ptr.
2004-09-16* cygwin.din (_impure_ptr): Export.Christopher Faylor4-6/+17
(reent_data): Don't export. * dcrt0.cc (reent_data): Drop. (__cygwin_user_data): Initialize impure_ptr as GLOBAL_REENT. (_dll_crt0): Initialize _impure_ptr as GLOBAL_REENT. * lib/_cygwin_crt0_common.cc (_impure_ptr): Drop. Declare extern as dllimport instead.
2004-09-15 Fix copyright throughout.Corinna Vinschen17-48/+74
Eliminate use of _impure_ptr outside Cygwin. * bsd_helper.cc: Include errno.h instead of cygerrno.h. * bsd_mutex.cc : Ditto. * client.cc: Ditto. * cygserver.cc: Ditto. * process.cc: Don't build functions inside Cygwin. Don't include cygerrno.h. Don't set errno. * transport_pipes.cc (SET_ERRNO): New define. Use througout. * transport_sockets.cc (SET_ERRNO): Ditto. (GET_ERRNO): Ditto.
2004-09-15 * getfacl.c (main): Correct layout when nopt is set.Corinna Vinschen2-2/+6
2004-09-14* cygtls.h: Add alignment kludge to fix disparity between compilers.Christopher Faylor4-55/+75
* tlsoffsets.h: Regenerate. * fork.cc (slow_pid_reuse): Use define to control number of pids held to prevent pid reuse.
2004-09-14* what.texinfo: Fix two typos reported on cygwin list.Christopher Faylor2-2/+6
2004-09-14 * autoload.cc (EnumProcessModules): Add.Corinna Vinschen4-1/+30
* dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules(). * include/dlfcn.h (RTLD_DEFAULT): Define to NULL.
2004-09-14* fork.cc (slow_pid_reuse): Temporarily double the number of pids held toChristopher Faylor2-1/+6
prevent pid reuse.
2004-09-13trivia change to force a new snapshotChristopher Faylor1-4/+4
2004-09-12* sigproc.cc (wait_sig): Ensure that waiting threads are awoken after returningChristopher Faylor2-8/+21
from a hold condition.
2004-09-12* child_info.h (CURR_CHILD_INFO_MAGIC): Update.Christopher Faylor2-1/+5
2004-09-12check in file missing from previous checkin.Christopher Faylor1-2/+2
2004-09-12* exceptions.cc: (ctrl_c_handler): Do nothing while a Cygwin subprocess isChristopher Faylor21-218/+237
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.
2004-09-10 * fhandler.cc (fhandler_base::dup): Use debug_printf.Corinna Vinschen2-2/+6
2004-09-10 * Makefile.in: Create libutil.a from bsdlib.o exports.Corinna Vinschen7-70/+78
* 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.