Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)Author
2003-12-052003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston
* libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions of mb routines for %lc and %ls support. * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C, %ls, and %S support. Remove CYGNUS_NEC markers and code within.
2003-12-052003-12-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/wchar.h: Add prototypes for _mbrtowc_r, _wcrtomb_r, and _wcsrtombs_r.
2003-12-01 * libc/include/sys/fcntl.h: Don't define struct flock when onCorinna Vinschen
Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2003-11-29* libc/include/sys/signal.h: Use system specific signal file when building onChristopher Faylor
cygwin.
2003-11-272003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdlib.h (_atoi_r): New prototype. * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2003-11-272003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes. * libc/stdlib/atol.c (_atol_r): New reentrant function. * libc/stdlib/atoll.c (_atoll_r): Ditto.
2003-11-272003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston
Jeff Johnston <jjohnstn@redhat.com> * libc/include/stdlib.h (lldiv_t): New type. (atoll, llabs, lldiv): New prototypes. * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv. * libc/stdlib/stdlib.tex: Ditto. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/atoll.c: New file. * libc/stdlib/llabs.c: Ditto. * libc/stdlib/lldiv.c: Ditto.
2003-11-262003-11-26 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston
* libc/include/fcntl.h: Declare syscalls only when building newlib. * libc/include/unistd.h: Ditto. * libc/include/stat.h: Ditto. Also declare struct stat64.
2003-11-242003-11-24 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format specifier to use ch instead of *fmt.
2003-11-222003-11-21 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston
* libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific code within checks for MB_CAPABLE. For non-mb-capable platforms, use simple byte logic.
2003-11-212003-11-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use _strtold routine for processing floats and doubles since it is not as fast as _strtod_r.
2003-11-202003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>Jeff Johnston
* libc/machine/h8300/defines.h : Correct pointer register defines for normal mode. * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs for normal mode. * libc/machine/h8300/reg_memcpy.S : Likewise. * libc/machine/h8300/reg_memset.S : Likewise. * libc/machine/h8300/strcmp.S : Likewise.
2003-11-202003-11-19 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston
* configure.host: Enable positional arguments for printf family for Cygwin. * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous pointer reference for quad_ptr_t.
2003-11-192003-11-19 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston
* configure.host: Enable positional arguments for printf family for Cygwin. * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous pointer reference for quad_ptr_t.
2003-11-192003-11-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/scanf.c: Don't include local.h more than once.
2003-11-182003-11-18 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston
* libc/include/sys/fcntl.h: Declare _open64. * libc/include/sys/stat.h: Declare _fstat64. * libc/include/sys/unistd.h: Declare _lseek64.
2003-11-17 * libc/include/stdlib.h (getprogname): Declare for Cygwin.Corinna Vinschen
(setprogname): Ditto.
2003-11-112003-11-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts to use (Ebits + 1) which accounts for the sign-bit.
2003-11-082003-11-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux x86 build. * iconvdata/Makefile.am: Make dependent on newlib's configure.host and set up default flags to pass to aclocal. * iconvdata/Makefile.in: Regenerated. * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam, and getpwuid routines. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/getlogin.c: New stub file to allow x86-linux applications to link with newlib's shared libc library. * libc/sys/linux/getpwnam.c: Ditto. * libc/sys/linux/getpwuid.c: Ditto. * libc/sys/linux/sys/types.h: Include <features.h> and supply types that were formerly supplied by /usr/include/linux/types.h with kernel types. * testsuite/newlib.wctype/twctype.c: Fix testcase to properly test _ELIX_LEVEL macro.
2003-11-072003-11-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be referring to _NO_LONGLONG macro.
2003-11-072003-11-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/linuxthreads/td_init.c: Replace function name in LOG() macro so this will compile on gcc 3.4 and up. * libc/sys/linux/linuxthreads/td_log.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2003-11-062003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
Artem B. Bityuckiy <mail_lists@mail.ru> * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for %ls, %S, %lc, and %C format specifiers. (get_arg): Ditto. * libc/stdio/sprintf.c: Add documentation regarding new format specifiers added in vfprintf.c.
2003-11-062003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes to make code work as specified in standard.
2003-10-242003-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.in: Use absolute newlib basedir when forming CC_FOR_NEWLIB include options. * configure: Regenerated.
2003-10-232003-10-23 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston
* libc/string/wcsnlen.c: New file. * libc/include/wchar.h: Add wcsnlen prototype. * libc/string/Makefile.am: Add wcsnlen support. * libc/string/Makefile.in: Regenerated. * libc/string/wcstrings.tex: Add wcsnlen documentation.
2003-10-22 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.Richard Sandiford
2003-10-202003-10-20 Bob Wilson <bob.wilson@acm.org>Jeff Johnston
* libc/locale/locale.c: Use double quotes in code. * libc/locale/locale.tex: Likewise. * libc/libc.texinfo: Hyphenate "floating-point". * libc/machine/necv70/necv70.tex: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/sscanf.c: Likewise. * libc/stdlib/atof.c: Likewise. * libc/stdlib/ldtoa.c: Fix comment typo. * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo. * libc/stdlib/ldiv.c: Likewise. * libm/common/s_expm1.c: Likewise. * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero". * libm/common/s_infinity: Hyphenate "double- and single-precision". * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary. * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision" and "floating-point". * libm/common/s_scalbn.c: Correct the FUNCTION summary. * libm/math/e_pow.c: Fix comment typo. * libm/math/math.tex: Hyphenate "single-precision" and "floating-point". * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo. * libm/math/s_atan.c: Likewise. * libm/math/s_frexp.c: Likewise. Also use "nonzero". * libm/math/s_isnan.c: Hyphenate "single-precision" and "floating-point". Use "nonzero". * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo. * libm/math/w_acos.c: Likewise. * libm/math/w_acosh.c: Likewise. * libm/math/w_asin.c: Likewise. * libm/math/w_atan2.c: Likewise. * libm/math/w_atanh.c: Likewise. * libm/math/w_cosh.c: Likewise. * libm/math/w_exp.c: Likewise. * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex version of 2^x in the description. * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo. * libm/math/w_gamma.c: Likewise. * libm/math/w_hypot.c: Likewise. * libm/math/w_j0.c: Likewise. * libm/math/w_sinh.c: Likewise. * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent". * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and "floating-point". * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo. * libm/mathfp/e_atanh.c: Likewise. * libm/mathfp/e_hypot.c: Likewise. * libm/mathfp/er_lgamma.c: Likewise. * libm/mathfp/s_acos.c: Likewise. * libm/mathfp/s_asine.c: Likewise. * libm/mathfp/s_asinh.c: Likewise. * libm/mathfp/s_atan.c: Likewise. * libm/mathfp/s_atan2.c: Likewise. * libm/mathfp/s_atangent.c: Likewise. * libm/mathfp/s_cosh.c: Likewise. * libm/mathfp/s_exp.c: Likewise. * libm/mathfp/s_fmod.c: Likewise. * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero". * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and "floating-point". Use "nonzero". * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent". * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo. * libm/mathfp/s_sineh.c: Likewise. * libm/mathfp/w_jn.c: Likewise.
2003-10-152003-10-15 Alexandre Oliva <aoliva@redhat.com>Jeff Johnston
* Makefile.am: Add $(MAKE) comments to multido and multiclean lines, to enable parallel make. * Makefile.in: Rebuilt.
2003-10-14* libc/time/clock.c: Clarify documentation of return value when no measurementChristopher Faylor
is available.
2003-09-302003-09-29 Ian Lance Taylor <ian@wasabisystems.com>Jeff Johnston
* libm/configure.in: Check libm_machine_dir, not machine_dir. * libm/configure: Regenerate. * libm/Makefile.in: Ditto.
2003-09-29 * libc/machine/sh/strncpy.S: New file.Joern Rennecke
* libc/machine/sh/Makefile.am: Add entry & rule for new file. * libc/machine/sh/Makefile.in: Regenerate.
2003-09-11 * MAINTAINERS: Update my e-mail address.Jim Wilson
2003-09-10 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.Corinna Vinschen
2003-09-102003-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck prototype. * libc/machine/powerpc/simdldtoa.c: Remove prototype for _simdldcheck(). Also add unsigned cast for index variable in for loop using sizeof operators. * libc/machine/powerpc/strtoufix32.c: Remove unused variable. * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck. * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto plus fix shift calculation for determining if there is a carry from word2.
2003-09-09 * libc/include/grp.h: Don't define setgrfile, group_from_gid andCorinna Vinschen
setgroupent for Cygwin.
2003-09-052003-09-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p is different for _REENT_SMALL than when using regular reent struct.
2003-09-05 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, asBen Elliston
modern versions of GCC issue a warning.
2003-09-05Fix mail address in most recent commit.Ben Elliston
2003-09-05 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespaceBen Elliston
after continuation characters that induces a warning from modern versions of GCC.
2003-09-05 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||Ben Elliston
FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2003-09-032003-09-02 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston
* libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout. * libc/stdlib/exit.c : Ditto. * libc/stdlib/on_exit.c: Ditto.
2003-08-272003-08-27 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston
* libc/include/reent.h: Define stat64 as __stat64 when compiling newlib for Cygwin.
2003-08-272003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as __stat64 when compiling newlib.
2003-08-262003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdio.h: Allow the io64 function prototypes for Cygwin when compiling newlib. * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64 to expose the Cygwin struct __stat64 type. * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64 pointer. * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2003-08-23* libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r definition toChristopher Faylor
fseeko64.
2003-08-222003-08-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/reent.h: Add _GLOBAL_REENT macro. * libc/stdio: Globally remove/replace all references to fp->_data. Replace with _REENT or _GLOBAL_REENT where appropriate. * libc/stdio/asprintf.c: Ditto. * libc/stdio/fclose.c: Ditto. * libc/stdio/fvwrite.c: Ditto. * libc/stdio/makebuf.c: Ditto. * libc/stdio/refill.c: Ditto. * libc/stdio/local.h: Ditto. * libc/stdio/setvbuf.c: Ditto. * libc/stdio/sscanf.c: Ditto. * libc/stdio/stdio.c: Ditto. * libc/stdio/ungetc.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/vsscanf.c: Ditto. * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r. * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly. * libc/stdio/vsnprintf.c: Ditto. * libc/stdio/vsprintf.c: Ditto. * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro instead of _REENT to walk file list. * libc/stdio/fflush.c: Ditto. * libc/stdio/fgetpos.c: Add reentrant version and have regular version call reentrant version with _REENT argument. * libc/stdio/fsetpos.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio/fseeko.c: Ditto. * libc/stdio/ftell.c: Ditto. * libc/stdio/ftello.c: Ditto. * libc/stdio/freopen.c: Ditto. * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding new files to chain. Also use _GLOBAL_REENT pointer for cleaning up. * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code. * libc/stdio/siprintf.c: Ditto. * libc/stdio/iprintf.c: Ditto. * libc/stdio/fprintf.c: Ditto. * libc/stdio/printf.c: Ditto. * libc/stdio/snprintf.c: Call _vfprintf_r directly. * libc/stdio/sprintf.c: Ditto. * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check. * libc/stdio/rewind.c: Call _fseek_r directly. * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly. * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use data pointer. (get_arg): Add extra struct _reent pointer argument. * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference to fp->_data. * libc/stdio64/fopen64.c: Ditto. * libc/stdio64/freopen64.c: Ditto. * libc/stdio64/fsetpos64.c: Ditto. * libc/stdio64/ftello64.c: Ditto. * libc/stdio64/local64.h: Ditto. * libc/stdio64/stdio64.c: Ditto. * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of _fstat64_r for the meantime.
2003-08-192003-08-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance overflow detection.
2003-08-132003-08-13 Aldy Hernandez <aldyh@redhat.com>Jeff Johnston
* libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in extern "C".
2003-08-132003-08-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/math.h: Add prototypes for __signbitf and __signbitd.
2003-08-012003-07-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the correct type of conversion when dealing with EUCJP or SJIS. * libc/ctype/iswblank.c: Ditto. * libc/ctype/iswcntrl.c: Ditto. * libc/ctype/iswprint.c: Ditto. * libc/ctype/iswpunct.c: Ditto. * libc/ctype/iswspace.c: Ditto. * libc/ctype/towlower.c: Ditto. * libc/ctype/towupper.c: Ditto.