Christopher Faylor
6dbfb93a04
* strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
2004-02-11 00:29:42 +00:00
DJ Delorie
d832a288e5
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.
2004-02-10 17:57:02 +00:00
Christopher Faylor
c662f402aa
* strace.cc: Update copyrights.
...
* cygcheck.cc: Update copyrights.
2004-02-10 16:15:53 +00:00
Christopher Faylor
744ed079bc
* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
...
* cygcheck.cc (main): Ditto.
2004-02-10 16:01:31 +00:00
Christopher Faylor
3536f0fb2b
* libc/include/time.h (TIMER_RELTIME): New define.
2004-02-09 22:56:46 +00:00
Jeff Johnston
6a6e493af4
2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
* libc/stdlib/Makefile.in: Regenerated.
2004-02-09 21:47:47 +00:00
Nick Clifton
db10a5632e
Add support for relaxing the 32bit ldc/stc instructions.
2004-02-09 12:15:57 +00:00
Corinna Vinschen
9ec70d2019
* fhandler_socket.cc (fhandler_socket::ioctl): Add FIONREAD handling.
2004-02-09 11:30:57 +00:00
Christopher Faylor
cec4879206
* 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.
2004-02-09 04:04:24 +00:00
Christopher Faylor
733309f576
* 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__.
2004-02-09 02:22:01 +00:00
Christopher Faylor
6946073e78
* 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.
2004-02-08 19:59:27 +00:00
Corinna Vinschen
f5133f95b0
* bsd_mutex.cc (win_priority): Move to msleep helper function section.
...
(set_priority): Ditto. Fix formatting.
(_msleep): Cleanup obj formatting. Rearrange obj order.
2004-02-07 10:47:39 +00:00
Danny Smith
a1bca00aa9
2004-02-07 Dan Aloni <da-x@gmx.net>
...
* lib/ddk/ntoskrnl.def (KeSetTimer,KeSetTimerEx): Correct
suffix.
2004-02-07 08:54:03 +00:00
Corinna Vinschen
373a036f7b
* 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.
2004-02-06 16:25:58 +00:00
Corinna Vinschen
2a566ac3ef
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
...
* cygserver_ipc.h (struct proc): Add signal_arrived member.
(ipc_set_proc_info): Inititalize blk.signal_arrived.
2004-02-06 16:18:59 +00:00
Corinna Vinschen
043878df18
* 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.
2004-02-06 10:37:37 +00:00
DJ Delorie
4ea8488c70
2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
...
* configure.in: Don't pass --with-stabs on IRIX 5 either.
* configure: Regenerate.
2004-02-06 00:50:48 +00:00
Jeff Johnston
8db3ebc0ea
Remove fixme comment for __arm__ added with last patch.
2004-02-05 20:21:03 +00:00
Jeff Johnston
b4a84c6695
2004-02-05 Paul Brook <paul@codesourcery.com>
...
* libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
2004-02-05 20:08:52 +00:00
Christopher Faylor
656a999a33
* cygwin.din: Make many more functions SIGFE.
...
* include/cygwin/version.h (CYGWIN_VERSION_SHARED_DATA): Bump.
2004-02-05 19:57:03 +00:00
Corinna Vinschen
d82c6f474d
* 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.
2004-02-05 17:23:19 +00:00
Joshua Daniel Franklin
0d902e61d1
2004-02-04 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
...
* Makefile.in: Generate monolithic faq0.html file.
2004-02-05 05:00:34 +00:00
Danny Smith
b5ce07f714
* mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
...
NetBSD getopt_long.c.
2004-02-05 03:17:46 +00:00
Danny Smith
d11508dd22
* mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
...
codes and handling of special chars.
2004-02-05 03:12:15 +00:00
Christopher Faylor
120023b090
update copyright
2004-02-04 22:40:50 +00:00
Christopher Faylor
9e8c2fadf7
* tlsoffsets.h: Regenerate.
2004-02-03 22:05:02 +00:00
Christopher Faylor
06615351b1
* cygtls.h (_local_storage::signamebuf): Increase size to prevent overflow on
...
really odd values.
2004-02-03 22:04:27 +00:00
Christopher Faylor
c571716c64
* 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.
2004-02-03 21:59:27 +00:00
Christopher Faylor
50be1d78d9
* window.cc (Winmain): Show windows error code in error output when
...
RegisterClass fails.
2004-02-03 19:41:28 +00:00
Jeff Johnston
ac39cfccbd
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.NEWLIB: Update Red Hat license to 2004.
2004-02-03 00:05:49 +00:00
Jeff Johnston
4669438fba
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.
2004-02-02 22:51:39 +00:00
Christopher Faylor
528060195c
* 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().
2004-02-02 21:00:07 +00:00
Christopher Faylor
6027d26d8b
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.
2004-02-02 20:33:09 +00:00
Jeff Johnston
94d61fcb76
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.
2004-02-02 16:59:53 +00:00
Corinna Vinschen
8d9bbb5092
* cygerrno.h (set_errno): Replace semicolon with comma in non-DEBUGGING
...
version to avoid compile time error.
2004-02-02 10:47:29 +00:00
Danny Smith
a37903bc43
* include/stdio.h (feof): Add inlined definition.
...
(ferror): Ditto.
2004-02-02 09:18:40 +00:00
Danny Smith
9512474d4d
* include/oleacc.h (LIBID_Accessibility): Declare.
...
* lib/uuid.c (LIBID_Accessibility): Define.
2004-02-02 05:59:45 +00:00
Danny Smith
5773d89b94
* include/winioctl.h ( NTFS_VOLUME_DATA_BUFFER): Add structure.
...
(FSCTL_GET_NTFS_VOLUME_DATA): Add macro.
2004-02-02 05:48:16 +00:00
Danny Smith
75b0412ba8
* include/commctrl.h (ICC_STANDARD_CLASSES, ICC_LINK_CLASS): Add
...
defines.
2004-02-02 05:43:32 +00:00
Christopher Faylor
9e1ad59de6
* 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.
2004-02-01 18:29:12 +00:00
Danny Smith
f6565cd1a6
* mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
...
directly, rather than via scabnl.
2004-02-01 02:52:21 +00:00
Danny Smith
416bc45060
* mingwex/math/powl.c (powl): Return infinity if
...
extended precision multiplication of x by log2(y)
overflows.
2004-02-01 00:10:17 +00:00
Danny Smith
fff0b496a0
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.
2004-01-31 09:08:15 +00:00
Danny Smith
d2c7ccfc5f
* mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
...
(__enan_NI16): Fix another one.
(__enan_NBITS): Tidy.
2004-01-31 08:44:01 +00:00
Jeff Johnston
c730e0e7ca
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.
2004-01-31 00:39:07 +00:00
Jeff Johnston
2892ec6800
2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
Jeff Johnston <jjohnstn@redhat.com>
* libc/iconv/iconv.tex: Updated with more information.
2004-01-30 20:44:05 +00:00
Jeff Johnston
ff41498a19
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.
2004-01-30 20:32:04 +00:00
Jeff Johnston
1a4f1aef1f
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.
2004-01-29 17:12:36 +00:00
Roland McGrath
abb74903ce
.
2004-01-29 02:41:25 +00:00
Roland McGrath
23e684686b
2004-01-28 Roland McGrath <roland@redhat.com>
...
* common.h (AT_SECURE): New macro.
2004-01-29 02:41:18 +00:00