summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * lib/_cygwin_crt0_common.cc: Revert patch from 2004-09-16. BrakesCorinna Vinschen2004-09-272-0/+12
| | | | newly built DLLs.
* Sergey Ivanov <seriv@parkheights.dyndns.org>Christopher Faylor2004-09-242-5/+11
| | | | | * path.cc (mount_info::read_cygdrive_info_from_registry): Default /cygdrive to binary mode.
* * cygwinenv.sgml: smbntsec is not on by default.Corinna Vinschen2004-09-242-8/+11
|
* * sysv_shm.cc (kern_shmat): Avoid compiler warning.Corinna Vinschen2004-09-232-0/+8
|
* * dump_setup.cc (dump_setup): Remove unneeded strlen when check_filesCorinna Vinschen2004-09-232-2/+6
| | | | is not set.
* 2004-09-22 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-09-232-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.
* * dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.Corinna Vinschen2004-09-222-4/+16
|
* * sysv_shm.cc (vm_object_reference): remove Cygwin specific define.Corinna Vinschen2004-09-212-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.
* * exceptions.cc (sig_handle_tty_stop): Set flag earlier.Christopher Faylor2004-09-202-1/+5
|
* .Christopher Faylor2004-09-201-1/+1
|
* * exceptions.cc (sig_handle_tty_stop): Set flag that we are in a cygwinChristopher Faylor2004-09-203-1/+10
| | | | function to avoid a probably erroneous stack walk.
* * syscalls.cc (unlink): Don't use "delete on close" on remote shares.Corinna Vinschen2004-09-172-2/+22
|
* * cygwin.din (_impure_ptr): And export again. There are libs out there.Corinna Vinschen2004-09-172-0/+5
|
* * cygwin.din (_impure_ptr): Don't export.Corinna Vinschen2004-09-163-8/+8
| | | | | | (reent_data): Export. * lib/_cygwin_crt0_common.cc (_impure_ptr): Drop entirely. Don't initialize _impure_ptr or u->impure_ptr_ptr.
* * cygwin.din (_impure_ptr): Export.Christopher Faylor2004-09-164-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.
* Fix copyright throughout.Corinna Vinschen2004-09-1517-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.
* * getfacl.c (main): Correct layout when nopt is set.Corinna Vinschen2004-09-152-2/+6
|
* * cygtls.h: Add alignment kludge to fix disparity between compilers.Christopher Faylor2004-09-144-55/+75
| | | | | | * tlsoffsets.h: Regenerate. * fork.cc (slow_pid_reuse): Use define to control number of pids held to prevent pid reuse.
* * what.texinfo: Fix two typos reported on cygwin list.Christopher Faylor2004-09-142-2/+6
|
* * autoload.cc (EnumProcessModules): Add.Corinna Vinschen2004-09-144-1/+30
| | | | | * dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules(). * include/dlfcn.h (RTLD_DEFAULT): Define to NULL.
* * fork.cc (slow_pid_reuse): Temporarily double the number of pids held toChristopher Faylor2004-09-142-1/+6
| | | | prevent pid reuse.
* trivia change to force a new snapshotChristopher Faylor2004-09-131-4/+4
|
* * sigproc.cc (wait_sig): Ensure that waiting threads are awoken after returningChristopher Faylor2004-09-122-8/+21
| | | | from a hold condition.
* * child_info.h (CURR_CHILD_INFO_MAGIC): Update.Christopher Faylor2004-09-122-1/+5
|
* check in file missing from previous checkin.Christopher Faylor2004-09-121-2/+2
|
* * exceptions.cc: (ctrl_c_handler): Do nothing while a Cygwin subprocess isChristopher Faylor2004-09-1221-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.
* * fhandler.cc (fhandler_base::dup): Use debug_printf.Corinna Vinschen2004-09-102-2/+6
|
* * Makefile.in: Create libutil.a from bsdlib.o exports.Corinna Vinschen2004-09-107-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.
* * fhandler_tape.cc (fhandler_dev_tape::open): Fix typo.Corinna Vinschen2004-09-092-1/+5
|
* * pipe.cc (create_selectable_pipe): Work around bug in Windows 95Corinna Vinschen2004-09-092-2/+9
| | | | where CreateNamedPipe returns NULL.
* * include/sys/stat.h (_S_IFLNK): Add definition.Earnie Boyd2004-09-092-3/+16
| | | | | | | | (S_IFLNK) Ditto. (_lstat) Ditto. (lstat) Ditto. (_S_ISLNK) Recode. (S_ISLNK) Ditto.
* * include/sys/stat.h (_S_ISLNK): Add definition.Earnie Boyd2004-09-082-0/+7
| | | | (S_ISLNG): Ditto.
* 2004-09-05 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-09-073-23/+41
| | | | | | | | * 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.
* * cygtls.cc (_cygtls::init_thread): Set __sdidinit to negative value toChristopher Faylor2004-09-073-1/+10
| | | | | | 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.
* * bsd_mutex.cc (_msleep): Disable resetting event object for now.Corinna Vinschen2004-09-062-0/+11
|
* 2004-09-06 Hosaka Yuji <hos@tamanegi.org>Danny Smith2004-09-063-3/+269
| | | | | | | | | | | | | | * 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.
* * include/cygwin/version.h: Bump DLL minor number to 12.Christopher Faylor2004-09-052-1/+5
|
* * include/w32api.h: Increment version to 3.1.Earnie Boyd2004-09-053-3/+15
| | | | * Makefile.in: Ditto.
* * mingwex/Makefile.in: Correct typo in list of DISTFILES.Earnie Boyd2004-09-052-1/+2
|
* * include/_mingw.h: Increment minor version for 3.5 release.Earnie Boyd2004-09-053-3/+8
| | | | * Makefile.in: Ditto.
* 2004-09-05 Hosaka Yuji <hos@tamanegi.org>Danny Smith2004-09-054-0/+17
| | | | | | | | * include/winuser.h (MonitorFromPoint, MonitorFromRect, MonitorFromWindow): Add prototypes. * lib/user32.def (MonitorFromPoint, MonitorFromRect, MonitorFromWindowMonitorFromWindow): Add stubs. * include/shellapi.h (DuplicateIcon): Add prototype.
* * include/winuser.h (WINUSERAPI): New define.Danny Smith2004-09-052-575/+589
| | | | Use it to mark user32.dll imports, throughout.
* 22004-09-05 Hosaka Yuji <hos@tamanegi.org>Danny Smith2004-09-052-21/+33
| | | | | | | | | | | | * 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.
* * security.cc: Fix a few more strace_prints.Corinna Vinschen2004-09-032-4/+8
|
* Regularize most strace_prints throughout so that %E is always preceded by aChristopher Faylor2004-09-0318-78/+70
| | | | comma and elminate most uses of "foo = %s" to "foo %s".
* Christopher Faylor <cgf@timesys.com>Christopher Faylor2004-09-035-21/+250
| | | | | | | | | | | | | | | | | | | | * 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.
* * textbinary.sgml: Change default mode for non-mounted paths to binary.Corinna Vinschen2004-09-022-1/+5
|
* * sysv_shm.cc (kern_shmat): Add debug_printf's.Corinna Vinschen2004-08-312-0/+6
|
* * fork.cc (fork_parent): Return the cygpid directly derived from the winpid.Christopher Faylor2004-08-312-6/+10
|
* * fork.cc (fork_parent): Record child's pid when we're sure that it has beenChristopher Faylor2004-08-303-3/+8
| | | | | filled out by the child. * pinfo.cc (pinfo::init): Trivial change.