Commit Graph

  • edd7573015 * dir.cc (readdir): Avoid reading from the beginning when readdir is called after a previous call has returned NULL. Corinna Vinschen 2000-11-09 13:32:33 +0000
  • 3aae15c9ba Increase cygwin heap size. Christopher Faylor 2000-11-09 02:39:45 +0000
  • c5d03f3dca * select.cc (peek_pipe): Deal with pending newline in pty_master. Christopher Faylor 2000-11-09 02:03:33 +0000
  • 4c35f9f01f * mount.cc (main): Call show_cygdrive_info instead of show_cygdrive_prefixes. * mount.cc (show_cygdrive_prefixes): Remove function. * mount.cc (show_cygdrive_info): New function. Actually, show_cygdrive_info is really an enhanced version of show_cygdrive_prefixes renamed to show_cygdrive_info that also displays the user and system flags. Christopher Faylor 2000-11-08 20:39:45 +0000
  • 9bc846bd3d * environ.cc (_addenv): malloc space for setenv if cygwin1.dll is used in conjunction with older binaries. (environ_init): Ditto. * external.cc (get_cygdrive_info): New function. * external.cc (get_cygdrive_prefixes): Change to use get_cygdrive_info but toss the user and system flags. * external.cc (cygwin_internal): Add new CW_GET_CYGDRIVE_INFO case. * path.cc (mount_info::get_cygdrive_prefixes): Remove method. * path.cc (mount_info::get_cygdrive_info): New method. Actually, get_cygdrive_info is really an enhanced version of get_cygdrive_prefixes renamed to get_cygdrive_info that also gets the user and system flags. * shared_info.h (get_cygdrive_prefixes): Remove method. * shared_info.h (get_cygdrive_info): New method. * include/cygwin/version.h: Bump minor API version due to adding CW_GET_CYGDRIVE_INFO to cygwin_internal. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_INFO. Christopher Faylor 2000-11-08 20:36:37 +0000
  • 315f8fd37b * mkgroup.c (load_netapi): New function to load netapi32.dll functions dynamically so that mkgroup works on 9x/ME as well. Use corresponding function pointers throughout. (usage): Change to `int'. Change text to be conformant to mkpasswd. (main): Use `getlongopt' to process options. Special handling to create a group entry on 9x/ME. * mkpasswd.c (load_netapi): New function to load netapi32.dll functions dynamically so that mkpasswd works on 9x/ME as well. Use corresponding function pointers throughout. (usage): Change to `int'. Change text to be conformant to mkgroup. (main): Use `getlongopt' to process options. Special handling to create a passwd entry on 9x/ME. Change conditional to create an entry for the local administrators group when appropriate. Corinna Vinschen 2000-11-08 15:00:02 +0000
  • 4c25744f86 * autoload.cc: Add autoload statement for `WSASetLastError'. * net.cc (cygwin_connect): Change error code to WSAEINPROGRESS when connect returns WSAEWOULDBLOCK. Corinna Vinschen 2000-11-07 20:01:09 +0000
  • 64ef9db779 Fix typos. Christopher Faylor 2000-11-07 19:00:02 +0000
  • 442a3c7821 Update copyright. Christopher Faylor 2000-11-07 02:21:33 +0000
  • c0188ae7cb * dcrt0.cc (sigthread::init): Reinstitute sigthread lock as a critical section. (dll_crt0_1): Move sigthread lock initialization to earlier in startup. * exceptions.cc (interrupt_on_return): Remove previous kludgy attempt to detect an invalid frame. (call_handler): Eliminate inner for loop. Grab signal critical section lock where appropriate. * sigproc.cc (proc_subproc): Restore uid setting. * sigproc.h (sigthread): Reinstitute sigthread lock as a critical section. (sigframe): Grab the sigthread lock before clearing frame to avoid having the signal thread use an invalid frame. Christopher Faylor 2000-11-06 23:12:05 +0000
  • a42c18f0dd * config.sub: Add support for Sun Chorus Christopher Faylor 2000-11-06 19:21:51 +0000
  • a98b1584c2 * path.cc (mount_info::read_cygdrive_info_from_registry): Use CYGWIN_INFO_CYGDRIVE_PREFIX, CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX, and CYGWIN_INFO_CYGDRIVE_FLAGS. * path.cc (mount_info::write_cygdrive_info_to_registry): Use CYGWIN_INFO_CYGDRIVE_PREFIX and CYGWIN_INFO_CYGDRIVE_FLAGS. * path.cc (mount_info::remove_cygdrive_info_from_registry): Ditto. * path.cc (mount_info::get_cygdrive_prefixes): Use CYGWIN_INFO_CYGDRIVE_PREFIX. * include/cygwin/version.h: Add CYGWIN_INFO_CYGDRIVE_FLAGS, CYGWIN_INFO_CYGDRIVE_PREFIX, and CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX. Christopher Faylor 2000-11-06 16:40:29 +0000
  • 014b820a0d * Makefile.in: increment VERSION. (dist:) Rename to srcdist. Create new dist target to call srcdist and bindist targets. (srcdist:) New target. (clean-top:) add call to mostlyclean-top and add rm of distribution tarballs. * lib/Makefile.in: (uninstall:) modify to remove files from the new w32api subdirectory and to remove w32api subdirectory. (xuninstall:) Ditto. TODO: Add a task to redo the clean targets of Makefile.in Earnie Boyd 2000-11-06 16:17:16 +0000
  • df664bc1a8 * errno.cc (strerror): Change EAGAIN case to return "Resource temporarily unavailable" instead of "No more processes". Christopher Faylor 2000-11-06 16:13:44 +0000
  • 3a7607289e * libc/include/sys/types.h: Change type of i to `size_t' in FD_ZERO macro to avoid compiler warnings. Corinna Vinschen 2000-11-06 11:59:53 +0000
  • f8038d021f Fix typo. Christopher Faylor 2000-11-06 06:38:21 +0000
  • dd11f11fae * child_info.h (child_info): Add pppid_handle for closing the parent's of the parent handle. * dcrt0.cc (_dll_crt0): Close parent's parent handle when spawned or forked. * debug.cc (add_handle): Correct erroneous reference to handle structure when printing warning. * exceptions.cc (interrupt_now): Always return 1. (interrupt_on_return): Accept a sigthread argument. Check to see if this argument has been trashed prior to setting up the stack return. (call_handler): Add a loop around attempts to dispatch signals to detect case where interrupt_on_return fails. (_sigdelayed): Set up a temporary frame pointer prior to calling stuff that could trigger an interrupt or the stack walking code will be very confused. * fork.cc (fork_parent): Move a lot of the setup of the child process into proc_subproc. * spawn.cc (spawn_guts): Ditto. Use ppid_handle to contact logical parent when reparenting. * pinfo.h (_pinfo): Remember the logical handle of the parent process. * sigproc.cc (proc_subproc): Record most stuff necessary for the _pinfo structure that is inferrable from myself when adding children. (wait_sig): Always set 'pending_signals' flag when about to kick off the signal scanning loop. Reset it only if there are no pending signals. Christopher Faylor 2000-11-06 06:36:32 +0000
  • e0997f5a0f Fix spelling error. Christopher Faylor 2000-11-05 22:11:37 +0000
  • 95101076e5 * pinfo (wait_subproc): Son of neverending debug tweaking. Christopher Faylor 2000-11-05 18:47:28 +0000
  • 914f7bf565 * pinfo (wait_subproc): Neverending debug tweaking. Christopher Faylor 2000-11-05 16:47:00 +0000
  • 0c9ae85d56 * pinfo.cc (winpids:add): New method. (winpids::enumNT): New method renamed from EnumProcessesNT. Use add method to add elements to the lists. (winpids::enum9x): New method renamed from EnumProcesses9x. Use add method to add elements to the lists. (winpids::enum_init): Accept 'winpid' parameter to control whether to add all windows pids to the list. (winpids::release): New method. * pinfo.h (winpids): Reflect above changes. * signal.cc (kill_pgrp): Ditto. * external.cc (fillout_pinfo): Ditto. Christopher Faylor 2000-11-05 06:42:23 +0000
  • 7edb836a68 * exceptions.cc (handle_sigsuspend): Record frame here for signalling. (set_process_mask): Ditto. Christopher Faylor 2000-11-05 03:08:39 +0000
  • 1ae469adf4 * sigproc.cc (wait_subproc): Still more debugging cleanup. Christopher Faylor 2000-11-04 19:25:55 +0000
  • 29578e3eeb * hashtab.h (struct htab): Add member return_allocation_failure. (htab_try_create): New prototype. Mention which functions may return NULL when this is used. Hans-Peter Nilsson 2000-11-04 07:48:51 +0000
  • e46db834d9 * pinfo.cc (EnumProcessesNT): Avoid 0 pids. (EnumProcesses9x): Ditto. * sigproc.cc (remove_childe): Eliminate. (proc_subproc): Move remove_child stuff here. (wait_subproc): Synchronize with proc_subproc when error occurs. Add more debugging info. * sigproc.h (procstuff): Add an entry. * spawn.cc (spawn_guts): Add sigframe here. Christopher Faylor 2000-11-04 05:54:57 +0000
  • 46209564d4 * lib/Makefile.in: Install header files in w32api subdirectory. Christopher Faylor 2000-11-04 02:51:36 +0000
  • c2445f2abc * sigproc.cc (wait_subproc): Refine debug output. Christopher Faylor 2000-11-04 01:08:23 +0000
  • 789080693e * hashtab.h: Change void * to PTR where necessary. Hans-Peter Nilsson 2000-11-03 20:53:04 +0000
  • bb5d559a73 * pinfo.cc (pinfo::init): Reverse order of setting status and pid info in an execed process to avoid a race. * sigproc.cc (wait_subproc): Print more info when a WFSO error occurs. * automode.c: New file. * syscalls.cc (close_all_files): Streamline slightly. * cygheap.cc (ccalloc): Clear *entire* allocated array. Christopher Faylor 2000-11-03 04:27:03 +0000
  • 6857eb1b3b Add support for -storm-chaos Nick Clifton 2000-11-02 23:07:28 +0000
  • ed15374b49 * ntdll.h: Remove IO_COUNTERS definition since it is now in winnt.h. Christopher Faylor 2000-11-02 06:59:07 +0000
  • 6d87f7d7c4 * pinfo.cc (EnumProcessesNT): New function. Eliminates dependence on psapi.h. (EnumProcesses9x): Rename from EnumProcessesW95. Change arguments to be more useful for cygwin. (winpids::init): Accomodate argument changes. (enum_init): Ditto. * pinfo.h (winpids): Make pidlist dynamically extendable by storing it as a pointer and remembering the size. * ntdll.h: Add extra definitions needed for EnumProcessesNT. Reformat via 'indent'. Christopher Faylor 2000-11-02 05:25:56 +0000
  • e2fa502354 * exceptions.cc (interruptible): Remove obsolete tests. (sigreturn): Construct pseudo-frame-pointer so that signal handler can figure out where to put return address when signals are coming in quickly. * path.cc (cwdstuff::get): Allow length 0 buffer length when buffer when NULL. Christopher Faylor 2000-11-02 02:15:02 +0000
  • 69f9407faa * kill.cc (main): Return 1 in case of errors. Corinna Vinschen 2000-11-02 01:03:00 +0000
  • cb08a6c1a0 * CONTRIBUTIONS: New file. * README: Change the maintained by header. * TODO: Add a note about checking the TODO. Earnie Boyd 2000-11-01 01:22:08 +0000
  • baf428f0d5 * include/basetyps.h: add comment for GUID_DEFINED * include/lm.h: add includes for lmerr.h and lmserver.h * include/lmcons.h: add W2K typedefs LMSTR, LMCSTR * include/lmerr.h: add error codes * include/lmserver.h: replace LPTSTR with LPWSTR, LPTCSTR with LPWCSTR in structures and prototypes * include/lmshare.h: ditto * include/lmuse.h: ditto * include/lmstats.h: ditto * include/oleauto.h: add function prototype SystemTimeToVariantTime * include/winbase.h: change first argument of CommConfigDialog to const * include/windowsx.h: add macros defining FAR versions of mem and string functions for porting from Win16 code * include/winioctl.h: added IOCTL_STORAGE defines * include/winnetwk.h: added WNNC_NET flags * include/winnt.h: add include of <basetsd.h>; add structs; add pointer typedefs for TOKEN structs * include/winsock.h: add guard around BSD-ish typedefs * include/wtypes.h: new VARENUM enums, new WIN32/WIN64 compat. macros * include/basetsd.h: new file * include/raserror.h: ditto * include/rassapi.h: ditto * include/ras.h: ditto comment from Earnie: replaced original ras.h contribution with Danny's contribution as it is more complete. * include/rpcndr.h: add default definition for __RPCNDR_H_VERSION__ Earnie Boyd 2000-11-01 00:37:23 +0000
  • b12796a06d * path.h (has_exec_chars): Standard function for checking for executable magic numbers. * path.cc (symlink_info::check): Use the above function. * fhandler.cc (fhandler_disk_file::open): Ditto. Christopher Faylor 2000-10-31 23:14:29 +0000
  • 772e2322bd * path.cc (_readlink): Return ENOENT when file does not exist. Christopher Faylor 2000-10-31 23:01:21 +0000
  • 0f34137539 * fhandler.h (fhandler_dev_raw): Add method `fixup_after_exec'. Corinna Vinschen 2000-10-31 22:38:00 +0000
  • 7cccedf8de * fhandler.h (fhandler_dev_raw): Add definition for method `fixup_after_fork'. * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Add `set_need_fixup_after_fork' call. (fhandler_dev_raw::~fhandler_dev_raw): Revert to user space allocation. (fhandler_dev_raw::open): Ditto. (fhandler_dev_raw::dup): Ditto. Reset buffer pointer. (fhandler_dev_raw::fixup_after_fork): New function. * fhandler_tape.cc (fhandler_dev_tape::open): Revert to user space memory allocation. (fhandler_dev_tape::ioctl): Ditto. Change behaviour on MTSETBLK when new size is 1. Corinna Vinschen 2000-10-31 22:20:59 +0000
  • 8e32a18e79 * fhandler_tape.cc (fhandler_dev_tape::open): Fix memory allocation. Use Cygwin heap instead of user heap. (fhandler_dev_tape::ioctl): Ditto. Corinna Vinschen 2000-10-31 19:59:16 +0000
  • dd07a42567 * pinfo.cc (enum_init): Don't suffer silently if we can't load the process enumerators. Christopher Faylor 2000-10-31 17:01:56 +0000
  • 99119403f3 Update section "Why is make behaving badly?" David Starks-Browning 2000-10-31 16:58:09 +0000
  • ad4bb8089e minor typo David Starks-Browning 2000-10-31 14:33:57 +0000
  • d50d220655 * signal.cc (kill_pgrp): Revert 25-Oct change. (kill_worker): Ditto. Christopher Faylor 2000-10-30 23:19:45 +0000
  • 6b8ce74ca3 Add noconfigure dirs for m68[hc]{11|12} targets. Nick Clifton 2000-10-30 21:12:29 +0000
  • f745abc7a0 * include/cygwin/version.h: Bump DLL minor version number to 6. Christopher Faylor 2000-10-30 01:53:02 +0000
  • 86fff69f62 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin. * libc/include/malloc.h: Ditto. Also remove obsolete declaration. Christopher Faylor 2000-10-30 01:08:58 +0000
  • 75a57bf04a Whitespace cleanup. Christopher Faylor 2000-10-28 05:41:44 +0000
  • ce475802f8 * Makefile.in: Accomodate newer gcc's which require linking of c++ programs with g++. Fixup output for some compilations. * cygcheck.cc: Respond to compiler warnings. * dumper.cc (main): Ditto. * parse_pe.cc (exclusion::sort_and_check): Ditto. * setfacl.cc (getaclentry): Ditto. Christopher Faylor 2000-10-28 05:39:38 +0000
  • eedc36cb12 Cleanup formatting on some files. Remove excessive whitespace. Christopher Faylor 2000-10-28 05:00:00 +0000
  • 3c952fed3f * strace.cc (main): Add a '-b' option. Christopher Faylor 2000-10-28 00:21:41 +0000
  • a5cc215f75 * autoload.cc: New file keeping all autoload stuff. * Makefile.in: Add autoload.o to dependencies. * dcrt0.cc: Move all autoload stuff to autoload.cc. * fhandler_mem.cc: Ditto. * net.cc: Ditto. * uinfo.cc: Ditto. Corinna Vinschen 2000-10-27 18:53:56 +0000
  • 018a91fa2e * sigproc.cc (wait_sig): Add braces to avoid confusion. Christopher Faylor 2000-10-27 15:38:32 +0000
  • afd5033d83 * fhandler_socket.cc: New file. * Makefile.in: Add fhandler_socket.o to dependencies. * fhandler.h: Change comment. * net.cc Move all fhandler_socket methods to fhandler_socket.cc. * winsup.h: Add declaration for `ws2_32_handle'. Corinna Vinschen 2000-10-27 09:50:33 +0000
  • dd4f0b2343 * dtable.cc (dtable::release): Check for socket. Change cnt_need_fixup_before accordingly. (dtable::dup2): Ditto. (dtable::fixup_before_fork): New method. (dtable::fixup_before_exec): Ditto. * dtable.h (class dtable): Add member `cnt_need_fixup_before'. Add definition for methods `dec_need_fixup_before', `inc_need_fixup_before', `need_fixup_before', `fixup_before_exec' and `fixup_before_fork'. * fhandler.h (class fhandler_base): Slight rearrangements. Add definitions for methods `fixup_before_fork_exec'. (class fhandler_socket): Eliminate superfluous constructor. Add member `prot_info_ptr'. Add destructor. Add definitions for methods `dup', `fixup_before_fork_exec', `fixup_after_fork' and `fixup_after_exec'. * fork.cc (fork_parent): Care for file types which need a fixup before fork. Start child in suspended state then. * net.cc: New global variable `ws2_32_handle' and `wsadata'. (fdsock): Check for Winsock version. Call `set_socket_inheritance' only if Winsock version < 2.0. Care for `need_fixup' count in fdtab. (cygwin_socket): Eliminate call to `set_socket_inheritance'. (cygwin_accept): Ditto. (cygwin_rcmd): Ditto. (cygwin_rresvport): Ditto. (cygwin_rexec): Ditto. (socketpair): Ditto. (fhandler_socket::fhandler_socket): Set `need_fork_fixup'. Allocate space for the WSAPROTOCOL_INFOA struct used in fixup. (fhandler_socket::~fhandler_socket): New destructor. (fhandler_socket::fixup_before_fork_exec): New method. (fhandler_socket::fixup_after_fork): Ditto. (fhandler_socket::dup): Ditto. (wsock_init): New static function. (LoadDLLinitfunc (wsock32)): Rearranged. (LoadDLLinitfunc (ws2_32)): New function. (dummy_autoload): Add autoload statemants for `WSADuplicateSocketA' and `WSASocketA'. * spawn.cc (spawn_guts): Care for file types which need a fixup before exec. Start child in suspended state then. Corinna Vinschen 2000-10-26 10:13:41 +0000
  • 003303a435 * ntsec.sgml: Slight changes. Fix some errors. Corinna Vinschen 2000-10-26 08:01:39 +0000
  • 5972be1c32 * ntsec.sgml: Changed the (now incorrect) hint that ntsec only uses access allowed ACEs. Corinna Vinschen 2000-10-26 07:37:26 +0000
  • e21fa1ebb4 * signal.cc (kill_pgrp): Don't limit sending of signals to stopped processes when sig < 0. (kill_worker): Only send SIGCONT to stopped processes when sendSIGCONT. Christopher Faylor 2000-10-26 00:51:50 +0000
  • cffaf20bf3 * exceptions.cc (sig_handle): Just make sure that wait_sig loops when receiving a SIGCONT. Don't block waiting for completion that will never occur. Christopher Faylor 2000-10-25 17:57:43 +0000
  • 45a7e9572f Add comment. Christopher Faylor 2000-10-25 14:18:56 +0000
  • 2e78b61dca * dtable.cc (dtable::fixup_after_exec): Use variable rather than constantly indexing into fds array. (dtable::fixup_after_fork): Ditto. Christopher Faylor 2000-10-25 14:17:27 +0000
  • 2f7356f39b * fhandler.cc (fhandler_base::fcntl): Treat O_NONBLOCK and OLD_O_NDELAY as exactly the same. If one is set, both are set. * net.cc (fhandler_socket::fcntl): Ditto. Corinna Vinschen 2000-10-25 08:47:23 +0000
  • d220f0b21c * dcrt0.cc (do_exit): Remove debugging statement. Christopher Faylor 2000-10-25 03:59:07 +0000
  • f8f9b12e6c * dcrt0.cc (do_exit): Don't bother looking for pgrp children to send SIGHUP if process has never created any children. * fork.cc (fork): Set flag indicating that there is another process with our process group. * spawn.cc (spawn_guts): Ditto. * pinfo.h (set_has_pgid_children): New methods for setting when process has children in its process group. * syscalls.cc (setpgid): Clear has_gid_children if pgid changes. Christopher Faylor 2000-10-25 03:54:50 +0000
  • 8c8d0db462 * ntdll.h: New file. * fhandler_mem.cc: Move ntdll.dll specific definitions and declarations to ntdll.h. * sysconf.cc (sysconf): Add support for _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and _SC_AVPHYS_PAGES. Corinna Vinschen 2000-10-24 18:44:56 +0000
  • ba9e88d24c * libc/include/sys/unistd.h: Add defines for sysconf values _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and _SC_AVPHYS_PAGES. Corinna Vinschen 2000-10-24 18:27:54 +0000
  • 90bb77ddcb * fhandler.cc (fhandler_base::fcntl): Behave properly when passed previous version of O_NDELAY. * syscalls.cc: Move OLD_O_NDELAY to winsup.h. * winsup.h: Define OLD_O_NDELAY now. Corinna Vinschen 2000-10-24 18:15:25 +0000
  • 902047f40e Update "How can I access other drives?" entry with details about --change-cygdrive-prefix and some other minor changes. David Starks-Browning 2000-10-24 16:43:50 +0000
  • 77da118b99 Update entry "What's the difference between packages in 'latest' and 'contrib'. David Starks-Browning 2000-10-24 15:24:16 +0000
  • 337adb6fd9 Add more details to "What if setup fails?" entry. David Starks-Browning 2000-10-24 15:20:18 +0000
  • 4c45a89744 * exceptions.cc (signal_exit): Kill any executing child process if we're dying. * path.h: Remove unneeded extern. * spawn.cc (std_suffixes): Make static. Don't set dwProcessId here since it makes the process unsignalable. Set strace flag that this is an execed process stub. * strace.cc (strace::vsprntf): Use strace flag to indicate when to visually flag that this is an exec stub. * include/sys/strace.h (strace): Add 'execing' flag. Christopher Faylor 2000-10-24 02:25:27 +0000
  • 00ee2b44e7 Add mail submission addresses for autoconf and config.{guess,sub}. Ben Elliston 2000-10-24 01:08:11 +0000
  • 18bec9b6e0 forced checkin. Christopher Faylor 2000-10-24 00:00:51 +0000
  • cf99a9fbc1 testing. Christopher Faylor 2000-10-23 23:50:27 +0000
  • fbcfc19d27 * Makefile.common (LIBGCC): Acommodate older gcc's that don't need Christopher Faylor 2000-10-23 23:45:32 +0000
  • 11a2b54d77 Forced checkin. Christopher Faylor 2000-10-23 23:39:04 +0000
  • 06571ff689 * sigproc.cc (proc_subproc): Don't send a false positive if WNOHANG and no processes are available for waiting. Christopher Faylor 2000-10-23 20:50:36 +0000
  • 38a1798645 * fhandler.cc (fhandler_base::fcntl): Setting flags in F_SETFL branch according to Linux documentation. Corinna Vinschen 2000-10-23 20:29:31 +0000
  • 1eb14bae8c * fcntl.cc (_fcntl): Rearrange as wrapper function. Move all functionality except F_DUPFD to fhandler classes. * fhandler.cc (fhandler_base::fcntl): New method. * net.cc (fhandler_socket::fcntl): Ditto. * fhandler.h (class fhandler_base): Add method prototype for fcntl(). (class fhandler_socket): Ditto. Corinna Vinschen 2000-10-23 20:16:52 +0000
  • f80cdaeecb * sigproc.cc (proc_subproc): Correctly handle flags for WNOHANG case. Christopher Faylor 2000-10-23 16:50:21 +0000
  • c434bd0840 * security.cc: Eliminate C++ comments throughout. Corinna Vinschen 2000-10-23 08:02:38 +0000
  • be69ad802b * Makefile.common (LIBGCC): Acommodate older gcc's that don't need libstdc++.a. Christopher Faylor 2000-10-23 04:50:32 +0000
  • ad30b4ffca * fork.cc (fork): Set sigframe here, since it can pause for a considerable amount of time. * environ.cc (_addenv): Add debugging. * fhandler.cc: Eliminate unneeded include. * smallprint.c: Ditto. Christopher Faylor 2000-10-23 03:35:50 +0000
  • de7ba863d8 flip/flop change. Christopher Faylor 2000-10-22 22:43:47 +0000
  • 1cd1a02ae8 Minor change. Christopher Faylor 2000-10-22 22:32:15 +0000
  • 35fd69c6c0 Test checkin. Christopher Faylor 2000-10-22 22:27:29 +0000
  • 69af4b5495 Minor change. Christopher Faylor 2000-10-22 22:03:59 +0000
  • 358a43a59a Forced checkin. Christopher Faylor 2000-10-22 22:02:12 +0000
  • b150b20cfd * pinfo.cc (pinfo_init): Eliminate call to `set_process_privileges'. * security.cc (write_sd): Call `set_process_privileges' on the first call to `write_sd'. (set_process_privileges): Eliminate adjusting SE_BACKUP_NAME privilege. Corinna Vinschen 2000-10-22 10:13:30 +0000
  • 5693c8d55b * Makefile.common (LIBGCC): Find libstdc++.a as well as libc.a since builtin functions are in this library in newer gcc's. Christopher Faylor 2000-10-21 22:01:55 +0000
  • 5a84a8dc2e Fix typo. Christopher Faylor 2000-10-21 20:57:40 +0000
  • 160c7abd0c * pinfo.cc (pinfo::init): Make PID_EXECED signal creation as well as PID_IN_USE. Christopher Faylor 2000-10-21 19:28:49 +0000
  • eca7c7291f * spawn.cc (spawn_guts): Don't do the reparenting step if we notice that the child has exited prior to sending the subprocess_ready signal (?). Christopher Faylor 2000-10-21 05:53:43 +0000
  • b0de2aa284 * fhandler.h (fhandler_console): Remove tcsetpgrp. * fhandler_console.cc (fhandler_console::tcsetpgrp): Eliminate. * fork.cc (fork_parent): Avoid returning same pid twice in a row regardless of OS. * pinfo.cc (pinfo::init): Rename create argument to flags and treat it as such. * signal.cc (set_sigcatchers): New function. (signal): Use set_sigcatchers to increment or decrement sigcatcher tracker. (sigaction): Ditto. Add debugging output. * spawn.cc (spawn_guts): Always quote first argv[0] argument when it's a COMSPEC shell. Christopher Faylor 2000-10-21 04:53:49 +0000
  • e9921bcbaa * times.cc (to_time_t): pass zero time as epoch * fhandler.cc (fstat): copy atime/ctime from mtime if they're zero DJ Delorie 2000-10-20 21:45:50 +0000
  • b3c74e6dd0 gas/ * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p instructions to loose any special insn->architecture mask. Jakub Jelinek 2000-10-20 10:38:47 +0000
  • 0b1eab2764 Makefile.in shuffle. Christopher Faylor 2000-10-20 04:39:21 +0000
  • a333dca2b8 * external.cc (fillout_pinfo): Pass PID_NOREDIR flag to pinfo init to avoid finding execed processes twice. * signal.cc (kill_pgrp): Ditto. * spawn.cc (spawn_guts): Avoid passing first argument to CreateProcess when running a windows shell so that CreateProcess will locate the shell. Reorganize so that correct error is returned when CreateProcess fails. Christopher Faylor 2000-10-20 04:20:21 +0000
  • 74266a0fee * Makefile.in: increment VERSION. Change tar file name for dist and bindist targets to be more standard. * config.guess: Update with the currently published file. * config.sub: ditto. * configure.in: Use value of build_alias instead of testing for directory names to set BUILDENV. * configure: ditto. * lib/Makefile.in: Change the name of the targets install, install-headers and install-libraries to xinstall, xinstall-headers and xinstall-libraries for system target specified installation. Recreate targets install, install-headers and install-libraries for exec-prefix specified installation. Ditto for the uninstall targets of the same name. Earnie Boyd 2000-10-19 20:56:51 +0000