]>
sourceware.org Git - newlib-cygwin.git/log
Danny Smith [Thu, 19 Feb 2004 05:46:27 +0000 (05:46 +0000)]
* include/Gl/glu (GLU_ERROR): Define.
Thanks to Philip Lamb <phil at rave dot co dot nz>
Danny Smith [Thu, 19 Feb 2004 03:04:14 +0000 (03:04 +0000)]
* include/Gl/glu.h: Include <stddef.h>.
Thanks to Greg Couch <gregcouch@users.sourceforge.net>
Christopher Faylor [Wed, 18 Feb 2004 22:32:15 +0000 (22:32 +0000)]
* fork.cc (fork_child): Invert sense of test which defeated correct handling in
a fork from a non-main thread.
* dcrt0.cc (initial_env): Eliminate parameter and just send DebugBreak when
appropriate.
(dll_crt0_0): Reflect parameter change to initial_env.
(dll_crt0_1): Don't call initial_env.
Christopher Faylor [Wed, 18 Feb 2004 20:48:38 +0000 (20:48 +0000)]
* gendef (stabilize_sig_stack): New function.
(setjmp): Import, add sig stack handling. Store sig stack info.
(longjmp): Call stabilize_sig_stack. Restore sig stack info.
* config/i386/setjmp.c: Remove.
Corinna Vinschen [Tue, 17 Feb 2004 21:17:25 +0000 (21:17 +0000)]
* fork.cc (fork_child): Move fixup_shms_after_fork so that
signal_arrived is initialized when calling it.
Christopher Faylor [Tue, 17 Feb 2004 20:03:01 +0000 (20:03 +0000)]
* Makefile.in (clean): Clean libserver, too.
* fhandler.cc (fhandler_base::~fhandler_base): Remove path_conv cleanup.
* syscalls.cc (chroot): Ditto.
* path.cc (path_conv::~path_conv): Define new destructor.
(conv_path_list_buf_size): Remove explicit path_conv cleanup.
* path.h (path_conv::~path_conv): Declare new destructor.
Christopher Faylor [Tue, 17 Feb 2004 15:23:29 +0000 (15:23 +0000)]
* Makefile.in: Compile flock.o with -fomit-frame-pointer.
Christopher Faylor [Mon, 16 Feb 2004 21:25:10 +0000 (21:25 +0000)]
* Makefile.in: Compile dlfcn.o with -fomit-frame-pointer.
Christopher Faylor [Mon, 16 Feb 2004 20:30:46 +0000 (20:30 +0000)]
* Makefile.in: Compile delqueue.o with -fomit-frame-pointer.
Corinna Vinschen [Mon, 16 Feb 2004 12:22:14 +0000 (12:22 +0000)]
* cygwinenv.sgml: Add server option description.
Corinna Vinschen [Mon, 16 Feb 2004 11:45:04 +0000 (11:45 +0000)]
* syscalls.cc (rename): Do not test the MoveFile error code
where MoveFileEx exists.
Christopher Faylor [Mon, 16 Feb 2004 02:34:36 +0000 (02:34 +0000)]
correct changelog
Christopher Faylor [Mon, 16 Feb 2004 02:03:54 +0000 (02:03 +0000)]
* cygheap.cc (_csbrk): Report failing condition to stderr rather than strace.
Earnie Boyd [Sun, 15 Feb 2004 09:46:16 +0000 (09:46 +0000)]
* include/w32api.h: Increment version to 3.0.
* Makefile.in: Ditto.
* README.win32api: Modify license to Public Domain per agreement as
found in the mingw-dvlpr list archive.
Christopher Faylor [Sun, 15 Feb 2004 02:44:16 +0000 (02:44 +0000)]
* Makefile.in: Compile syscalls.o with -fomit-frame-pointer.
* sigproc.cc: Eliminate unused variable.
Corinna Vinschen [Sat, 14 Feb 2004 19:43:52 +0000 (19:43 +0000)]
* getopt.c: Replace with latest NetBSD version 1.16. Keep Cygwin
specific changes as minimal as possible.
Corinna Vinschen [Sat, 14 Feb 2004 19:43:07 +0000 (19:43 +0000)]
* ssp.c (opts): Add leading '+' to force posixly correct behaviour.
Christopher Faylor [Sat, 14 Feb 2004 04:58:31 +0000 (04:58 +0000)]
* sigproc.cc (proc_subproc): Change warning back to silent debug output.
Christopher Faylor [Sat, 14 Feb 2004 04:38:37 +0000 (04:38 +0000)]
* dcrt0.cc (alloc_stack_hard_way): Revert to previous implementation.
(alloc_stack): Ditto.
* exceptions.cc (ctrl_c_handler): Add debugging output.
Earnie Boyd [Sat, 14 Feb 2004 01:20:49 +0000 (01:20 +0000)]
* include/ddk/winddk.h (DIRECTORY_QUERY): Add define.
(DIRECTORY_TRAVERSE): Ditto.
(DIRECTORY_CREATE_OBJECT): Ditto.
(DIRECTORY_CREATE_SUBDIRECTORY): Ditto.
(DIRECTORY_ALL_ACCESS): Ditto.
Thanks to Konstantin Stepaniuk <skostia@users.sourceforge.net>
Christopher Faylor [Fri, 13 Feb 2004 19:34:32 +0000 (19:34 +0000)]
* Makefile.in (clean): Remove sigfe.s.
(sigfe.s): Ensure that sigfe.s will be regenerated if it does not exist.
* dll_init.cc (dll_dllcrt0): Simplify initializing tests.
* exceptions.cc (setup_handler): Detect when stub caller is either spinning or
has acquired the lock after being suspended to avoid windows problems with
suspending a win32 API call.
* cygtls.h (_cygtls::spinning): Declare new element.
* gendef: Remove unused _siglist_index and _siglist declaration.
(_sigfe): Set spinning element when potentially looping, waiting for lock.
(_sigbe): Ditto.
(_cygtls::lock): Ditto.
(_longjmp): Ditto.
* tlsoffsets.h: Regenerate.
* pinfo.cc (_pinfo::exit): Set final exit state here. Call sigproc_terminate
if invoked with 'norecord'. Clear any residual _cygtls stuff.
* winsup.h (exit_states): Define ES_FINAL.
* spawn.cc (spawn_guts): Don't call proc_terminate specifically when execing.
Let _pinfo::exit handle that case.
* sigproc.cc (wait_subproc): Always exit loop early when proc_loop_wait.
* init.cc (munge_threadfunc): Eliminate unused argument.
(dll_entry): Reflect above change in call to munge_threadfunc.
Christopher Faylor [Thu, 12 Feb 2004 04:55:29 +0000 (04:55 +0000)]
* gendef (_sigbe): Zero location on pop.
(_cygtls::pop): Ditto.
Christopher Faylor [Thu, 12 Feb 2004 03:07:35 +0000 (03:07 +0000)]
* dcrt0.cc (alloc_stack_hard_way): Eliminate second argument.
(alloc_stack): Remove use of 'b' throughout.
Christopher Faylor [Thu, 12 Feb 2004 03:01:58 +0000 (03:01 +0000)]
Rename _threadinfo to _cygtls, throughout.
* cygtls.h (_cygtls::call_signal_handler): Rename from call_signal_handler_now.
(_cygtls::push): Make second argument mandatory.
(_cygtls::fixup_after_fork): Declare new function.
(_cygtls::lock): Ditto.
* cygtls.cc (_cygtls::fixup_after_fork): Define new function.
* dcrt0.cc (cygwin_finished_initializing): Define as bool.
(alloc_stack): Use _tlstop rather than arbitrary variable in probably vain
attempt to avoid strange fork problem on CTRL-C.
(dll_crt0_0): Remove obsolete winpids::init call.
* dll_init.cc (dll_dllcrt0): Detect forkee condition as equivalent to
initializing.
* winsup.h (cygwin_finished_initializing): Declare as bool.
* exceptions.cc (handle_exceptions): Rely on cygwin_finished_initializing to
determine how to handle exception during process startup.
(_cygtls::call_signal_handler): Rename from call_signal_handler_now.
(_cygtls::interrupt_now): Fill in second argument to push.
(signal_fixup_after_fork): Eliminate.
(setup_handler): Initialize locked to avoid potential inappropriate unlock.
Resume thread if it has acquired the stack lock.
(ctrl_c_handler): Just exit if ctrl-c is hit before cygiwn has finished
initializing.
* fork.cc (sync_with_child): Don't call abort since it can cause exit
deadlocks.
(sync_with_child): Change debugging output slightly.
(fork_child): Set cygwin_finished_initializing here. Call _cygtls fork fixup
and explicitly call sigproc_init.
(fork_parent): Release malloc lock on fork failure.
(vfork): Call signal handler via _my_tls.
* sigproc.cc (sig_send): Ditto.
* syscalls.cc (readv): Ditto.
* termios.cc (tcsetattr): Ditto.
* wait.cc (wait4): Ditto.
* signal.cc (nanosleep): Ditto.
(abort): Ditto.
(kill_pgrp): Avoid killing self if exiting.
* sync.cc (muto::acquire): Remove (temporarily?) ill-advised exiting_thread
check.
* gendef (_sigfe): Be more agressive in protecting stack pointer from other
access by signal thread.
(_cygtls::locked): Define new function.
(_sigbe): Ditto.
(_cygtls::pop): Protect edx.
(_cygtls::lock): Use guaranteed method to set eax to 1.
(longjmp): Aggressively protect signal stack.
* miscfuncs.cc (low_priority_sleep): Reduce "sleep time" for secs == 0.
* pinfo.cc (winpids::set): Counterintuitively use malloc's lock to protect
simultaneous access to the pids list since there are pathological conditions
which can cause malloc to call winpid.
(winpids::init): Eliminate.
* pinfo.h (winpids::cs): Eliminate declaration.
* pinfo.h (winpids::init): Eliminate definition.
Danny Smith [Thu, 12 Feb 2004 00:20:30 +0000 (00:20 +0000)]
* include/basetypes.h (_REFIID_DEFINED): Correct typo.
* include/winuser.h (NCCALCSIZE_PARAMS): Define structure.
Thanks to Mike Nordell <tamlin at algonet dot se>.
Danny Smith [Wed, 11 Feb 2004 19:57:58 +0000 (19:57 +0000)]
* lib/dnsapi.a: New file.
* lib/test.c: Include windns,h.
Danny Smith [Wed, 11 Feb 2004 19:54:28 +0000 (19:54 +0000)]
2004-02-11 Pierre A. Humblet <Pierre.Humblet@ieee.org>
* include/windns.h: New file.
Danny Smith [Wed, 11 Feb 2004 19:48:22 +0000 (19:48 +0000)]
* include/sqlucode.h (SQLGetStmtAttr[AW]): Remove duplicate
defines.
(SQLSetStmtAttr[AW]): Move into ODBCVER >= 0x0300 block.
(SQLSetDescFieldW): Correct prototype.
(SQLSetDescFieldA): Add prototype.
(SQLGetDescFieldW): Add prototype.
Danny Smith [Wed, 11 Feb 2004 19:46:21 +0000 (19:46 +0000)]
2004-02-11 Pat Thoyts <patthoyts@users.sourceforge.net>
* include/winuser.h (DFC_POPUPMENU): Add define.
Corinna Vinschen [Wed, 11 Feb 2004 17:54:34 +0000 (17:54 +0000)]
* security.cc (get_nt_object_attribute): Fix error handling.
DJ Delorie [Wed, 11 Feb 2004 17:52:06 +0000 (17:52 +0000)]
* configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
DJ Delorie [Wed, 11 Feb 2004 17:50:38 +0000 (17:50 +0000)]
* configure.in (host): Add in missing $noconfigdirs to defines.
* configure: Regenerate.
Corinna Vinschen [Wed, 11 Feb 2004 13:30:02 +0000 (13:30 +0000)]
* strace.cc (opts): Add leading '+' to force posixly correct
behaviour.
(main): Revert POSIXLY_CORRECT manipulations.
Joshua Daniel Franklin [Wed, 11 Feb 2004 04:10:47 +0000 (04:10 +0000)]
* utils.sgml: Update cygcheck options
Christopher Faylor [Wed, 11 Feb 2004 00:47:52 +0000 (00:47 +0000)]
* libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
* libm/mathfp/er_lgamma.c (lgamma): Ditto.
* libm/mathfp/erf_gamma.c (gammaf): Ditto.
* libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
Christopher Faylor [Wed, 11 Feb 2004 00:29:42 +0000 (00:29 +0000)]
* strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
DJ Delorie [Tue, 10 Feb 2004 17:57:02 +0000 (17:57 +0000)]
2004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
Nathanael Nerode <neroden@gcc.gnu.org>
PR ada/6637, PR ada/5911
Merge with libada-branch:
* configure.in, Makefile.tpl, Makefile.def: Add target-libada,
with appropriate dependencies. Add --enable-libada configure switch.
* configure, Makefile.in: Regenerate.
Christopher Faylor [Tue, 10 Feb 2004 16:15:53 +0000 (16:15 +0000)]
* strace.cc: Update copyrights.
* cygcheck.cc: Update copyrights.
Christopher Faylor [Tue, 10 Feb 2004 16:01:31 +0000 (16:01 +0000)]
* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
* cygcheck.cc (main): Ditto.
Christopher Faylor [Mon, 9 Feb 2004 22:56:46 +0000 (22:56 +0000)]
* libc/include/time.h (TIMER_RELTIME): New define.
Jeff Johnston [Mon, 9 Feb 2004 21:47:47 +0000 (21:47 +0000)]
2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
* libc/stdlib/Makefile.in: Regenerated.
Nick Clifton [Mon, 9 Feb 2004 12:15:57 +0000 (12:15 +0000)]
Add support for relaxing the 32bit ldc/stc instructions.
Corinna Vinschen [Mon, 9 Feb 2004 11:30:57 +0000 (11:30 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Add FIONREAD handling.
Christopher Faylor [Mon, 9 Feb 2004 04:04:24 +0000 (04:04 +0000)]
* debug.h (console_printf): Define for non-debugging condition.
* cygtls.h (_threadinfo::lock): Remove wait argument.
(_threadinfo::interrupt_setup): Remove retaddr argument.
* exceptions.cc (_threadinfo::interrupt_setup): Ditto.
(_threadinfo::interrupt_now): Accommodate change to interrupt_setup argument.
(setup_handler): Ditto. Always lock sig stack prior to determining interrupt
method.
* gendef (_sigfe): Correct thinko regarding cmpxchg.
(_sigbe): Ditto.
(_threadinfo::lock): Ditto.
(_threadinfo::pop): Eliminate left-over stack unlock.
* sigproc.cc (proc_subproc): Chnage debugging output to printed warning.
Christopher Faylor [Mon, 9 Feb 2004 02:22:01 +0000 (02:22 +0000)]
* libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
* libc/include/sys/reent.h (__getreent): Protect against possibly being
defined.
* libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
Christopher Faylor [Sun, 8 Feb 2004 19:59:27 +0000 (19:59 +0000)]
* localtime.cc (localtime_r): Call tzset.
* Makefile.in: Make version.h/cygwin.din version check a warning since it is
not foolproof.
* cygheap.h (CYGHEAPSIZE): Bump size down.
* cygtls.h (_threadinfo::stacklock): New element.
(_threadinfo::pop): Make regparm.
(_threadinfo::lock): New function.
(_threadinfo::unlock): New function.
* cygtls.cc (_threadinfo::push): Wait for a lock on the stack before performing
the operation.
(_threadinfo::pop): Move to another file.
* cygwin.din: More SIGFE changes.
* exceptions.cc (try_to_debug): Always display messages on console.
(handle_exceptions): Unwind stack only when actually about to call sig_send.
(setup_handler): Lock stack prior to performing any operations.
* gendef (_sigfe): Ditto.
(_sigbe): Ditto.
(_threadinfo::pop): Ditto. Move here.
* gen_tlsoffsets: Generate positive offsets.
* tlsoffsets.h: Regenerate.
Corinna Vinschen [Sat, 7 Feb 2004 10:47:39 +0000 (10:47 +0000)]
* bsd_mutex.cc (win_priority): Move to msleep helper function section.
(set_priority): Ditto. Fix formatting.
(_msleep): Cleanup obj formatting. Rearrange obj order.
Danny Smith [Sat, 7 Feb 2004 08:54:03 +0000 (08:54 +0000)]
2004-02-07 Dan Aloni <da-x@gmx.net>
* lib/ddk/ntoskrnl.def (KeSetTimer,KeSetTimerEx): Correct
suffix.
Corinna Vinschen [Fri, 6 Feb 2004 16:25:58 +0000 (16:25 +0000)]
* bsd_mutex.cc (_msleep): Handle PCATCH using signal_arrived event.
* client.cc: Include sigproc.h.
* msg.cc (client_request_msg::serve): Accomodate third parameter to
process::process.
* sem.cc (client_request_sem::serve): Ditto.
* shm.cc (client_request_shm::serve): Ditto.
* process.cc (process::process): Duplicate signal_arrived into
Cygserver process space.
(process::~process): Close _signal_arrived handle.
(process_cache::process): Add signal_arrived handling.
* process.h (process::process): Add signal_arrived parameter.
(process:signal_arrived): New read accessor.
(process:_signal_arrived): New member.
(process_cache::process): Add signal_arrived parameter.
Corinna Vinschen [Fri, 6 Feb 2004 16:18:59 +0000 (16:18 +0000)]
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
* cygserver_ipc.h (struct proc): Add signal_arrived member.
(ipc_set_proc_info): Inititalize blk.signal_arrived.
Corinna Vinschen [Fri, 6 Feb 2004 10:37:37 +0000 (10:37 +0000)]
* uinfo.cc (cygheap_user::init): Use sec_user_nih to build a
security descriptor. Set both the process and the default DACLs.
* fork.cc (fork_parent): Use sec_none_nih security attributes.
* spawn.cc (spawn_guts): Ditto.
DJ Delorie [Fri, 6 Feb 2004 00:50:48 +0000 (00:50 +0000)]
2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in: Don't pass --with-stabs on IRIX 5 either.
* configure: Regenerate.
Jeff Johnston [Thu, 5 Feb 2004 20:21:03 +0000 (20:21 +0000)]
Remove fixme comment for __arm__ added with last patch.
Jeff Johnston [Thu, 5 Feb 2004 20:08:52 +0000 (20:08 +0000)]
2004-02-05 Paul Brook <paul@codesourcery.com>
* libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
Christopher Faylor [Thu, 5 Feb 2004 19:57:03 +0000 (19:57 +0000)]
* cygwin.din: Make many more functions SIGFE.
* include/cygwin/version.h (CYGWIN_VERSION_SHARED_DATA): Bump.
Corinna Vinschen [Thu, 5 Feb 2004 17:23:19 +0000 (17:23 +0000)]
* security.h (SID): New macro.
(well_known_*_sid): Change type to cygpsid.
(cygsid::init): Delete declaration.
* sec_helper.cc (well_known_*_sid): Define using above SID macro.
(cygsid::init): Delete.
* dcrt0.cc (dll_crt0_0): Do not call cygsid::init.
* security.cc (get_user_local_groups): Change the second argument type
to cygpsid.
Joshua Daniel Franklin [Thu, 5 Feb 2004 05:00:34 +0000 (05:00 +0000)]
2004-02-04 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* Makefile.in: Generate monolithic faq0.html file.
Danny Smith [Thu, 5 Feb 2004 03:17:46 +0000 (03:17 +0000)]
* mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
NetBSD getopt_long.c.
Danny Smith [Thu, 5 Feb 2004 03:12:15 +0000 (03:12 +0000)]
* mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
codes and handling of special chars.
Christopher Faylor [Wed, 4 Feb 2004 22:40:50 +0000 (22:40 +0000)]
update copyright
Christopher Faylor [Tue, 3 Feb 2004 22:05:02 +0000 (22:05 +0000)]
* tlsoffsets.h: Regenerate.
Christopher Faylor [Tue, 3 Feb 2004 22:04:27 +0000 (22:04 +0000)]
* cygtls.h (_local_storage::signamebuf): Increase size to prevent overflow on
really odd values.
Christopher Faylor [Tue, 3 Feb 2004 21:59:27 +0000 (21:59 +0000)]
* Makefile.in (DLL_OFILES): Add strsig.o.
* cygtls.h (_local_storage::signamebuf) New element.
* sysconf.cc (sysconf): Implement _SC_RTSIG_MAX.
* tlsoffset.h: Regenerate.
* include/limits.h (_POSIX_RTSIG_MAX): New define.
(RTSIG_MAX): Ditto.
* include/cygwin/signal.h (SIGRTMIN): New define.
(SIGRTMAX): Ditto.
(NSIG): Bump.
* strsig.cc: New file.
Christopher Faylor [Tue, 3 Feb 2004 19:41:28 +0000 (19:41 +0000)]
* window.cc (Winmain): Show windows error code in error output when
RegisterClass fails.
Jeff Johnston [Tue, 3 Feb 2004 00:05:49 +0000 (00:05 +0000)]
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update Red Hat license to 2004.
Jeff Johnston [Mon, 2 Feb 2004 22:51:39 +0000 (22:51 +0000)]
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* NEWS: Update with 1.12.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.12.0.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4: Ditto.
* doc/configure: Ditto.
* libc/*/aclocal.m4: Ditto.
* libc/*/configure: Ditto.
* libc/libc.texinfo: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
* libm/libm.texinfo: Ditto.
* libc/sys/linux/shared.ld: Add VERS_1.12.
Christopher Faylor [Mon, 2 Feb 2004 21:00:07 +0000 (21:00 +0000)]
* fhandler.h (*::fixup_after_exec): Eliminate unused handle argument.
* fhandler.h (dtable::fixup_after_exec): Eliminate unused handle argument.
* dcrt0.cc (dll_crt0_1): Reflect elimination of unused handle argument to
fixup_after_exec.
* dtable.cc (dtable::fixup_after_exec): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_exec): Ditto.
* fhandler_dsp.cc (fhandler_dsp::fixup_after_exec): Ditto.
* fhandler_raw.cc (fhandler_raw::fixup_after_exec): Ditto.
* fhandler_socket.cc (fhandler_socket::fixup_after_exec): Ditto.
* fhandler_virtual.cc (fhandler_virtual::fixup_after_exec): Ditto.
* pipe.cc (fhandler_pipe::fixup_after_exec): Ditto.
* spawn.cc (spawn_guts): Do not set ciresrv.parent.
* child_info.h (child_info_spawn::~child_info_spawn): Do not close parent.
Update CURR_CHILD_INFO_MAGIC.
* dcrt0.cc (dll_crt0_0): Do not close spawn_info->parent. Pass NULL to
cygheap->fdtab.fixup_after_exec().
Christopher Faylor [Mon, 2 Feb 2004 20:33:09 +0000 (20:33 +0000)]
Throughout, change name from set_inheritance to set_no_inheritance to better
reflect input arguments of this function.
* cygheap.h (CYGHEAPSIZE): Increase size of cygheap to something closer to the
21st century.
Jeff Johnston [Mon, 2 Feb 2004 16:59:53 +0000 (16:59 +0000)]
2004-02-02 Joel Sherrill <joel@oarcorp.com>
* configure.host: Add support for tic4x.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/machine/tic4x/Makefile.am: New file.
* libc/machine/tic4x/configure.in: Ditto.
* libc/machine/tic4x/setjmp.S: Ditto.
* libc/machine/tic4x/aclocal.m4: Generated.
* libc/machine/tic4x/configure: Ditto.
* libc/machine/tic4x/Makefile.in: Ditto.
Corinna Vinschen [Mon, 2 Feb 2004 10:47:29 +0000 (10:47 +0000)]
* cygerrno.h (set_errno): Replace semicolon with comma in non-DEBUGGING
version to avoid compile time error.
Danny Smith [Mon, 2 Feb 2004 09:18:40 +0000 (09:18 +0000)]
* include/stdio.h (feof): Add inlined definition.
(ferror): Ditto.
Danny Smith [Mon, 2 Feb 2004 05:59:45 +0000 (05:59 +0000)]
* include/oleacc.h (LIBID_Accessibility): Declare.
* lib/uuid.c (LIBID_Accessibility): Define.
Danny Smith [Mon, 2 Feb 2004 05:48:16 +0000 (05:48 +0000)]
* include/winioctl.h ( NTFS_VOLUME_DATA_BUFFER): Add structure.
(FSCTL_GET_NTFS_VOLUME_DATA): Add macro.
Danny Smith [Mon, 2 Feb 2004 05:43:32 +0000 (05:43 +0000)]
* include/commctrl.h (ICC_STANDARD_CLASSES, ICC_LINK_CLASS): Add
defines.
Christopher Faylor [Sun, 1 Feb 2004 18:29:12 +0000 (18:29 +0000)]
* cygerrno.h (set_errno): Set global errno whenever setting thread specific
version.
* debug.cc (__set_errno): Ditto.
* exceptions.cc (handle_sigsuspend): Remove spurious sig_dispatch_pending call.
(set_signal_mask): When there seem to be pending signals to dispatch, tell
signal_dispatch_pending/sig_send not to specifically call any handlers.
* sigproc.h (sig_dispatch_pending): Change declaration to void.
* sigproc.cc (sig_dispatch_pending): Change definition to void. Take an
argument to determine whether to tell sig_send to wait for handler to be
called.
* sigproc.cc (sig_send): Don't call signal handler when sig == __SIGFLUSHFAST.
(wait_sig): Honor __SIGFLUSHFAST. Guard against sigpacket::process nuking
si_signo.
* sigproc.h (__SIGFLUSHFAST): Define new special signal.
(sig_dispatch_pending): Change declaration to void. Take optional boolean
argument.
* fork.cc (vfork): Add debugging output.
Danny Smith [Sun, 1 Feb 2004 02:52:21 +0000 (02:52 +0000)]
* mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
directly, rather than via scabnl.
Danny Smith [Sun, 1 Feb 2004 00:10:17 +0000 (00:10 +0000)]
* mingwex/math/powl.c (powl): Return infinity if
extended precision multiplication of x by log2(y)
overflows.
Danny Smith [Sat, 31 Jan 2004 09:08:15 +0000 (09:08 +0000)]
2004-01-31 Jiri Malak <Jiri.Malak@geac.cz>
* include/winuser.h (RT_MANIFEST): Make conditional on
RC_INVOKED.
(CREATEPROCESS_MANIFEST_RESOURCE_ID,
ISOLATIONAWARE_MANIFEST_RESOURCE_ID,
ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID): Add
defines.
Danny Smith [Sat, 31 Jan 2004 08:44:01 +0000 (08:44 +0000)]
* mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
(__enan_NI16): Fix another one.
(__enan_NBITS): Tidy.
Jeff Johnston [Sat, 31 Jan 2004 00:39:07 +0000 (00:39 +0000)]
2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
file chain on the passed in reentrancy struct if it
is _GLOBAL_REENT.
Jeff Johnston [Fri, 30 Jan 2004 20:44:05 +0000 (20:44 +0000)]
2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston <jjohnstn@redhat.com>
* libc/iconv/iconv.tex: Updated with more information.
Jeff Johnston [Fri, 30 Jan 2004 20:32:04 +0000 (20:32 +0000)]
2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
struct for std streams and traverse the global reeentrancy
struct for all other streams.
Jeff Johnston [Thu, 29 Jan 2004 17:12:36 +0000 (17:12 +0000)]
2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* configure.in: Add support to generate iconv converter flags
for newlib.h
* newlib.hin: Add iconv converter flags.
* configure: Regenerated.
* libc/Makefile.in: Ditto.
* libc/configure.in: Moved iconv converter parsing logic to
top level newlib configure.in.
* libc/configure: Regenerated.
* libc/iconv/Makefile.in: Ditto.
* libc/iconv/README.TODO
* libc/iconv/charset.aliases: Remove wrong BE aliases for
UCS2/UCS4/UTF8.
* libc/iconv/ccs/Makefile.am: Remove C flag setting now that
newlib.h can be used.
* libc/iconv/ces/Makefile.am: Ditto.
* libc/iconv/lib/Makefile.am: Ditto.
* libc/iconv/ccs/Makefile.in: Regenerated.
* libc/iconv/ces/Makefile.in: Ditto.
* libc/iconv/lib/Makefile.in: Ditto.
* libc/iconv/ccs/README.CCS.SOURCES: Updated.
* libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
* libc/iconv/ccs/big5.c: Switch to use new underscored flags
defined in newlib.h.
* libc/iconv/ccs/cns11643_plane1.c: Ditto.
* libc/iconv/ccs/cns11643_plane14.c: Ditto.
* libc/iconv/ccs/cns11643_plane2.c: Ditto.
* libc/iconv/ccs/cp775.c: Ditto.
* libc/iconv/ccs/cp850.c: Ditto.
* libc/iconv/ccs/cp852.c: Ditto.
* libc/iconv/ccs/cp855.c: Ditto.
* libc/iconv/ccs/cp866.c: Ditto.
* libc/iconv/ccs/gb_2312_80.c: Ditto.
* libc/iconv/ccs/iso_8859_1.c: Ditto.
* libc/iconv/ccs/iso_8859_15.c: Ditto.
* libc/iconv/ccs/iso_8859_2.c: Ditto.
* libc/iconv/ccs/iso_8859_4.c: Ditto.
* libc/iconv/ccs/iso_8859_5.c: Ditto.
* libc/iconv/ccs/jis_x0201.c: Ditto.
* libc/iconv/ccs/jis_x0208_1983.c: Ditto.
* libc/iconv/ccs/jis_x0212_1990.c: Ditto.
* libc/iconv/ccs/koi8_r.c: Ditto.
* libc/iconv/ccs/koi8_u.c: Ditto.
* libc/iconv/ccs/ksx1001.c: Ditto.
* libc/iconv/ccs/shift_jis.c: Ditto.
* libc/iconv/ccs/us_ascii.c: Ditto.
* libc/iconv/ccs/binary/big5.cct: Newly generated.
* libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
* libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
* libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
* libc/iconv/ccs/binary/cp775.cct: Ditto.
* libc/iconv/ccs/binary/cp850.cct: Ditto.
* libc/iconv/ccs/binary/cp852.cct: Ditto.
* libc/iconv/ccs/binary/cp855.cct: Ditto.
* libc/iconv/ccs/binary/cp866.cct: Ditto.
* libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
* libc/iconv/ccs/binary/koi8_r.cct: Ditto.
* libc/iconv/ccs/binary/koi8_u.cct: Ditto.
* libc/iconv/ccs/binary/ksx1001.cct: Ditto.
* libc/iconv/ccs/binary/shift_jis.cct: Ditto.
* libc/iconv/ccs/binary/us_ascii.cct: Ditto.
* libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
* libc/iconv/ces/euc-jp.c: Use newlib.h macros.
* libc/iconv/ces/euc-kr.c: Ditto.
* libc/iconv/ces/euc-tw.c: Ditto.
* libc/iconv/ces/gb2312.c: Ditto.
* libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
* libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
* libc/iconv/ces/ucs-2-internal.c: Ditto.
* libc/iconv/ces/ucs-4-internal.c: Ditto.
* libc/iconv/ces/utf-16.c: Ditto.
* libc/iconv/ces/utf-8.c: Ditto.
* libc/iconv/lib/aliases.c: Ditto.
* libc/iconv/lib/biccs.c: Ditto.
* libc/iconv/lib/bices.c: Ditto.
* libc/iconv/lib/ccs.c: Ditto.
* libc/iconv/lib/ces.c: Ditto.
* libc/iconv/lib/ces_euc.c: Ditto.
* libc/iconv/lib/ces_iso2022.c: Ditto.
* libc/iconv/lib/ces_table.c: Ditto.
* libc/iconv/lib/converter.c: Ditto.
* libc/iconv/lib/deps.h: Ditto.
* libc/iconv/lib/endian.h: Ditto.
* libc/iconv/lib/iconv.c: Ditto.
* libc/iconv/lib/loaddata.c: Ditto.
* libc/iconv/lib/local.h: Include newlib.h.
* libc/argz/Makefile.in: Regenerated.
* libc/ctype/Makefile.in: Ditto.
* libc/errno/Makefile.in: Ditto.
* libc/iconv/ccs/binary/Makefile.in: Ditto.
* libc/locale/Makefile.in: Ditto.
* libc/misc/Makefile.in: Ditto.
* libc/posix/Makefile.in: Ditto.
* libc/reent/Makefile.in: Ditto.
* libc/search/Makefile.in: Ditto.
* libc/signal/Makefile.in: Ditto.
* libc/stdio/Makefile.in: Ditto.
* libc/stdio64/Makefile.in: Ditto.
* libc/stdlib/Makefile.in: Ditto.
* libc/string/Makefile.in: Ditto.
* libc/syscalls/Makefile.in: Ditto.
* libc/time/Makefile.in: Ditto.
* libc/unix/Makefile.in: Ditto.
* testsuite/newlib.iconv/iconv.exp: New file.
* testsuite/newlib.iconv/iconvjp.c: Ditto.
* testsuite/newlib.iconv/iconvnm.c: Ditto.
* testsuite/newlib.iconv/iconvru.c: Ditto.
Roland McGrath [Thu, 29 Jan 2004 02:41:25 +0000 (02:41 +0000)]
.
Roland McGrath [Thu, 29 Jan 2004 02:41:18 +0000 (02:41 +0000)]
2004-01-28 Roland McGrath <roland@redhat.com>
* common.h (AT_SECURE): New macro.
Roland McGrath [Thu, 29 Jan 2004 00:37:46 +0000 (00:37 +0000)]
.
Roland McGrath [Thu, 29 Jan 2004 00:37:41 +0000 (00:37 +0000)]
2004-01-21 Roland McGrath <roland@redhat.com>
* common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
(AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.
Jeff Johnston [Wed, 28 Jan 2004 01:00:37 +0000 (01:00 +0000)]
2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/atexit.c: Protect global atexit list with a
lock when newlib is multithreaded.
Jeff Johnston [Tue, 27 Jan 2004 23:26:26 +0000 (23:26 +0000)]
2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* configure.in: Add support to generate iconv converter flags
for newlib.h
* newlib.hin: Add iconv converter flags.
* configure: Regenerated.
* libc/Makefile.in: Ditto.
* libc/configure.in: Moved iconv converter parsing logic to
top level newlib configure.in.
* libc/configure: Regenerated.
* libc/iconv/Makefile.in: Ditto.
* libc/iconv/README.TODO
* libc/iconv/charset.aliases: Remove wrong BE aliases for
UCS2/UCS4/UTF8.
* libc/iconv/ccs/Makefile.am: Remove C flag setting now that
newlib.h can be used.
* libc/iconv/ces/Makefile.am: Ditto.
* libc/iconv/lib/Makefile.am: Ditto.
* libc/iconv/ccs/Makefile.in: Regenerated.
* libc/iconv/ces/Makefile.in: Ditto.
* libc/iconv/lib/Makefile.in: Ditto.
* libc/iconv/ccs/README.CCS.SOURCES: Updated.
* libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
* libc/iconv/ccs/big5.c: Switch to use new underscored flags
defined in newlib.h.
* libc/iconv/ccs/cns11643_plane1.c: Ditto.
* libc/iconv/ccs/cns11643_plane14.c: Ditto.
* libc/iconv/ccs/cns11643_plane2.c: Ditto.
* libc/iconv/ccs/cp775.c: Ditto.
* libc/iconv/ccs/cp850.c: Ditto.
* libc/iconv/ccs/cp852.c: Ditto.
* libc/iconv/ccs/cp855.c: Ditto.
* libc/iconv/ccs/cp866.c: Ditto.
* libc/iconv/ccs/gb_2312_80.c: Ditto.
* libc/iconv/ccs/iso_8859_1.c: Ditto.
* libc/iconv/ccs/iso_8859_15.c: Ditto.
* libc/iconv/ccs/iso_8859_2.c: Ditto.
* libc/iconv/ccs/iso_8859_4.c: Ditto.
* libc/iconv/ccs/iso_8859_5.c: Ditto.
* libc/iconv/ccs/jis_x0201.c: Ditto.
* libc/iconv/ccs/jis_x0208_1983.c: Ditto.
* libc/iconv/ccs/jis_x0212_1990.c: Ditto.
* libc/iconv/ccs/koi8_r.c: Ditto.
* libc/iconv/ccs/koi8_u.c: Ditto.
* libc/iconv/ccs/ksx1001.c: Ditto.
* libc/iconv/ccs/shift_jis.c: Ditto.
* libc/iconv/ccs/us_ascii.c: Ditto.
* libc/iconv/ccs/binary/big5.cct: Newly generated.
* libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
* libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
* libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
* libc/iconv/ccs/binary/cp775.cct: Ditto.
* libc/iconv/ccs/binary/cp850.cct: Ditto.
* libc/iconv/ccs/binary/cp852.cct: Ditto.
* libc/iconv/ccs/binary/cp855.cct: Ditto.
* libc/iconv/ccs/binary/cp866.cct: Ditto.
* libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
* libc/iconv/ccs/binary/koi8_r.cct: Ditto.
* libc/iconv/ccs/binary/koi8_u.cct: Ditto.
* libc/iconv/ccs/binary/ksx1001.cct: Ditto.
* libc/iconv/ccs/binary/shift_jis.cct: Ditto.
* libc/iconv/ccs/binary/us_ascii.cct: Ditto.
* libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
* libc/iconv/ces/euc-jp.c: Use newlib.h macros.
* libc/iconv/ces/euc-kr.c: Ditto.
* libc/iconv/ces/euc-tw.c: Ditto.
* libc/iconv/ces/gb2312.c: Ditto.
* libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
* libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
* libc/iconv/ces/ucs-2-internal.c: Ditto.
* libc/iconv/ces/ucs-4-internal.c: Ditto.
* libc/iconv/ces/utf-16.c: Ditto.
* libc/iconv/ces/utf-8.c: Ditto.
* libc/iconv/lib/aliases.c: Ditto.
* libc/iconv/lib/biccs.c: Ditto.
* libc/iconv/lib/bices.c: Ditto.
* libc/iconv/lib/ccs.c: Ditto.
* libc/iconv/lib/ces.c: Ditto.
* libc/iconv/lib/ces_euc.c: Ditto.
* libc/iconv/lib/ces_iso2022.c: Ditto.
* libc/iconv/lib/ces_table.c: Ditto.
* libc/iconv/lib/converter.c: Ditto.
* libc/iconv/lib/deps.h: Ditto.
* libc/iconv/lib/endian.h: Ditto.
* libc/iconv/lib/iconv.c: Ditto.
* libc/iconv/lib/loaddata.c: Ditto.
* libc/iconv/lib/local.h: Include newlib.h.
* libc/argz/Makefile.in: Regenerated.
* libc/ctype/Makefile.in: Ditto.
* libc/errno/Makefile.in: Ditto.
* libc/iconv/ccs/binary/Makefile.in: Ditto.
* libc/locale/Makefile.in: Ditto.
* libc/misc/Makefile.in: Ditto.
* libc/posix/Makefile.in: Ditto.
* libc/reent/Makefile.in: Ditto.
* libc/search/Makefile.in: Ditto.
* libc/signal/Makefile.in: Ditto.
* libc/stdio/Makefile.in: Ditto.
* libc/stdio64/Makefile.in: Ditto.
* libc/stdlib/Makefile.in: Ditto.
* libc/string/Makefile.in: Ditto.
* libc/syscalls/Makefile.in: Ditto.
* libc/time/Makefile.in: Ditto.
* libc/unix/Makefile.in: Ditto.
* testsuite/newlib.iconv/iconv.exp: New file.
* testsuite/newlib.iconv/iconvjp.c: Ditto.
* testsuite/newlib.iconv/iconvnm.c: Ditto.
* testsuite/newlib.iconv/iconvru.c: Ditto.
Christopher Faylor [Mon, 26 Jan 2004 22:25:57 +0000 (22:25 +0000)]
* exceptions.cc (sig_handle_tty_stop): Avoid races by waiting for both
signal_arrived and for sigCONT.
(sigpacket::process): Enforce sending of both signal_arrived and sigCONT, where
appropriate.
* gendef (sigreturn): Save tls pointer in ebx so that it can jump into
sigdelayed and use the same register.
Christopher Faylor [Mon, 26 Jan 2004 18:52:02 +0000 (18:52 +0000)]
* cygtls.cc (_threadinfo::init_thread): Add more local reent stdio
initialization.
* dcrt0.cc (initial_env): Can it really be true that XP doesn't allow attaching
a debugger during DLL attach? Add temporary workaround.
(dll_crt0_0): Ensure that _impure_ptr stdio is initialized before any threads.
(dll_crt0_1): Move _impure_ptr initialization to dll_crt0_0.
* exceptions.cc (try_to_debug): Reinstate old method for looping while
debugging.
* syscalls.cc (_cygwin_istext_for_stdio): Regularize debugging output. Remove
hopefully extraneous check.
(setmode_helper): Add debugging output for improbable case. Use "binary"
rather "raw" for consistency.
Christopher Faylor [Sun, 25 Jan 2004 23:39:26 +0000 (23:39 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Avoid always setting errno to EACCESS
when return value is < 0. Rely on errno being set properly.
Christopher Faylor [Sun, 25 Jan 2004 05:17:21 +0000 (05:17 +0000)]
* sigproc.cc (proc_subproc): Don't protect *child's* handle.
Christopher Faylor [Sat, 24 Jan 2004 20:34:27 +0000 (20:34 +0000)]
* fhandler.h (fhandler_base::fhaccess): Return int for compatibility with
access.
* fhandler.cc (fhandler_base::fhaccess): Return int. Use consistent variable
name for exit value. Exit at bottom, printing debugging information, like
other cygwin functions.
Joshua Daniel Franklin [Sat, 24 Jan 2004 08:10:27 +0000 (08:10 +0000)]
Cleanup minor markup problems.
Joshua Daniel Franklin [Sat, 24 Jan 2004 08:09:45 +0000 (08:09 +0000)]
2004-01-24 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* cygwinenv.sgml: Cleanup minor markup problems.
* dll.sgml: Cleanup minor markup problems.
* effectively.sgml: Cleanup minor markup problems.
* gcc.sgml: Cleanup minor markup problems.
* ntsec.sgml: Cleanup minor markup problems.
* pathnames.sgml: Cleanup minor markup problems.
* setup-net.sgml: Cleanup minor markup problems.
* textbinary.sgml: Cleanup minor markup problems.
* windres.sgml: Cleanup minor markup problems.
Christopher Faylor [Sat, 24 Jan 2004 03:40:33 +0000 (03:40 +0000)]
* cygheap.cc (init_cygheap::close_ctty): Protect YA vforkism.
* fhandler.h (fhandler_base::has_acls): Make pass through for path_conv method.
(fhandler_base::isremote): Ditto.
(fhandler_base::is_fs_special): Ditto.
(fhandler_base::has_attribute): Ditto. Define new function.
(fhandler_base::fhaccess): Declare new function based on access_worker.
(fhandler_base::set_has_acls): Eliminate obsolete function.
(fhandler_base::set_isremote): Ditto.
* fhandler.cc (fhandler_base::fhaccess): Move from syscalls.cc and into
fhandler_base class. Use fhandler methods to access data rather than path_conv
stuff.
(fhandler_base::device_access_denied): Use fhaccess method.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto.
(fhandler_base::open_fs): Remove calls to obsolete functions.
* fhandler_virtual.cc (fhandler_virtual::open): Ditto.
* winsup.h (access_worker): Remove obsolete access_worker declaration.
*syscalls.cc (access_worker): Move function to fhandler.cc.
(access): Use fhaccess method.
* pinfo.cc (_pinfo::set_ctty): Clarify debugging output.
* sigproc.cc (sig_dispatch_pending): Ditto.
* syscalls.cc (setsid): Perform minor rearrangement.
DJ Delorie [Sat, 24 Jan 2004 00:25:36 +0000 (00:25 +0000)]
* Makefile.def (target_modules) [libiberty]: Don't stage.
* Makefile.in: Rebuilt.
Pierre Humblet [Sat, 24 Jan 2004 00:14:27 +0000 (00:14 +0000)]
2004-01-23 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler_socket.cc (fhandler_socket::create_secret_event): Avoid
creating multiple handles. Always allow event inheritance but set the
handle inheritance appropriately. Improve error handling.
(fhandler_socket::check_peer_secret_event): Improve error handling.
(fhandler_socket::close_secret_event): Simply call CloseHandle.
(fhandler_socket::set_close_on_exec): Set secret event inheritance.
Christopher Faylor [Fri, 23 Jan 2004 23:05:33 +0000 (23:05 +0000)]
* configure.in: Remove NEWVFORK default.
* configure: Regenerate.
* dcrt0.cc: Conditionalize vfork stuff throughout.
* dtable.cc: Ditto.
* perthread.h: Ditto.
* pipe.cc (fhandler_pipe::close): Ditto.
* spawn.cc (spawnve): Ditto.
* syscalls.cc (setsid): Ditto.
* exceptions.cc (sigpacket::process): Use macro to refer to vfork pid.
* debug.cc (verify_handle): Define new function.
* debug.h (VerifyHandle): Define new macro.
(verify_handle): Declare new function
* fhandler.cc (fhandler_base::dup): Verify that dup'ed handle is not supposed
to be in use.
(fhandler_base::set_inheritance): Ditto.
(fhandler_base::fork_fixup): Ditto.
* fhandler_socket.cc (fhandler_socket::dup): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* net.cc (set_socket_inheritance): Ditto.
* pinfo.cc (pinfo_fixup_after_exec): Ditto.
* sigproc.cc (proc_subproc): Ditto.
(sig_send): Ditto.
* spawn.cc (spawn_guts): Ditto.
* thread.cc (pthread::init_mainthread): Ditto.
* pipe.cc (fhandler_pipe::close): Close read_state with ForceCloseHandle since
it was protected.
(fhandler_pipe::fixup_after_exec): Protect read_state handle.
(fhandler_pipe::dup): Correctly close open handles on error condition. Verify
that dup'ed handle is not supposed to be in use.
(fhandler_pipe::create): Protect read_state.
This page took 0.075887 seconds and 5 git commands to generate.