Commit Graph

  • e059aa71c6 * Makefile.in: Make failure to build dumper.exe a non-error. Christopher Faylor 2000-08-25 15:45:42 +0000
  • 8b99c9afcd minor formatting fixes David Starks-Browning 2000-08-25 13:33:38 +0000
  • 138b832b0c Major re-write of "Installation using the setup.exe program". David Starks-Browning 2000-08-25 13:15:10 +0000
  • 6642e617bb Minor changes. David Starks-Browning 2000-08-25 12:57:19 +0000
  • 239b06b864 * external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin 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. Christopher Faylor 2000-08-25 02:27:42 +0000
  • 4bb85e7f67 * ps.cc (main): Always print a cygwin process using cygwin paths. Christopher Faylor 2000-08-25 02:25:52 +0000
  • 2d5862dee6 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> Jeff Johnston 2000-08-24 22:32:38 +0000
  • de43b06d7b * ps.cc (main): Always print a cygwin process using cygwin paths. Christopher Faylor 2000-08-24 22:04:29 +0000
  • a3cfd73ac9 * select.cc (cygwin_select): Correct logic for "always_ready" fds or when there is no wait specified. * syslog.cc (pass_handler::set_message): Zero the buffer prior to setting it. Christopher Faylor 2000-08-24 21:19:14 +0000
  • be8924c43b Change attribution. Christopher Faylor 2000-08-24 19:07:29 +0000
  • 5f3cb291b1 * Makefile.common: Add bupdir2 to reference above the i686-pc-cygwin directory. Christopher Faylor 2000-08-24 19:05:38 +0000
  • 0ad10c0f96 * Makefile.in: Add dumper.exe target and associated mechanisms for building it. * dumper.cc: New file. * dumper.h: New file. * module_info.cc: New file. * parse_pe.cc: New file. Christopher Faylor 2000-08-24 19:03:12 +0000
  • 199359f062 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> Jeff Johnston 2000-08-24 18:51:09 +0000
  • 78b8497ba3 * include/cygwin/core_dump.h: New file, contains structures used in cygwin core core files. * include/sys/procfs.h: New file, needed to autoconfigure cygwin core dumps support in bfd. Christopher Faylor 2000-08-24 18:39:27 +0000
  • 5a41f96dbb * environ.cc (parse_thing): nobinmode should force O_TEXT. (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. Christopher Faylor 2000-08-24 17:54:43 +0000
  • 123469a0e9 * include/sys/cygwin.h (strace_printf_wrap): Force printing when _STRACE_SYSTEM. (strace_printf_wrap1): Ditto. Christopher Faylor 2000-08-24 17:23:35 +0000
  • d1be315740 * debug.h: Allow some debug defines for use in header files. Christopher Faylor 2000-08-24 16:33:03 +0000
  • 0888fedd86 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> Jeff Johnston 2000-08-24 16:25:36 +0000
  • a334e5ef72 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch> Jeff Johnston 2000-08-24 16:11:59 +0000
  • f5589e4118 * dcrt0.cc (dll_crt0_1): Move exception list and constructor stuff earlier in 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. Christopher Faylor 2000-08-24 04:07:50 +0000
  • e1cf4ae80c Revert previous erroneous checkin. Christopher Faylor 2000-08-23 14:56:28 +0000
  • c19e7ba723 * include/sys/cygwin.h: Protect class definitions. Christopher Faylor 2000-08-23 14:53:25 +0000
  • 644b7f266b * libc/unix/getut.c (utmpname): added _CONST to reflect common use and prototype in cygwin's utmp.h DJ Delorie 2000-08-22 19:04:49 +0000
  • e136f5c0e0 * path.cc (symlink_info::check): Clear error on each iteration of extension check. Christopher Faylor 2000-08-22 17:59:53 +0000
  • 6d75cb08b3 * Makefile.in: Don't include '.d' file if there are none generated yet. Christopher Faylor 2000-08-22 15:25:25 +0000
  • d6483e830f * include/sys/cygwin.h: Declare some thread classes. * include/mntent.h: Avoid declaring functions. Christopher Faylor 2000-08-22 15:12:29 +0000
  • bccd5e0d85 * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files only in sources which require them. * Makefile.in: Generate dependencies with -MD option. Christopher Faylor 2000-08-22 05:10:20 +0000
  • 19b48cd982 * config-ml.in (CC, CXX): Avoid trailing whitespace. (LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to sub-configures. Alexandre Oliva 2000-08-22 05:01:20 +0000
  • 9e2baf8dfa * cygerrno.h: New file. Use this throughout whenever errno manipulation is 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 /. Christopher Faylor 2000-08-22 03:58:47 +0000
  • 6b85369f82 Update copyright. Christopher Faylor 2000-08-21 18:27:38 +0000
  • d3bff3131f * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): hinstance, not handle. (reverse of previous diff) DJ Delorie 2000-08-21 18:15:50 +0000
  • 20ffb3ee16 * include/cygwin/cygwin_dll.h (DECLARE_CYGWIN_DLL): handle, not hinstance. DJ Delorie 2000-08-21 17:47:52 +0000
  • 43a5b89bdd * Makefile.in (ALL_MODULES): Add all-cgen. (CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily. (all-cgen): New target. (all-opcodes,all-sim): Depend on all-cgen. * configure.in (host_tools): Add cgen. Only configure cgen if --enable-cgen-maint. Doug Evans 2000-08-20 22:56:17 +0000
  • 5422433943 * include/winnt.h:Add enums for TokenRestrictedSids and TokenSessionId to TOKEN_INFORMATION_CLASS type. Add QUOTA_LIMITS type. Corinna Vinschen 2000-08-19 00:20:00 +0000
  • 6052f47178 * Makefile.in: hinfo.o -> dtable.o. Christopher Faylor 2000-08-18 20:01:04 +0000
  • 25685bb107 * fhandler-tut.txt: hinfo -> dtable. Christopher Faylor 2000-08-18 19:52:31 +0000
  • dc999f678d hinfo -> dtable Christopher Faylor 2000-08-18 19:51:02 +0000
  • 83eda97dff * dtable.cc (dtable::dup2): Extend fdtab if newfd is out of current allocated bounds. Corinna Vinschen 2000-08-18 18:14:08 +0000
  • 1c75dc93c8 * config-ml.in (CC, CXX): Don't introduce a leading space. Alexandre Oliva 2000-08-17 15:18:39 +0000
  • 6afcd43da0 Fix 3 DV bugs, and a few minor cleanups. gas/ * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle postincrement modified registers. Handle IA64_OPND_R3_2 addl source registers. (note_register_values): Handle IA64_OPND_R3_2 operands. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add new tests for addl and postinc. * gas/ia64/dv-raw-err.l: Likewise. * gas/ia64/dv-waw-err.l: Update sed pattern. * gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment. * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. include/opcode/ * ia64.h (IA64_OPCODE_POSTINC): New. opcodes/ * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete break, mov-immediate, nop. * ia64-opc-f.c: Delete fpsub instructions. * ia64-opc-m.c: Add POSTINC to all instructions with postincrement address operand. Rewrite using macros to avoid long lines. * ia64-opc.h (POSTINC): Define. * ia64-asmtab.c: Regenerate. Jim Wilson 2000-08-16 23:20:14 +0000
  • 2768864a59 * configure.in (libstdcxx_flags): Use libstdc++-v3/src/libstdc++.INC. Alexandre Oliva 2000-08-16 18:37:42 +0000
  • 5bacbf109f 2000-08-16 Eric Fifer <efifer@sanwaint.com> Jeff Johnston 2000-08-16 18:30:40 +0000
  • e3c9eeaf79 2000-08-15 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-08-16 17:29:23 +0000
  • 9776b6ec98 * configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES. Alexandre Oliva 2000-08-15 08:01:29 +0000
  • 6d529a974b Add support for IA-64 specific elf header flags. bfd/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. (elf64_ia64_print_private_bfd_data): Likewise. Also handle EF_IA_64_ABSOLUTE. gas/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. (md_begin): Change assignment to md.flag to OR in the new bit. include/elf/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define. Jim Wilson 2000-08-14 20:13:39 +0000
  • e48a8ed6ec * mkvers.sh: Properly trap exit removal of temp file. Remove debugging statement. Christopher Faylor 2000-08-12 05:48:51 +0000
  • 84cf3d22e3 Correct order in include files. Christopher Faylor 2000-08-12 05:47:12 +0000
  • b2007749a8 * poll.cc: Make winsup.h the first include file, re 2000-08-02 change. Christopher Faylor 2000-08-12 05:39:41 +0000
  • e2ebe11776 * winsup.h: Split out dtable definitions into separate header file. * dtable.h: New file. * sigproc.h: Eliminate pinfo.h usage here. Use it in source files that need it. Christopher Faylor 2000-08-12 05:35:42 +0000
  • 3ee92b51d6 * Makefile.in: Use dtable.o rather than hinfo.o. Christopher Faylor 2000-08-12 05:09:27 +0000
  • 9015e0fb8c Rename hinfo -> dtable. Name the former dtable array 'fdtab'. Christopher Faylor 2000-08-12 04:48:44 +0000
  • 86bf05d540 * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET): Add -B$$r/gcc/ here. (FLAGS_FOR_TARGET): Not here. (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages. Jason Merrill 2000-08-12 00:49:39 +0000
  • 427b6d036e * poll.cc: Allow any descriptor and any number of descriptors. Allocate fd_set struct sdynamically. Corinna Vinschen 2000-08-11 20:34:24 +0000
  • bbda7ca078 Fix premature use of fdtab. Christopher Faylor 2000-08-11 13:49:42 +0000
  • e82d75cc2b * poll.cc: Add bounds checking for file descriptors. Return POLLNVAL if fd is invalid. Return POLLERR for each valid fd if cygwin_select returned with error. include/sys/poll.h: Change POLLERR comment according to above change. Corinna Vinschen 2000-08-11 12:51:47 +0000
  • 7b972f5da5 * syslog.cc (syslog): Use a less malloc-intensive method for allocating the buffer. Also fix a buffer overrun. Christopher Faylor 2000-08-11 01:56:05 +0000
  • 20eb1efd9d DJ is sole setup maintainer now. Christopher Faylor 2000-08-10 23:51:25 +0000
  • 37e7e1a3e5 Change comment. Christopher Faylor 2000-08-10 22:24:58 +0000
  • 02b503c875 comment changes. Christopher Faylor 2000-08-10 22:22:09 +0000
  • 9c20cc85aa Minor change. Christopher Faylor 2000-08-10 22:04:38 +0000
  • da2a05da2a Minor change. Christopher Faylor 2000-08-10 22:02:41 +0000
  • b6a0e444d9 Minor change. Christopher Faylor 2000-08-10 21:54:44 +0000
  • b5ae313ab5 * winsup.h: Change strchr inline for strange gcc problem. * select.cc (select_stuff::wait): Bounds check w4 array. Christopher Faylor 2000-08-10 19:33:54 +0000
  • b58f5598cb * dir.cc (readdir): Ensure that errno is *only* set when we've run out of filenames. * fhandler.cc (fhandler_disk_file::fstat): Use modern method for saving errno, making it effective for the whole function. Christopher Faylor 2000-08-10 19:20:11 +0000
  • 38a6bf987b Recode to clean up function prologues and epilogue and to allow the functions to be used in a Thumb based toolchain. Nick Clifton 2000-08-09 21:55:54 +0000
  • ff3d99fb37 gas: 2000-08-08 Jason Eckhardt <jle@cygnus.com> Jason Eckhardt 2000-08-09 03:33:41 +0000
  • 0072fdab86 * select.cc (allocfd_set): Zero allocated fd_set. (cygwin_select): Move fd_set copying logic from ::wait to here. Use common return through sell.poll. (select_stuff::wait): Just return success or failure and let caller fill in fd_set. * pinfo.h (pinfo): Eliminate self-referential pointer to sidbuf since pinfo structure exists at random locations now. * fork.cc (fork): Use 'use_psid' element to control when the psid is relevant. * shared.cc (sec_user): Ditto. * spawn.cc (spawn_guts): Ditto. * uinfo.cc (internal_getlogin): Ditto. * syscall.cc (seteuid): Ditto. Set use_psid element. Christopher Faylor 2000-08-09 02:33:47 +0000
  • c51a2a8ba4 * fhandler_serial.cc (tcsendbreak): "sleeptime" argument to usleep() must be in units of microseconds, not milliseconds. DJ Delorie 2000-08-08 20:46:47 +0000
  • 5678e1954a * include/userenv.h: New header file. * lib/userenv.def: New stub for userenv.dll. Corinna Vinschen 2000-08-08 20:00:35 +0000
  • befe0fb3e1 2000-08-08 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2000-08-08 19:01:02 +0000
  • 0e882d4f29 * include/winuser.h: Correct PCWPSTRUCT typo. (discovered by Axel Riese) Christopher Faylor 2000-08-08 14:30:54 +0000
  • fc6ab55952 Remove spurious CYGNUS LOCAL comments Nick Clifton 2000-08-07 18:54:49 +0000
  • d32ca893ac * configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean "if we're also building gcc, and it's a gcc that will run on the build machine, we want to use its includes instead of the system's default includes". DJ Delorie 2000-08-07 15:02:09 +0000
  • 709262970f * include/cygwin/cygwin_dll.h: Remove extraneous (and incorrect) declarations. Christopher Faylor 2000-08-07 04:13:34 +0000
  • 553d0fe671 * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros. Move related opcodes closer to each other. Minor changes in comments, list undefined opcodes. Denis Chertykov 2000-08-06 14:09:14 +0000
  • 91892f50d9 * hinfo.cc (hinfo::find_unused_handle): Just check for table entry == NULL since we are already bounds checked by default. * thread.cc (ResourceLocks::Lock): Streamline this function since it is called a lot. (ReleaseResourceLock): Ditto. Christopher Faylor 2000-08-04 04:04:46 +0000
  • e5dd88116a * select.cc (fhandler_console::select_read): Call set_cursor_maybe since select may block and cursor may not be visible. * select.cc (fhandler_console::select_write): Ditto. * select.cc (fhandler_console::select_except): Ditto. Christopher Faylor 2000-08-04 01:33:33 +0000
  • e0b51f5a76 * configure.in (libstdcxx_flags): Don't use `"'. Alexandre Oliva 2000-08-03 23:54:09 +0000
  • d2b20142e4 * config-ml.in: Adjust multilib search paths to the appropriate multilib tree. Alexandre Oliva 2000-08-03 19:20:16 +0000
  • 14323f6a97 * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field correctly when "need_nl". Christopher Faylor 2000-08-03 13:02:09 +0000
  • 47026c0785 * fork.cc (vfork): Store complete stack frame in vfork_save structure for later recovery. * spawn.cc (spawn_guts): Reorganize slightly to consolidate handling when there is a CreateProcess error. (_spawnve): Only longjmp back to vfork handling when a process has been successfuly started. * winsup.h (vfork_save): Extend to include frame info. Remove obsolete cpplus conditionals. Christopher Faylor 2000-08-03 03:02:41 +0000
  • 6a2ef32105 * configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to commas in $LANGUAGES. Alexandre Oliva 2000-08-03 02:22:11 +0000
  • 9ccb71b88f add winsup.h DJ Delorie 2000-08-02 20:13:18 +0000
  • 20d7f75837 * strace.cc (strace::prntf): Make second argument the function name, rather than use special format options. (strace::vprntf): Ditto. (getfunc): New function. * include/sys/strace.h: Reflect above changes. * smallprint.c (__small_vsprintf): Eliminate '%F' formatting. * pinfo.cc (set_myself): Modify for new strace::prntf parameter. * errno.cc (seterrno_from_win_error): Ditto. * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto. * fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Ditto. Christopher Faylor 2000-08-02 19:26:01 +0000
  • 5a7b5870ff 2000-08-01 Alexandre Oliva <aoliva@redhat.com> DJ Delorie 2000-08-02 18:56:20 +0000
  • c1efa78572 * regexp/regexp.c: Add winsup.h. Christopher Faylor 2000-08-02 17:21:27 +0000
  • 4c8d72ded5 * winsup.h: take out protections of environ, errno, allow C use * *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__); use cur_environ() instead of just environ * times.cc: remove import protections * glob.c: add winsup.h * localtime.c: ditto * smallprint.c: ditto * Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling. DJ Delorie 2000-08-02 16:28:18 +0000
  • ad8dea13f0 * include/sys/strace.h: Fix strace definition. Christopher Faylor 2000-08-02 15:24:45 +0000
  • a5a965ff62 * strace.h: Add kludgy workarounds to avoid using deprecated methods for variable argument macros when possible. * sigproc.cc: Throughout, use sigproc_printf rather than sip_printf. * strace.cc (strace::prntf): Remove 'active' check, since callers are supposed to ensure this. (__system_printf): Remove. Subsumed by strace::prntf. * winsup.h: Define "NEW_MACRO_VARARGS" to indicate when to use new macro varargs capability. Christopher Faylor 2000-08-02 03:42:31 +0000
  • 749d9bcd4b * libc/include/sys/config.h: define __IMPORT appropriately * libc/include/ctype.h (_ctype_): use __IMPORT * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto * libc/include/math.h (__mb_cur_max): ditto * libc/include/time.h (_timezone, _daylight, _tzname): ditto * libc/include/unctrl.h (__unctrl, __unctrllen): ditto * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto * libc/include/unistd.h (environ): ditto DJ Delorie 2000-08-01 20:51:51 +0000
  • deb2b467e9 * passwd.c (main): Initialize oldpwd before beeing used. Corinna Vinschen 2000-07-31 13:35:39 +0000
  • a9867e1b58 * fhandler_console.cc: Remove VK_DIVIDE detection. (get_nonascii_key): Simplify previous patch to return ascii char if it is non-zero. Add a second "temporary buffer" argument to help with thread safety. * select.cc (peek_console): Pass a temporary buffer argument to get_nonascii_key. Christopher Faylor 2000-07-30 17:58:48 +0000
  • f0a69f46bb Fix formatting Add copyright notice Nick Clifton 2000-07-29 19:37:30 +0000
  • 751669bbb0 * fhandler_console.cc: Add VK_DIVIDE detection. Return virtual keycode if it is not detected and it is less than ' '. Christopher Faylor 2000-07-29 19:07:15 +0000
  • af5153a036 * path.cc (chdir): Avoid trailing dot calculation when chdir == '/' or we end up with an empty string. Christopher Faylor 2000-07-29 17:36:05 +0000
  • cc631726d3 * kill.cc (main): Add '-f' option to force termination of a process. (forcekill): New function. * ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids. (dummyprocessmodules): New function. (GetModuleFileNameEx95): New function. (init_win): New function. (to_time_t): New function. Christopher Faylor 2000-07-29 16:26:37 +0000
  • 84c7d40932 * include/cygwin/version.h: Bump DLL minor version number to 5 due to all of the changes below. Redefine process structure to avoid a fixed size table. Redefine pinfo/_pinfo classes. Use these throughout. * dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change. (__api_fatal): Accomodate _pinfo::record_death argument change. * exceptions.cc (really_exit): Ditto. (sig_handle_tty_stop): Use pinfo constructor to access process info. (events_init): Don't create pinfo_mutex since it is no longer required. * external.cc (fillout_pinfo): Use winpids class to iterate over all system pids. (cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops. * fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to access process info. * fork.cc (fork): Reorganize to initialize child info after the child has started since that is when we know the child's winpid, which is necessary to allocate the pinfo shared memory. * mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo. * pinfo.cc: Rename pinfo methods to _pinfo throughout. Eliminate pinfo_list stuff. (set_myself): Accept a pid argument now. Call pinfo initializer to initialize myself. Detect when this is an "execed" process and create an "indirect" pid block. (pinfo_init): Accomodate set_myself arg change. (procinfo): Remove. (pinfo::lock_pinfo): Remove. (pinfo::unlock_pinfo): Remove. (pinfo::init): New method. Allocates shared memory space for process pinfo structure. (pinfo::record_death): Don't call locking functions. (cygwin_winpid_to_pid): Simplify by using new pinfo constructor. (EnumProcessesW95): New function for iterating over processes on Windows 95. (winpids::winpids): New constructor for winpids class. Sets up a list of process ids. (enum_init): Initialize w95/wnt pid enumerators. * shared.cc (shared-info::initialize): Remove pid initialization. * shared.h: Move pinfo stuff into pinfo.h. (class shared_info): Remove pinfo_list element. * signal.cc (kill_worker): Use pinfo constructor to access process info. (kill_pgrp): Ditto. Use winpids methods to access list of processes. * sigproc.cc: Throughout, modify to use _pinfo where appropriate. (proc_exists (pid_t)): New function. Determines if a process exists based on the pid. (proc_exists (_pinfo *p): Use new proc_exists function above. (proc_subproc): Copy pinfo stuff around rather than _pinfo pointers. Try to be careful about releasing shared memory when we don't need it anymore. Remove pinfo locks. (remove_zombies): Remove pinfo memory when zombie is going away. * sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc. * spawn.cc (spawn_guts): Eliminate pinfo *child argument. Reorganize to only initialize child pinfo after process has been started and we know the windows pid. (_spawnve): Reflect spawn_guts changes. * syscalls.cc (setpgid): Use pinfo constructor to access process info. (getpgid): Ditto. (internal_getlogin): Use _pinfo. * winsup.h: Eliminate pinfo_mutex. Eliminate spawn_guts declaration since it is static now. Reflect set_myself argument change. * include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff. * include/cygwin/version.h: Update minor version for cygdrive changes below. Christopher Faylor 2000-07-29 16:24:59 +0000
  • 53211514a0 * environ.cc (parse_thing): Make binmode a DWORD. * hinfo.cc (hinfo::init_std_file_from_handle): Use 'binmode' to determine default open mode. * winsup.h: Declare binmode. Christopher Faylor 2000-07-29 16:01:23 +0000
  • 9eef1530d5 * include/cygwin/cygwin_dll.h: Update for modern compilers. * lib/cygwin_crt0.c: Inexplicably need to define alloca for newer compilers. * fhandler.h (fhandler_console): Add new method. * fhandler.cc (fhandler_console::set_cursor_maybe): New method. (fhandler_console::read): Set cursor if it has moved to make it visible. Christopher Faylor 2000-07-29 04:19:24 +0000
  • d1baac7725 Minor formatting change. Christopher Faylor 2000-07-28 23:21:04 +0000