Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * sigproc.cc (mychild): New function. | Christopher Faylor | 2000-09-02 | 2 | -7/+25 |
| | | | | | (proc_subproc): Use mychild() to determine if a specific pid is valid for wait()ing. | ||||
* | * sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid | Christopher Faylor | 2000-09-01 | 2 | -2/+8 |
| | | | | | potential races. (init_child_info): Avoid unneeded test. | ||||
* | * sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists". | Christopher Faylor | 2000-09-01 | 9 | -56/+81 |
| | | | | | | * shared.h: Split out "child_info" stuff into a new header file and use where necessary. Declare pid_exists. * child_info.h: New file. | ||||
* | * Makefile.in: More normalization. | Christopher Faylor | 2000-09-01 | 2 | -4/+7 |
| | |||||
* | * Makefile.in: Normalize 'pwd' based on location of winsup. | Christopher Faylor | 2000-08-31 | 2 | -2/+7 |
| | |||||
* | * errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf. | Christopher Faylor | 2000-08-31 | 2 | -6/+11 |
| | |||||
* | * times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a | DJ Delorie | 2000-08-30 | 2 | -7/+11 |
| | | | | | | conversion (FACTOR): correct value (genf): set milliseconds to zero, DOW to 4. | ||||
* | * grp.cc (getgroups): fail with EINVAL if array is not large | DJ Delorie | 2000-08-29 | 2 | -5/+15 |
| | | | | enough to hold all supplementary group IDs. | ||||
* | * signal.cc (_raise): New function. | Christopher Faylor | 2000-08-29 | 5 | -14/+25 |
| | | | | | | | | * exceptions.cc (unused_sig_wrapper): Remove _raise. * sigproc.h (class sigframe): Default frames to skip to zero or suffer from exuberant optimization. * fhandler_tty.cc (fhandler_tty::write): Set appropriate errno when WriteFile to pipe fails. | ||||
* | * kill.c (main): Avoid skipping next argument when a signal number is | Christopher Faylor | 2000-08-29 | 3 | -2/+10 |
| | | | | | specified. * Makefile.in: Always clean dumper.exe. | ||||
* | * pinfo.h (pinfo): Un-inline release. | Christopher Faylor | 2000-08-26 | 4 | -32/+44 |
| | | | | | | * pinfo.cc (pinfo::release): Move here from pinfo.h. * sigproc.cc (proc_terminate): Remove bogus 'pinfo child' which caused strange destruction of random regions of memory when destructor was invoked. | ||||
* | * dcrt0.cc (dll_crt0_1): Move set_os_type. | Christopher Faylor | 2000-08-26 | 7 | -68/+74 |
| | | | | | | | | | | | (_dll_crt0): To here. (cygwin_dll_init): And here. * external.cc (fillout_pinfo): Use more foolproof method for scanning for pids. * pinfo.cc (set_myself): Eliminate myself_identity.init. * sigproc.cc (wait_sig): Do it here instead to reduce the amount of time where there could potentially be two processes with the same pid. * spawn.cc (spawn_guts): Eliminate duplicate initialization. * include/sys/cygwin.h: Mark unused PID_* elements. | ||||
* | * exec.cc (_execve): Change definition according to declaration in | Corinna Vinschen | 2000-08-25 | 2 | -2/+7 |
| | | | | newlib/libc/include/sys/unistd.h. | ||||
* | * Makefile.in: Only build dumper.exe when all of its library and include | Christopher Faylor | 2000-08-25 | 2 | -8/+29 |
| | | | | dependencies are available. | ||||
* | Add entry "How do I uninstall Cygwin?" | David Starks-Browning | 2000-08-25 | 1 | -0/+22 |
| | |||||
* | * Makefile.in: Make failure to build dumper.exe a non-error. | Christopher Faylor | 2000-08-25 | 2 | -2/+6 |
| | |||||
* | minor formatting fixes | David Starks-Browning | 2000-08-25 | 2 | -3/+2 |
| | |||||
* | Major re-write of "Installation using the setup.exe program". | David Starks-Browning | 2000-08-25 | 1 | -210/+112 |
| | |||||
* | Minor changes. | David Starks-Browning | 2000-08-25 | 2 | -5/+8 |
| | |||||
* | * external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin | Christopher Faylor | 2000-08-25 | 5 | -7/+23 |
| | | | | | | | exception handling on threads not created by cygwin. * sigproc.cc (proc_terminate): Don't release pinfo structs since we are exiting. * include/sys/cygwin.h: Add CW_INIT_EXCEPTIONS. | ||||
* | * ps.cc (main): Always print a cygwin process using cygwin paths. | Christopher Faylor | 2000-08-25 | 2 | -2/+6 |
| | |||||
* | * ps.cc (main): Always print a cygwin process using cygwin paths. | Christopher Faylor | 2000-08-24 | 1 | -0/+4 |
| | |||||
* | * select.cc (cygwin_select): Correct logic for "always_ready" fds or when there | Christopher Faylor | 2000-08-24 | 3 | -10/+18 |
| | | | | | is no wait specified. * syslog.cc (pass_handler::set_message): Zero the buffer prior to setting it. | ||||
* | Change attribution. | Christopher Faylor | 2000-08-24 | 2 | -2/+2 |
| | |||||
* | * Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory. | Christopher Faylor | 2000-08-24 | 2 | -2/+13 |
| | |||||
* | * Makefile.in: Add dumper.exe target and associated mechanisms for building it. | Christopher Faylor | 2000-08-24 | 8 | -3/+1120 |
| | | | | | | | * dumper.cc: New file. * dumper.h: New file. * module_info.cc: New file. * parse_pe.cc: New file. | ||||
* | * include/cygwin/core_dump.h: New file, contains structures used in cygwin core | Christopher Faylor | 2000-08-24 | 3 | -0/+91 |
| | | | | | | core files. * include/sys/procfs.h: New file, needed to autoconfigure cygwin core dumps support in bfd. | ||||
* | * environ.cc (parse_thing): nobinmode should force O_TEXT. | Christopher Faylor | 2000-08-24 | 4 | -5/+18 |
| | | | | | | | | (regopt): Use correct path to find LOCAL_MACHINE registry options. * fhandler.cc (fhandler_base::open): Set binary mode only when binmode == O_BINARY. * pipe.cc (pipe): Pipe handling should rely on binmode not _fmode now that the two are different. | ||||
* | * include/sys/cygwin.h (strace_printf_wrap): Force printing when | Christopher Faylor | 2000-08-24 | 2 | -2/+8 |
| | | | | | _STRACE_SYSTEM. (strace_printf_wrap1): Ditto. | ||||
* | * debug.h: Allow some debug defines for use in header files. | Christopher Faylor | 2000-08-24 | 2 | -1/+6 |
| | |||||
* | * dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in | Christopher Faylor | 2000-08-24 | 7 | -24/+81 |
| | | | | | | | | | | | | | | the process. Use new second argument to set_myself. (cygwin_dll_init): Initialize exception list and constructor stuff here. (_dll_crt0): And here. Also, deal with inherited pinfo shared memory region from parent. * pinfo.cc (set_myself): Accept a second argument signifying the a shared memory region, passed from an execing parent. (pinfo_init): Ditto. * pinfo.h: Ditto. * shared.h (child_info): Add a handle field to pass to child. * spawn.cc (spawn_guts): Create a shared handle to pass to an execed child. * winsup.h: Remove extraneous declaration. | ||||
* | Revert previous erroneous checkin. | Christopher Faylor | 2000-08-23 | 6 | -36/+12 |
| | |||||
* | * include/sys/cygwin.h: Protect class definitions. | Christopher Faylor | 2000-08-23 | 8 | -12/+42 |
| | |||||
* | * path.cc (symlink_info::check): Clear error on each iteration of extension | Christopher Faylor | 2000-08-22 | 2 | -1/+7 |
| | | | | check. | ||||
* | * Makefile.in: Don't include '.d' file if there are none generated yet. | Christopher Faylor | 2000-08-22 | 2 | -3/+9 |
| | |||||
* | * include/sys/cygwin.h: Declare some thread classes. | Christopher Faylor | 2000-08-22 | 3 | -0/+10 |
| | | | | * include/mntent.h: Avoid declaring functions. | ||||
* | * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files | Christopher Faylor | 2000-08-22 | 63 | -209/+281 |
| | | | | | only in sources which require them. * Makefile.in: Generate dependencies with -MD option. | ||||
* | * cygerrno.h: New file. Use this throughout whenever errno manipulation is | Christopher Faylor | 2000-08-22 | 45 | -133/+203 |
| | | | | | | | | | | | | | | | required. * errno.cc: Use DWORD to hold Windows errors. (geterrno_from_win_error): New function. (seterrno_from_win_error): Use geterrno_from_win_error to convert supplied windows error (suggested by Corinna Vinschen). * path.cc (symlink_info): Add error element. * path.cc (path_conv::check): Remove errno setting. Use new symlink_info errno element to set path_conv error, where appropriate. (symlink_info::check): Set error element rather than attempting to manipulate errno. Add more checks for trailing / and /.. even though they are currently useless. Avoid setting EINVAL. * path.cc (normalize_posix_path): Correct check for trailing /. | ||||
* | Update copyright. | Christopher Faylor | 2000-08-21 | 1 | -3/+3 |
| | |||||
* | * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance, | DJ Delorie | 2000-08-21 | 2 | -6/+6 |
| | | | | not handle. (reverse of previous diff) | ||||
* | * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle, | DJ Delorie | 2000-08-21 | 2 | -1/+6 |
| | | | | not hinstance. | ||||
* | * include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId | Corinna Vinschen | 2000-08-19 | 2 | -1/+17 |
| | | | | | to TOKEN_INFORMATION_CLASS type. Add QUOTA_LIMITS type. | ||||
* | * Makefile.in: hinfo.o -> dtable.o. | Christopher Faylor | 2000-08-18 | 1 | -11/+10 |
| | |||||
* | * fhandler-tut.txt: hinfo -> dtable. | Christopher Faylor | 2000-08-18 | 2 | -2/+6 |
| | |||||
* | hinfo -> dtable | Christopher Faylor | 2000-08-18 | 2 | -17/+18 |
| | |||||
* | * dtable.cc (dtable::dup2): Extend fdtab if newfd is out of current | Corinna Vinschen | 2000-08-18 | 2 | -0/+11 |
| | | | | allocated bounds. | ||||
* | * mkvers.sh: Properly trap exit removal of temp file. Remove debugging | Christopher Faylor | 2000-08-12 | 2 | -3/+6 |
| | | | | statement. | ||||
* | Correct order in include files. | Christopher Faylor | 2000-08-12 | 1 | -1/+1 |
| | |||||
* | * poll.cc: Make winsup.h the first include file, re 2000-08-02 change. | Christopher Faylor | 2000-08-12 | 2 | -1/+5 |
| | |||||
* | * winsup.h: Split out dtable definitions into separate header file. | Christopher Faylor | 2000-08-12 | 43 | -44/+106 |
| | | | | | | * dtable.h: New file. * sigproc.h: Eliminate pinfo.h usage here. Use it in source files that need it. |