313b51e6c1* fhandler_tty.cc (fhandler_pty_master::close): Always close from_master/to_master since we always have copies of these handles.
Christopher Faylor
2006-06-12 14:56:31 +0000
184574d61c* include/sys/wait.h: Move definition of wait constants from here... * include/cygwin/wait.h: ...to here. New file. * include/cygwin/stdlib.h: Include cygwin/wait.h to conform with SUSv3.
Corinna Vinschen
2006-06-12 14:25:05 +0000
e3f56b2b3d* winsup.api/user_malloc.c: New file.
Corinna Vinschen
2006-06-12 13:59:36 +0000
730f10974a* heap.cc (heap_init): Only commit if allocsize is not zero.
Corinna Vinschen
2006-06-12 13:59:17 +0000
d73228210d[mingw-Bugs-1424461] *include/imagehlp.h: Comment out IN, OUT and OPTIONAL, throughout. *include/rpcdce.h: Don't define IN, OUT or OPTIONAL if _NO_W32_PSEUDO_MODIFIERS. *include/rpcnsi.h: Comment out IN, OUT and OPTIONAL, throughout. *include/rpcnsip.h: Likewise. *include/windef.h: Don't define IN, OUT or OPTIONAL if _NO_W32_PSEUDO_MODIFIERS. *include/ddk/batclass.h: Comment out IN, OUT and OPTIONAL, throughout. *include/ddk/cfgmgr32.h: Likewise. *include/ddk/ddkmapi.h: Likewise. *include/ddk/hidclass.h: Likewise. *include/ddk/hidpi.h: Likewise. *include/ddk/kbdmou.h: Likewise. *include/ddk/mcd.h: Likewise. *include/ddk/miniport.h: Likewise. *include/ddk/minitape.h: Likewise. *include/ddk/ndis.h: Likewise. *include/ddk/ndistapi.h: Likewise. *include/ddk/ndiswan.h: Likewise. *include/ddk/ntapi.h: Likewise. *include/ddk/ntdd8042.h: Likewise. *include/ddk/ntddpcm.h: Likewise. *include/ddk/ntifs.h: Likewise. *include/ddk/ntpoapi.h: Likewise. *include/ddk/parallel.h: Likewise. *include/ddk/pfhook.h: Likewise. *include/ddk/scsiwmi.h: Likewise. *include/ddk/smbus.h: Likewise. *include/ddk/srb.h: Likewise. *include/ddk/storport.h: Likewise. *include/ddk/tdikrnl.h: Likewise. *include/ddk/upssvc.h: Likewise. *include/ddk/usbcamdi.h: Likewise. *include/ddk/usbscan.h: Likewise. *include/ddk/video.h: Likewise. *include/ddk/videoagp.h: Likewise. *include/ddk/win2k.h: Likewise. *include/ddk/winddi.h: Likewise. *include/ddk/winddk.h: Don't define IN, OUT or OPTIONAL if _NO_W32_PSEUDO_MODIFIERS. Comment out IN, OUT and OPTIONAL, throughout. *include/ddk/winnt4.h: Comment out IN, OUT and OPTIONAL, throughout. *include/ddk/ws2san.h: Likewise.
Danny Smith
2006-06-12 00:55:06 +0000
0a253b906e2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-10 20:48:15 +0000
12e576d9a02006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-10 15:28:04 +0000
ca107fd2312006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-10 12:31:17 +0000
afc7f32e1b2006-06-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-10 11:45:41 +0000
8beb2fc95a2006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-10 01:45:58 +0000
7e516592902006-06-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-09 23:53:06 +0000
31660e227c2006-06-08 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-08 21:16:20 +0000
6d153d4ebb2006-06-08 Fred Fish <fnf@specifix.com>
Jeff Johnston
2006-06-08 16:13:11 +0000
d1373080cb2006-06-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-06-08 16:10:12 +0000
951543148eWhitespace fixes.
DJ Delorie
2006-06-07 23:30:11 +0000
e1e5148c042006-06-07 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell
2006-06-07 22:33:16 +0000
b5b6cbd8ec2006-06-07 Fred Fish <fnf@specifix.com>
Jeff Johnston
2006-06-07 19:22:59 +0000
3cc3705ca02006-06-07 Fred Fish <fnf@specifix.com>
Jeff Johnston
2006-06-07 19:20:04 +0000
cfc2f9e377Missed uuid.c on last commit
Chris Sutcliffe
2006-06-07 17:10:50 +0000
5fdcdd00232006-06-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-07 17:09:44 +0000
9b15ac90542006-06-05 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-06-06 15:41:10 +0000
c281fc320f[ gas/ChangeLog ] * config/tc-mips.c (ISA_SUPPORTS_DSP64): New macro. (CPU_HAS_MIPS3D, CPU_HAS_MDMX, CPU_HAS_DSP, CPU_HAS_MT): Delete. (macro_build): Update comment. (mips_ip): Allow DSP64 instructions for MIPS64R2. (mips_after_parse_args): Remove uses of CPU_HAS_MIPS3D and CPU_HAS_MDMX. (mips_cpu_info): Fix formatting. Add MIPS_CPU_ASE_MIPS3D and MIPS_CPU_ASE_MDMX flags for sb1.
Thiemo Seufer
2006-06-06 10:49:48 +0000
512c2879a42006-06-05 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-06-05 20:19:55 +0000
986b5d22462006-06-05 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-06-05 20:15:23 +0000
9eedc2e624Fix format typo.
Jeff Johnston
2006-06-05 19:46:40 +0000
4c602151f22006-06-05 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-06-05 19:46:18 +0000
6ea486a6df2006-06-05 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-06-05 19:45:08 +0000
9a9ac027e82006-06-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-06-05 17:45:48 +0000
2e7c576aa72006-06-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-06-05 17:42:57 +0000
9042dfec74[ gas/ChangeLog ] * config/tc-mips.c (macro_build): Use INSERT_OPERAND wherew appropriate. (mips16_macro_build): Use MIPS16_INSERT_OPERAND where appropriate. (mips_ip): Make overflowed/underflowed constant arguments in DSP and MT instructions a fatal error. Use INSERT_OPERAND where appropriate. Improve warnings for break and wait code overflows. Use symbolic constant of OP_MASK_COPZ. (mips16_ip): Use MIPS16_INSERT_OPERAND where appropriate.
Thiemo Seufer
2006-06-05 16:28:36 +0000
f805ef4929ChangeLog amendment for entries dated 2006-04-18 by Thorsten Dahlheimer
Keith Marshall
2006-06-04 21:42:56 +0000
c0ac34fda0* ioctl.cc (ioctl): Accommodate change in reported pty master device number. * select.cc (peek_pipe): Ditto.
Christopher Faylor
2006-06-04 20:32:58 +0000
e73b03adcc2006-06-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-04 15:37:31 +0000
d97183b48e* cygtls.h (CYGTLS_PADSIZE): Reset to a size that XP SP1 seems to like. * tlsoffsets.h: Regenerate.
Christopher Faylor
2006-06-04 05:12:38 +0000
0c58e0b303fix wording
Christopher Faylor
2006-06-03 22:13:28 +0000
c76ca04746* cygthread.cc (cygthread::terminate_thread): In debugging output, use name of thread being terminated rather than thread doing terminating. * fhandler.h (fhandler_pty_master::slave): Delete. (fhandler_pty_master::get_unit): Ditto. (fhandler_pty_master::setup): Change argument declaration to accommodate new usage. * fhandler_tty.cc (fhandler_tty_master::init): Remove obsolete slave assignment. Pass argument to setup indicating that this is a tty. (fhandler_tty_slave::open): Use dev() method rather than referencing pc.dev directly. (fhandler_pty_master::open): Don't create archetype based on ptym device number. Set device number to use DEV_TTYM_MAJOR and tty number. Pass argument to setup indicating that this is a pty. (fhandler_pty_master::setup): Change single argument to a flag indicating whether we're creating a pty and use appropriately. Calculate 't' variable here rather than in caller. * fhandler_dsp.cc (fhandler_dev_dsp::open): Use dev() method rather than referencing pc.dev directly.
Christopher Faylor
2006-06-03 21:44:01 +0000
71d59a926f* dcrt0.cc (dll_crt0_0): Call tty_list::init_session here. (dll_crt0_1): Reflect renaming from tty_init to tty::init_session. (do_exit): Reflect moving of tty_terminate into tty_list. * exceptions.cc (events_init): Move tty_mutex stuff elsewhere. * fhandler_console.cc (set_console_title): Use lock_ttys class. * fhandler_termios.cc (fhandler_termios::bg_check): Make debug output more accurate. * fhandler_tty.cc (fhandler_tty_slave::open): Reflect move of attach_tty into tty_list class. Don't attempt to grab master end of pty if master doesn't exist. (fhandler_pty_master::open): Reflect move of allocate_tty into tty_list class. Use lock_ttys::release to release mutex. Improve debugging output. (fhandler_pty_master::setup): Remove if 0'ed block. Fix argument to SetNamedPipeHandleState. * pinfo.cc (_pinfo::set_ctty): Lock ttys before setting sid/pgid. Improve debugging. Add temporary debugging. * tty.cc (tty_list::init_session): New function. (tty::init_session): Rename from tty_init. Reflect move of attach_tty to tty_list class. (tty::create_master): Rename from create_tty_master. (tty_list::attach): Rename from attach_tty. Reflect renaming of connect_tty to connect. Ditto for allocate_tty. (tty_terminate): Delete. (tty_list::terminate): Subsume tty_terminate. Use lock_ttys rather than manipulating mutex directly. (tty_list::allocate): Rename from allocate_tty. Use lock_ttys rather than manipulating mutex directly. Don't set sid here since linux apparently doesn't do this. Reflect move of create_tty_master into tty. (lock_ttys::lock_ttys): Define new constructor. (lock_ttys::release): New function. * tty.h (tty::exists): Return false immediately if !master_pid. (tty::set_master_closed): Define new function. (tty::create_master): Ditto. (tty::init_session): Ditto. (tty_list::mutex): New field. (tty_list::allocate): Define new function. (tty_list::connect): Ditto. (tty_list::attach): Ditto. (tty_list::init_session): Ditto. (lock_ttys): New class. (tty_init): Delete declaration. (tty_terminate): Ditto. (attach_tty): Ditto. (create_tty_master): Ditto.
Christopher Faylor
2006-06-03 20:32:07 +0000
a615ed8023Expand ChangeLog entry
Chris Sutcliffe
2006-06-03 19:32:21 +0000
bc78e8bc6a* Makefile.in (libdl.a): New library.
Christopher Faylor
2006-06-03 15:48:30 +0000
14de7c29ed* include/strmif.h (VMRDeinterlaceTech): Correct typedef for DeinterlaceTech_* enum.
Danny Smith
2006-06-03 10:37:39 +0000
9cb94923ec* include/strmif.h (enum tagAnalogVideoStandard): Add missing ','.
Danny Smith
2006-06-03 10:08:07 +0000
5f0b1578742006-06-02 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith
2006-06-03 07:42:52 +0000
daff15870e* fhandler_tty.cc (fhandler_pty_master::close): Don't close handles if we don't own them. (fhandler_pty_master::setup): Make sure that original handle is closed when changing inheritance. (fhandler_pty_master::fixup_after_fork): Set from_master/to_master to arch value always. (fhandler_pty_master::fixup_after_exec): Clear from_master/to_master when close_on_exec.
Christopher Faylor
2006-06-03 07:17:53 +0000
578e142a2b* cygheap.cc (init_cygheap::close_ctty): Remove obsolete code. * dcrt0.cc (child_info_spawn::handle_spawn): Signal ready after we've run fixup_after_exec. * dtable.cc (dtable::fixup_after_exec): Add debugging output. * fhandler_tty.cc (fhandler_pty_master::doecho): Use class version of to_master. (fhandler_tty_common::close): Remove obsolete code. (fhandler_tty_slave::fixup_after_exec): Don't close, since this is done in dtable's fixup_after_exec. (revisit later?) (fhandler_pty_master::fixup_after_exec): Ditto.
Christopher Faylor
2006-06-03 06:35:10 +0000
6210ee96ec(check in missing ChangeLog lines) * tlsoffsets.h: Regenerate. * dcrt0.cc (break_here): Define unconditionally for use elsewhere. Call DebugBreak, if appropriate. (initial_env): Rely on break_here() to call DebugBreak. * exceptions.cc (try_to_debug): Ditto.
Christopher Faylor
2006-06-03 03:01:28 +0000
35016286da* cygtls.h (CYGTLS_PADSIZE): Bump up or suffer a regrettable collision with the call chain.
Christopher Faylor
2006-06-03 02:58:59 +0000
3feae7b1162006-06-02 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-06-02 18:09:24 +0000
3378bdfc0a* fhandler.cc (fhandler_base::fixup_after_exec): Declare here. * fhandler.h (fhandler_base::fixup_after_exec): Make non-inline. (fhandler_termios::fixup_after_fork): Delete declaration. (fhandler_termios::fixup_after_exec): Ditto. (fhandler_tty_common::inuse): Remove. (fhandler_tty_common::dup): Delete declaration. (fhandler_tty_common::fixup_after_fork): Ditto. (fhandler_tty_slave::fixup_after_exec): Declare new function. (fhandler_pty_master::dwProcessId): New variable. (fhandler_pty_master::from_master): Ditto. (fhandler_pty_master::to_master): Ditto. (fhandler_pty_master::setup): New function. (fhandler_pty_master::fixup_after_fork): Ditto. (fhandler_pty_master::fixup_after_exec): Ditto. * fhandler_termios.cc (fhandler_termios::fixup_after_exec): Delete definition. (fhandler_termios::fixup_after_fork): Ditto. * fhandler_tty.cc (fhandler_tty_master::init): Use fhandler_pty_master setup function rather than obsolete tty::common_init. Delete obsolete inuse setting. (fhandler_tty_slave::fhandler_tty_slave): Set inuse to NULL here. (fhandler_tty_slave::open): Change debugging output for clarity. Check for different things when doing a sanity check on the tty. Reflect the fact that master_pid now is the cygwin pid rather than the windows pid. Use "arch" rather than "archetype" for consistency. (fhandler_tty_slave::close): Close inuse here. (fhandler_tty_slave::dup): Remove old if 0'ed code. (fhandler_pty_master::dup): New function. Handles pty master archetype. (fhandler_pty_master::fhandler_pty_master): Zero pty_master specific fields. (fhandler_pty_master::open): Implement using archetypes, similar to slave. Use fhandler_pty_master setup function rather than obsolete tty::common_init. Don't set inuse. (fhandler_tty_common::close): Don't deal with inuse. Delete old if 0'ed code. (fhandler_pty_master::close): Implement using archetypes. Close from_master and to_master. (fhandler_tty_common::set_close_on_exec): Just set close_on_exec flag here since everything uses archetypes now. (fhandler_tty_common::fixup_after_fork): Delete definition. (fhandler_tty_slave::fixup_after_exec): Define new function. (fhandler_pty_master::setup): New function, derived from tty::common_init. (fhandler_pty_master::fixup_after_fork): New function. (shared_info.h): Reset SHARED_INFO_CB to reflect new tty size. * tty.cc (tty_list::terminate): Close individual handles from tty_master. (tty::master_alive): Delete. (tty::make_pipes): Ditto. (tty::common_init): Ditto. * tty.h (tty::from_slave): Delete. (tty::to_slave): Ditto. (tty::common_init): Delete declaration. (tty::make_pipes): Ditto. (tty::master_pid): Define as pid_t since it is now a cygwin pid.
Christopher Faylor
2006-06-02 15:41:34 +0000
5d897c0f5cAdd faq.setup.automated
Joshua Daniel Franklin
2006-06-02 04:36:48 +0000
3d4beb5344Replace references to depracated Win32_Winsock macro with __USE_W32_WINSOCK
Joshua Daniel Franklin
2006-06-02 04:35:26 +0000
2346864a45* cygheap.cc (cygheap_fixup_in_child): Don't close parent handle here. Let the caller do that. * dcrt0.cc (child_info_spawn::handle_spawn): Close parent handle here to allow fixup_after_exec functions to use it. * cygtls.cc (_cygtls::call2): Avoid calling exit thread if called with *crt0_1 functions. * cygtls.h (_cygtls::isinitialized): Check that we actually have a tls before seeing if it is initialized. * gendef (_sigfe_maybe): Ditto. * dcrt0.cc (dll_crt0_1): Remove static, use just one argument. * dll_init.cc (dllcrt0_info): New structure. (dll_dllcrt0): Change into a front-end to renamed dll_dllcrt0_1 so that we'll always be assured of having something like a tls. (dll_dllcrt0_1): New function, basically renamed from from dll_dllcrt0. Unconditionally call _my_tls.init_exception_handler now that we are assured of having a tls. Change variable name from "linking" to "linked". * winsup.h (dll_crt0_1): Declare. (dll_dllcrt0_1): Ditto.
Christopher Faylor
2006-06-02 00:09:50 +0000
3e1290a305merge from gcc
DJ Delorie
2006-06-01 14:57:47 +0000
022c1ffc94include/elf/
H.J. Lu
2006-06-01 05:40:24 +0000
f15f78bf55* texi2pod.pl: Correct handling of absolute @include.
Daniel Jacobowitz
2006-05-31 15:47:48 +0000
0505defa4aConfigury changes: update src repository (binutils, gdb, and rda) to use config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all affected autotools files. Include intl in gdb releases again.
Daniel Jacobowitz
2006-05-31 15:14:35 +0000
6e0acd84f7Expand wildcards in Dimitri Papadopoulos Changelog entries of: 2006-05-11, 2006-05-10, 2006-05-04, 2006-04-28, 2006-04-11, 2006-04-14, 2006-04-07.
Danny Smith
2006-05-31 06:44:59 +0000
a2b6c06546* cygtls.cc (_cygtls::call2): Don't call ExitThread on the main thread.
Christopher Faylor
2006-05-31 02:14:17 +0000
08a968173b* winsup.api/cygload.h: Increase padding to 32768.
Christopher Faylor
2006-05-31 01:49:02 +0000
47e55476be2006-05-30 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-05-30 17:40:47 +0000
56057f0394* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.
Christopher Faylor
2006-05-29 15:51:18 +0000
eb285e115c* sigproc.cc (child_info::proc_retry): Mask all of the bits we're interested in, which includes bits above and below 0xc0000000.
Christopher Faylor
2006-05-29 00:21:58 +0000
67ffc3c415Put an underscore in front of the "active" in "strace.active".
Christopher Faylor
2006-05-28 21:39:37 +0000
34f5d0879cwhite space
Christopher Faylor
2006-05-28 15:50:14 +0000
29d1e62ed2* dll_init.cc (dll_dllcrt0): Previous change didn't work very well with fork. Semi-revert it but change name of variable to something that makes better sense.
Christopher Faylor
2006-05-27 22:55:58 +0000
17fed6fefc* thread.cc (verifyable_object_isvalid): Check for NULL specifically.
Christopher Faylor
2006-05-27 19:00:36 +0000
939f16acf2add missing comment
Christopher Faylor
2006-05-27 18:53:36 +0000
344be4a719* dll_init.cc (dll_dllcrt0): Call _my_tls.init_exception_handler if we've finished initializing (Thanks to Gary Zablackis for noticing this problem). Just use cygwin_finished_initializing rather than defining a separate variable.
Christopher Faylor
2006-05-27 18:50:04 +0000
ee99fad350bfd/ * elf.c (assign_file_positions_for_load_sections): Retrieve maxpagesize from m->p_align if it is valid. Set p_vaddr, p_paddr and p_align earlier. Revert 2006-05-19 change to p_align. (copy_elf_program_header): Copy p_align. Set p_align_valid. include/elf/ * internal.h (elf_segment_map): Add p_align and p_align_valid.
Alan Modra
2006-05-27 00:47:45 +0000
ee783ed2a3* src-release (DEVO_SUPPORT): Add config.rpath.
Daniel Jacobowitz
2006-05-25 17:21:33 +0000
6b9a380455Expand 2006-05-03 Dimitri Papadopoulos wildcards in Changelog
Danny Smith
2006-05-25 09:19:26 +0000
1d37045968Expand 2006-05-02 Dimitri Papadopoulos wildcards in Changelog
Danny Smith
2006-05-25 09:04:55 +0000
fed9f6504cinclude/opcodes/ * m68k.h (mcf_mask): Define.
Richard Sandiford
2006-05-25 08:09:03 +0000
5544eee7922006-05-25 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2006-05-25 08:01:03 +0000
3cd94e0c0a* debug.h (ModifyHandle): Define new macro. (modify_handle): Declare new function. * debug.cc (modify_handle): Define new function. * fhandler.h (fhandler_base::fork_fixup): Change return value from void to bool. * fhandler.cc (fhandler_base::fork_fixup): Return true if fork fixup has been done. * pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance of protected handle via ModifyHandle if DEBUGGING. (fhandler_pipe::fixup_after_fork): Protect guard handle if fork fixup has been done.
Christopher Faylor
2006-05-25 05:40:51 +0000
38229bcdcf* cygtls.cc (_cygtls::call): Call call2 using _my_tls. (_cygtls::init_exception_handler): Always replace existing exception handler with cygwin exception handler. * cygtls.h (_cygtls::call2): Remove static designation. * dcrto.cc (dll_crt0_1): Define in a way that allows calling via _cygtls::call. (_initialize_main_tls): Delete. (_dll_crt0): Call dll_crt0_1 via cygtls::call. Set _main_tls here. * external.cc (cygwin_internal): Implement CW_CYGTLS_PADSIZE. * include/sys/cygwin.h (CW_CYGTLS_PADSIZE): Define. * tlsoffsets.h: Regenerate.
Christopher Faylor
2006-05-25 02:33:13 +0000
99fc5e10f3update to newer autoconf
Christopher Faylor
2006-05-24 16:59:03 +0000
6265ac10be* strace.cc (proc_child): Propagate return code from child process. (dostrace): Ditto. (main): Ditto.
Christopher Faylor
2006-05-24 16:50:50 +0000
89af1688efEnable gprof for cross builds.
Mark Shinwell
2006-05-24 13:55:10 +0000
c164c0d078Add TLS support for hppa-linux
Nick Clifton
2006-05-24 11:05:42 +0000
b9b4047245Add support for AVR6 family
Nick Clifton
2006-05-24 07:36:11 +0000
12a7d844b9* select.cc (start_thread_socket): Delay setting thread local exitsock until we know it's correct. Return correct value on error.
Christopher Faylor
2006-05-24 03:39:29 +0000
9905786a04* select.cc (start_thread_socket): Clean up exitsock in case of error. Use si->exitcode consistently.
Christopher Faylor
2006-05-24 00:56:24 +0000
f383bda56a2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-05-23 20:30:48 +0000
8eeee74e952006-05-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-05-23 19:57:31 +0000
13220d1a702006-05-23 Fred Fish <fnf@specifix.com>
Jeff Johnston
2006-05-23 19:54:37 +0000
42e7baffec2006-05-23 Fred Fish <fnf@specifix.com>
Jeff Johnston
2006-05-23 19:17:05 +0000
c57dce46972006-05-22 Steve Ellcey <sje@cup.hp.com>
Steve Ellcey
2006-05-22 15:30:13 +0000
6813f009ba* child_info.h (_CI_SAW_CTRL_C): New enum. (CURR_CHILD_INFO_MAGIC): Reset. (saw_ctrl_c): New function. (set_saw_ctrl_c): Ditto. * sigproc.cc (child_info::proc_retry): Return EXITCODE_OK if we get STATUS_CONTROL_C_EXIT and we actually saw a CTRL-C. * spawn.cc (dwExeced): Delete. (chExeced): New variable. (spawn_guts): Set chExeced; * exceptions.cc (dwExeced): Delete declaration. (chExeced): Declare. (ctrl_c_handler): Detect if we're an exec stub process and set a flag, if so. * fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Add extra DEBUGGING test. * pinfo.cc: Fix comment.
Christopher Faylor
2006-05-22 04:50:54 +0000
8ae1d98d8e* fhandle.h (fhandler_pipe::create_guard): Revert change which eliminated SECURITY_ATTRIBUTES argument. * pipe.cc (fhandler_pipe::open): Duplicate guard from other process and protect it appropriately. Eliminate unneeded writepipe_exists temporary variable. Set inheritance appropriately. (fhandler_pipe::set_close_on_exec): Revert change which eliminated handling guard inheritance. (fhandler_pipe::fixup_after_fork): Ditto. Use correct name of entity being checked by fork_fixup. (fhandler_pipe::fixup_after_exec): Don't bother with guard here. (fhandler_pipe::dup): Cosmetic changes and revert creation of writepipe_exists as noninheritable. (fhandler_pipe::create): Revert change which eliminated SECURITY_ATTRIBUTES argument. Revert change which always made writepipe_exists noninheritable.
Christopher Faylor
2006-05-21 21:02:52 +0000
9c9959a512check in missing file
Christopher Faylor
2006-05-21 17:27:14 +0000
8633e245b5* lib/uuid.c (IID_IRpcProxyBuffer34): Remove definition.
Danny Smith
2006-05-21 10:28:13 +0000
b7dd7dfcf3typo
Christopher Faylor
2006-05-21 05:37:24 +0000
b040009ecf* debug.cc (add_handle): Print handle value when collision detected. * dtable.cc (dtable::stdio_init): Cosmetic change. * fhandler.h (fhandler_base::create_read_state): Protect handle. (fhandler_pipe::create_guard): Ditto. Always mark the handle as inheritable. (fhandler_pipe::is_slow): Return boolean value rather than numeric 1. * pipe.cc (fhandler_pipe::fhandler_pipe): Always flag that we need fork fixup. (fhandler_pipe::open): Don't pass security attributes to create_guard. (fhandler_pipe::set_close_on_exec): Don't handle guard here. (fhandler_pipe::close): Accommodate now-protected guard handle. (fhandler_pipe::fixup_in_child): Don't proected read_state here. (fhandler_pipe::fixup_after_exec): Close guard handle if close_on_exec. (fhandler_pipe::fixup_after_fork): Don't bother with guard here. (fhandler_pipe::dup): Don't set res to non-error prematurely. Use boolean values where appropriate. Protect guard and read_state. (fhandler_pipe::create): Don't call need_fork_fixup since it is now the default. Don't protect read_state or guard. * pipe.cc (fhandler_base::ready_for_read): Use bool values for "avail". * spawn.cc (spawn_guts): Set cygheap->pid_handle as inheritable when protecting. * select.cc (fhandler_pipe::ready_for_read): Actually get the guard mutex for blocking reads.
Christopher Faylor
2006-05-21 05:25:49 +0000