]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years ago * strace.cc (opts): Add leading '+' to force posixly correct
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.

20 years ago * utils.sgml: Update cygcheck options
Joshua Daniel Franklin [Wed, 11 Feb 2004 04:10:47 +0000 (04:10 +0000)]
* utils.sgml: Update cygcheck options

20 years ago* libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
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.

20 years ago* strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
Christopher Faylor [Wed, 11 Feb 2004 00:29:42 +0000 (00:29 +0000)]
* strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.

20 years ago2004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
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.

20 years ago* strace.cc: Update copyrights.
Christopher Faylor [Tue, 10 Feb 2004 16:15:53 +0000 (16:15 +0000)]
* strace.cc: Update copyrights.
* cygcheck.cc: Update copyrights.

20 years ago* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
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.

20 years ago* libc/include/time.h (TIMER_RELTIME): New define.
Christopher Faylor [Mon, 9 Feb 2004 22:56:46 +0000 (22:56 +0000)]
* libc/include/time.h (TIMER_RELTIME): New define.

20 years ago2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
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.

20 years agoAdd support for relaxing the 32bit ldc/stc instructions.
Nick Clifton [Mon, 9 Feb 2004 12:15:57 +0000 (12:15 +0000)]
Add support for relaxing the 32bit ldc/stc instructions.

20 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Add FIONREAD handling.
Corinna Vinschen [Mon, 9 Feb 2004 11:30:57 +0000 (11:30 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Add FIONREAD handling.

20 years ago* debug.h (console_printf): Define for non-debugging condition.
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.

20 years ago* libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
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__.

20 years ago* localtime.cc (localtime_r): Call tzset.
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.

20 years ago * bsd_mutex.cc (win_priority): Move to msleep helper function section.
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.

20 years ago2004-02-07 Dan Aloni <da-x@gmx.net>
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.

20 years ago * bsd_mutex.cc (_msleep): Handle PCATCH using signal_arrived event.
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.

20 years ago * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
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.

20 years ago * uinfo.cc (cygheap_user::init): Use sec_user_nih to build a
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.

20 years ago2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
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.

20 years agoRemove fixme comment for __arm__ added with last patch.
Jeff Johnston [Thu, 5 Feb 2004 20:21:03 +0000 (20:21 +0000)]
Remove fixme comment for __arm__ added with last patch.

20 years ago2004-02-05 Paul Brook <paul@codesourcery.com>
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.

20 years ago* cygwin.din: Make many more functions SIGFE.
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.

20 years ago * security.h (SID): New macro.
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.

20 years ago2004-02-04 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
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.

20 years ago * mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
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.

20 years ago * mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
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.

20 years agoupdate copyright
Christopher Faylor [Wed, 4 Feb 2004 22:40:50 +0000 (22:40 +0000)]
update copyright

20 years ago* tlsoffsets.h: Regenerate.
Christopher Faylor [Tue, 3 Feb 2004 22:05:02 +0000 (22:05 +0000)]
* tlsoffsets.h: Regenerate.

20 years ago* cygtls.h (_local_storage::signamebuf): Increase size to prevent overflow on
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.

20 years ago* Makefile.in (DLL_OFILES): Add strsig.o.
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.

20 years ago* window.cc (Winmain): Show windows error code in error output when
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.

20 years ago2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
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.

20 years ago2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
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.

20 years ago* fhandler.h (*::fixup_after_exec): Eliminate unused handle argument.
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().

20 years agoThroughout, change name from set_inheritance to set_no_inheritance to better
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.

20 years ago2004-02-02 Joel Sherrill <joel@oarcorp.com>
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.

20 years ago * cygerrno.h (set_errno): Replace semicolon with comma in non-DEBUGGING
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.

20 years ago * include/stdio.h (feof): Add inlined definition.
Danny Smith [Mon, 2 Feb 2004 09:18:40 +0000 (09:18 +0000)]
* include/stdio.h (feof): Add inlined definition.
(ferror): Ditto.

20 years ago * include/oleacc.h (LIBID_Accessibility): Declare.
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.

20 years ago * include/winioctl.h ( NTFS_VOLUME_DATA_BUFFER): Add structure.
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.

20 years ago * include/commctrl.h (ICC_STANDARD_CLASSES, ICC_LINK_CLASS): Add
Danny Smith [Mon, 2 Feb 2004 05:43:32 +0000 (05:43 +0000)]
* include/commctrl.h (ICC_STANDARD_CLASSES, ICC_LINK_CLASS): Add
defines.

20 years ago* cygerrno.h (set_errno): Set global errno whenever setting thread specific
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.

20 years ago * mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
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.

20 years ago * mingwex/math/powl.c (powl): Return infinity if
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.

20 years ago2004-01-31 Jiri Malak <Jiri.Malak@geac.cz>
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.

20 years ago * mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
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.

20 years ago2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
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.

20 years ago2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
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.

20 years ago2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
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.

20 years ago2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
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.

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 02:41:25 +0000 (02:41 +0000)]
.

20 years ago2004-01-28 Roland McGrath <roland@redhat.com>
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.

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 00:37:46 +0000 (00:37 +0000)]
.

20 years ago2004-01-21 Roland McGrath <roland@redhat.com>
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.

20 years ago2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
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.

20 years ago2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
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.

20 years ago* exceptions.cc (sig_handle_tty_stop): Avoid races by waiting for both
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.

20 years ago* cygtls.cc (_threadinfo::init_thread): Add more local reent stdio
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.

20 years ago* fhandler.cc (fhandler_base::fhaccess): Avoid always setting errno to EACCESS
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.

20 years ago* sigproc.cc (proc_subproc): Don't protect *child's* handle.
Christopher Faylor [Sun, 25 Jan 2004 05:17:21 +0000 (05:17 +0000)]
* sigproc.cc (proc_subproc): Don't protect *child's* handle.

20 years ago* fhandler.h (fhandler_base::fhaccess): Return int for compatibility with
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.

20 years agoCleanup minor markup problems.
Joshua Daniel Franklin [Sat, 24 Jan 2004 08:10:27 +0000 (08:10 +0000)]
Cleanup minor markup problems.

20 years ago2004-01-24 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
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.

20 years ago* cygheap.cc (init_cygheap::close_ctty): Protect YA vforkism.
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.

20 years ago* Makefile.def (target_modules) [libiberty]: Don't stage.
DJ Delorie [Sat, 24 Jan 2004 00:25:36 +0000 (00:25 +0000)]
* Makefile.def (target_modules) [libiberty]: Don't stage.
* Makefile.in: Rebuilt.

20 years ago2004-01-23 Pierre Humblet <pierre.humblet@ieee.org>
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.

20 years ago* configure.in: Remove NEWVFORK default.
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.

20 years ago* cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
Christopher Faylor [Fri, 23 Jan 2004 23:04:27 +0000 (23:04 +0000)]
* cygcheck.cc (pretty_id): Make more robust in absence of id.exe.

20 years ago2004-01-23 G�bor L�ki <loki@inf.u-szeged.hu>
Jeff Johnston [Fri, 23 Jan 2004 22:10:48 +0000 (22:10 +0000)]
2004-01-23  G�bor L�ki  <loki@inf.u-szeged.hu>

        * m68k/leds.c: remove led_putnum(), zylons() forward
        function declarations.
        * m68k/leds.h: add zylons() forward function declaration.

20 years ago2004-01-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Jan 2004 22:05:44 +0000 (22:05 +0000)]
2004-01-23  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update to include copyrights for new
        iconv code.

20 years ago2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 23 Jan 2004 21:37:46 +0000 (21:37 +0000)]
2004-01-23  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

* acinclude.m4 (--enable-newlib-iconv): New configuration option.
(--enable-newlib-builtin-converters): Ditto.
* configure.in: Add code to set _ICONV_ENABLED flag.
Set _MB_LEN_MAX to 1 if not mb enabled.
* configure: Regenerated.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* newlib.hin: Add _ICONV_ENABLED flag.
* libc/Makefile.am: Add support for iconv.
* libc/configure.in: Ditto.
* libc/Makefile.in: Regenerated.
* libc/aclocal.m4: Ditto.
* libc/configure: Ditto.
* libc/libc.texinfo: Add iconv documentation.
* libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
libc/iconv/README.TODO, libc/iconv/charset.aliases,
libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
libc/iconv/ccs/binary/big5.cct,
libc/iconv/ccs/binary/cns11643_plane1.cct,
libc/iconv/ccs/binary/cns11643_plane14.cct,
libc/iconv/ccs/binary/cns11643_plane2.cct,
libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
libc/iconv/ccs/binary/iso_8859_1.cct,
libc/iconv/ccs/binary/iso_8859_15.cct,
libc/iconv/ccs/binary/iso_8859_2.cct,
libc/iconv/ccs/binary/iso_8859_4.cct,
libc/iconv/ccs/binary/iso_8859_5.cct,
libc/iconv/ccs/binary/jis_x0201.cct,
libc/iconv/ccs/binary/jis_x0208_1983.cct,
libc/iconv/ccs/binary/jis_x0212_1990.cct,
libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
libc/iconv/ccs/binary/ksx1001.cct,
libc/iconv/ccs/binary/shift_jis.cct,
libc/iconv/ccs/binary/us_ascii.cct,
libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
libc/iconv/lib/local.h, libc/include/iconv.h: New files.
* libc/sys/linux/include/iconv.h: Ditto.
* libc/include/sys/_types.h (_iconv_t): Added.
* doc/aclocal.m4: Regenerated.
* doc/configure: Ditto.
* doc/Makefile.in: Ditto.
* iconvdata/Makefile.in: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/configure: Ditto.
* libc/*aclocal.m4: Ditto.
* libc/*Makefile.in: Ditto.
* libc/*configure: Ditto.
* libm/*aclocal.m4: Ditto.
* libm/*Makefile.in: Ditto.
* libm/*configure: Ditto.

20 years ago* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
Christopher Faylor [Fri, 23 Jan 2004 15:44:15 +0000 (15:44 +0000)]
* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
check for parent state rather than inverted check mistakenly introduced on
2003-09-15.

20 years ago* fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock when the
Christopher Faylor [Fri, 23 Jan 2004 15:22:48 +0000 (15:22 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock when the
input buffer overflows.
(fhandler_serial::raw_read): Correct to print the actual error and only call
PurgeComm when necessary.

20 years ago2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
Jeff Johnston [Thu, 22 Jan 2004 22:06:57 +0000 (22:06 +0000)]
2004-01-22  Thomas Pfaff  <tpfaff@gmx.net>

        * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
        by a lock when newlib is multithreaded.

20 years agochange comment.
Christopher Faylor [Thu, 22 Jan 2004 19:16:17 +0000 (19:16 +0000)]
change comment.

20 years ago* dcrt0.cc (reent_data): Make global.
Christopher Faylor [Thu, 22 Jan 2004 19:14:07 +0000 (19:14 +0000)]
* dcrt0.cc (reent_data): Make global.
* cygwin.din: Reexport reent_data.

20 years ago* cygtls.cc (_threadinfo::remove): Don't assume that we are removing _my_tls.
Christopher Faylor [Thu, 22 Jan 2004 19:03:19 +0000 (19:03 +0000)]
* cygtls.cc (_threadinfo::remove): Don't assume that we are removing _my_tls.
* exceptions.cc (setup_handler): Improve debugging output.
(call_signal_handler_now): Remove ill-advised debugger call.
* sigproc.cc (sigcomplete_main): Delete.
(sig_send): Honor FIXME and avoid using main thread's completion event for
everything or suffer races.
(pending_signals::add): Default stored mask to current process mask rather than
mask at time of signal send.
(wait_sig): Add debugging output.
* sigproc.h (sigpacket::mask_storage): Delete.

20 years ago* fhandler.cc (fhandler_base::open): Revert isfs change.
Christopher Faylor [Thu, 22 Jan 2004 15:08:08 +0000 (15:08 +0000)]
* fhandler.cc (fhandler_base::open): Revert isfs change.

20 years ago * cygpath.cc (dowin): Revert accidental checkin from November.
Corinna Vinschen [Thu, 22 Jan 2004 09:21:56 +0000 (09:21 +0000)]
* cygpath.cc (dowin): Revert accidental checkin from November.

20 years ago2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 21 Jan 2004 20:09:16 +0000 (20:09 +0000)]
2004-01-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
        pointer to match C99 spec.
        * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
        dst is NULL.  Also fix to not alter src pointer when dst is NULL
        and call _mbrtowc_r instead of _mbtowc_r.
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
        of _wctomb_r.

20 years ago* devices.in: Change raw com device to more correct form.
Christopher Faylor [Wed, 21 Jan 2004 19:14:19 +0000 (19:14 +0000)]
* devices.in: Change raw com device to more correct form.

20 years ago* fhandler.cc (fhandler_base::open): Use major numbers rather than device
Christopher Faylor [Wed, 21 Jan 2004 18:19:29 +0000 (18:19 +0000)]
* fhandler.cc (fhandler_base::open): Use major numbers rather than device
numbers to control special behavior for devices which take units.
* fhandler_raw.cc (fhandler_dev_raw::writebuf): Ditto.
(fhandler_dev_raw::fstat): Ditto.
(fhandler_dev_raw::open): Ditto.
(fhandler_dev_raw::ioctl): Ditto.

20 years ago* signal.cc (sigaction): Fix if-statement typo.
Christopher Faylor [Wed, 21 Jan 2004 15:47:48 +0000 (15:47 +0000)]
* signal.cc (sigaction): Fix if-statement typo.

20 years ago* cygtls.cc (handle_threadlist_exception): Change logic, improve debugging
Christopher Faylor [Wed, 21 Jan 2004 15:16:10 +0000 (15:16 +0000)]
* cygtls.cc (handle_threadlist_exception): Change logic, improve debugging
output.

20 years ago* fhandler_tty.cc (fhandler_tty::ioctl): Semi-revert 2003-09-26 change for
Christopher Faylor [Wed, 21 Jan 2004 06:28:35 +0000 (06:28 +0000)]
* fhandler_tty.cc (fhandler_tty::ioctl): Semi-revert 2003-09-26 change for
TIOCSWINSZ.  It is not an error for ioctl_request_event to be missing.
* sigproc.cc (pending_signals::save): New function.
(pending_signals::restore): Ditto.
(sig_clear): Save/restore current queue pointer.
(wait_sig): Delete signals marked as such.
* sigproc.h (__SIGDELETE): New enum.

20 years agoremove extra entry
Christopher Faylor [Tue, 20 Jan 2004 19:36:58 +0000 (19:36 +0000)]
remove extra entry

20 years ago* include/cygwin/version.h: Bump DLL minor number to 8.
Christopher Faylor [Tue, 20 Jan 2004 19:36:35 +0000 (19:36 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 8.
* cygmalloc.h: Make more concessions to attempts to get debugging malloc
working.
* debug.h: Ditto.
* dlmalloc.cc: Ditto.
* dlmalloc.h: Ditto.
* malloc_wrapper.cc: Ditto.
* perthread.h (perthread::create): Use calloc to ensure zeroed memory.

20 years ago2004-01-20 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Tue, 20 Jan 2004 17:20:34 +0000 (17:20 +0000)]
2004-01-20  Joshua Daniel Franklin <joshuadfranklin@yahoo.com>

* Makefile.in: Remove unused cygwin-ug and cygwin-api-int
targets from default build.
* how-using.texinfo: Add information about 8-bit character
display to FAQ.
* setup2.sgml: Add information about 8-bit character display
to "Setting up Cygwin".

20 years ago * sec_acl.cc (setacl): Make sure sd_ret is large enough.
Corinna Vinschen [Tue, 20 Jan 2004 09:13:20 +0000 (09:13 +0000)]
* sec_acl.cc (setacl): Make sure sd_ret is large enough.

20 years agofix typo
Christopher Faylor [Tue, 20 Jan 2004 03:11:39 +0000 (03:11 +0000)]
fix typo

20 years agoDocument new passwd options.
Joshua Daniel Franklin [Tue, 20 Jan 2004 01:00:20 +0000 (01:00 +0000)]
Document new passwd options.

20 years ago* sigproc.cc (sigproc_terminate): Don't close sendsig handle when execing since
Christopher Faylor [Mon, 19 Jan 2004 23:03:43 +0000 (23:03 +0000)]
* sigproc.cc (sigproc_terminate): Don't close sendsig handle when execing since
we're not closing what we think we're closing.
(sig_send): Improve debugging when exiting due to no_signals_available.
* wincap.h (wincaps::cant_debug_dll_entry): New element.
* wincap.cc: Implement above element throughout.
* dcrt0.cc (initial_env): Accommodate changes necessary to allow initial
debugging for systems which do not allow debugging in dll_entry.
(dll_crt0_0): Add initial_env call back here.
* Makefile.in (install-man): Use mandir as target for installation.
* include/cygwin/version.h: Bump DLL minor number to 7 (should have been done
earlier).

20 years ago2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
Jeff Johnston [Mon, 19 Jan 2004 21:30:34 +0000 (21:30 +0000)]
2004-01-19  Thomas Pfaff  <tpfaff@gmx.net>

        * libc/stdio/fclose.c (fclose): Release FILE as the last step.
        * libc/stdio/freopen.c (freopen): Ditto.

20 years ago* common.h (NT_OPENBSD_IDENT): Define.
Mark Kettenis [Mon, 19 Jan 2004 18:28:58 +0000 (18:28 +0000)]
* common.h (NT_OPENBSD_IDENT): Define.

20 years ago* cygwin/include/signal.h: Add copyright notice.
Christopher Faylor [Mon, 19 Jan 2004 05:46:54 +0000 (05:46 +0000)]
* cygwin/include/signal.h: Add copyright notice.
* cygwin.din: Make clock SIGFE.  Add clock_gettime, sigwaitinfo, timer_create,
timer_delete, timer_settime.
* include/cygwin/version.h: Reflect above additions.
* fork.cc (fork_child): Call fixup_timers_after_fork.
* signal.cc (sigwait): Remove unused variable.
* timer.cc: New file.
(clock_gettime): Define new function.
(timer_tracker): Define new struct used by timer functions.
(timer_tracker::timer_tracker): New function.
(to_us): New function.
(timer_thread): New function.
(timer_tracker::settime): New function.
(timer_create): New function.
(timer_settime): New function.
(timer_delete): New function.
(fixup_timers_after_fork): New function.
* cygthread.cc: Bump thread count.
* signal.cc (sigwaitinfo): Define new function.
(sigwait): Redefine based on sigwaitinfo.
* include/cygwin/signal.h (sigwaitinfo): Declare.
(sigwait): Ditto.
* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
ctty == ctty_on_hold.
* cygtls.h (_threadinfo::threadkill): New element.
(_threadinfo::set_threadkill): Declare new function.
(_threadinfo::reset_threadkill): Declare new function.
* dcrt0.cc (dcrt0_1): Call here so that it will be possible to attach to
running process with #(*& Windows Me/9x.
(initial_env): Try to initialize strace if uninitialized.
* gendef: Don't zero signal if threadkill is set since that will happen in the
called function.
* signal.cc (sigwait): Ensure cleanup in error conditions.
* sigproc.cc (sig_send): Clear packet mask storage.
(wait_subproc): Fill in child exit code in siginfo_t structure.
* thread.cc (pthread_kill): Set threadkill flag.
* tlsoffsets.h: Regenerate.  Throughout, use siginfo_t to fill out all signal
information for "kernel" signals.
* cygtls.h (_threadinfo::set_siginfo): Declare new function.
* cygtls.cc (_threadinfo::set_siginfo): Define new function.
* dcrt0.cc (do_exit): Accommodate siginfo_t considerations.
* exceptions.cc (handle_exceptions): Ditto.
(sig_handle_tty_stop): Ditto.
(ctrl_c_handler): Use killsys() to send signal.
(sigpacket::process): Rename from sig_handle.  Use siginfo_t field from
sigpacket for everything.
(tty_min::kill_pgrp): Accommodate siginfo_t considerations.
(fhandler_termios::bg_check): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Use killsys() to send signal.
* signal.cc (kill_worker): Rewrite to use siginfo_t second argument.
(kill_pgrp): Ditto.
(kill0): Define new function pulled from kill().
(kill): Rewrite as frontend to kill0.
(killsys): Define new function.
* sigproc.cc (sigelem): Eliminate.
(sigpacket): Move to sigproc.h.  Subsume sigelem.
(pending_signals): Use sigpacket rather than sigelem for everything.
(sig_clear): Ditto.
(wait_sig): Ditto.
(sig_send): Rewrite to use siginfo_t argument.
(sig_send): New function wratpper to sig_send with siginfo_t argument.
(wait_subproc): Accommodate siginfo_t considerations.
* thread.cc (pthread_kill): Ditto.
* sigproc.h (sigpacket): Move here.
(sigpacket::process): Declare "new" function.
(sig_handle): Eliminate declaration.
(sig_send): Declare with new paramaters.
(killsys): Declare new function.
(kill_pgrp): Declare.
* winsup.h: Move some signal-specific stuff to sigproc.h.
* include/cygwin/signal.h: Tweak some siginfo_t stuff.

20 years agoupdate
Christopher Faylor [Mon, 19 Jan 2004 05:23:02 +0000 (05:23 +0000)]
update

20 years ago * include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
Danny Smith [Sat, 17 Jan 2004 07:41:54 +0000 (07:41 +0000)]
* include/stdint.h  Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
types. (Thanks to John Maddock for report.)

20 years ago* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
Christopher Faylor [Sat, 17 Jan 2004 05:49:42 +0000 (05:49 +0000)]
* dtable.cc (dtable::vfork_parent_restore): Avoid double close of ctty when
ctty == ctty_on_hold.

20 years ago* libc/stdio/vfprintf.c: Add sys/lock.h include.
Christopher Faylor [Sat, 17 Jan 2004 04:29:54 +0000 (04:29 +0000)]
* libc/stdio/vfprintf.c: Add sys/lock.h include.

This page took 0.075713 seconds and 5 git commands to generate.