summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2004-01-163-4/+12
| | | | | | | * libc/stdio/findfp.c (__sfp): Remove unnecessary memset. * libc/stdio/vfprintf.c (__sbprintf): Ditto. Add calls to __lock_init_recursive and __lock_close_recursive instead.
* 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2004-01-155-0/+27
| | | | | | | | | | | * libc/stdio/fclose.c: Include sys/lock.h. (fclose): Destroy lock when file is closed. * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock member. * libc/stdio/freopen.c: Include sys/lock.h. (_freopen_r): Destroy lock when file is closed. * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers _lock member.
* 2004-01-08 Joel Sherrill <joel@oarcorp.com>Jeff Johnston2004-01-084-2/+8
| | | | | * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c: Remove warnings.
* 2004-01-08 Joel Sherrill <joel@oarcorp.com>Jeff Johnston2004-01-086-20/+690
| | | | | | | | | | * libc/sys/rtems/sys/queue.h: New file. * libc/include/sys/signal.h: Reflect renumbering of signals to fit into 32-bit mask. * libc/include/sys/unistd.h: Add fdatasync() prototype. * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly required. In particular, add the reentrant variants of libc calls. * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
* 2004-01-06 Mark Mitchell <mark@codesourcery.com>Jeff Johnston2004-01-062-3/+10
| | | | | | * libc/sys/arm/syscalls.c (unistd.h): Include it. (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin). Similarly for stdout and stderr.
* 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-01-063-6/+12
| | | | | | * libc/libc.texinfo: Correct escape character for @ sign so file will be processed by make info. Update copyright years. * libm/libm.texinfo: Ditto.
* 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-12-053-64/+5
| | | | | * libc/include/sys/stat.h: No longer include stat-dj.h. * libc/include/sys/stat-dj.h: Removed.
* 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-12-052-0/+6
| | | | * libc/include/wchar.h: Include <sys/reent.h>.
* Revert accidental checkin.Christopher Faylor2003-12-054-22/+1
|
* * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors whenChristopher Faylor2003-12-0511-8/+45
| | | | | | | | | | | | | defining _mbrtowc. * libc/stdlib/mbsinit.c: Ditto. * libc/stdlib/mbsrtowcs.c: Ditto. * libc/stdlib/wcrtomb.c: Ditto. * libc/stdlib/wcsrtombs.c: Ditto. * libc/stdlib/wctob.c: Ditto. * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when defining _mbrtowc. * libc/stdlib/mbsinit.c: Ditto. * libc/stdlib/mbsrtowcs.c: Ditto.
* * libc/stdlib/mbrtowc.c: Change include order to prevent compiler errors whenChristopher Faylor2003-12-052-1/+6
| | | | defining _mbrtowc.
* 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2003-12-053-51/+130
| | | | | | | | * 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-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-12-052-0/+10
| | | | | * libc/include/wchar.h: Add prototypes for _mbrtowc_r, _wcrtomb_r, and _wcsrtombs_r.
* * libc/include/sys/fcntl.h: Don't define struct flock when onCorinna Vinschen2003-12-012-0/+7
| | | | Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
* * libc/include/sys/signal.h: Use system specific signal file when building onChristopher Faylor2003-11-282-47/+10
| | | | cygwin.
* 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-273-1/+34
| | | | | * libc/include/stdlib.h (_atoi_r): New prototype. * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
* 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-274-3/+41
| | | | | | * 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-27 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-11-278-8/+311
| | | | | | | | | | | | | 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-26 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-11-264-1/+12
| | | | | | * 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-24 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-11-242-1/+6
| | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format specifier to use ch instead of *fmt.
* 2003-11-21 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-11-222-16/+42
| | | | | | * 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-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-212-8/+22
| | | | | | * 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-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>Jeff Johnston2003-11-206-5/+82
| | | | | | | | | | * 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-19 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston2003-11-191-1/+1
| | | | | | | * 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-19 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston2003-11-192-1/+8
| | | | | | | * 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-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-192-2/+4
| | | | * libc/stdio/scanf.c: Don't include local.h more than once.
* 2003-11-18 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-11-184-0/+15
| | | | | | * libc/include/sys/fcntl.h: Declare _open64. * libc/include/sys/stat.h: Declare _fstat64. * libc/include/sys/unistd.h: Declare _lseek64.
* * libc/include/stdlib.h (getprogname): Declare for Cygwin.Corinna Vinschen2003-11-172-0/+11
| | | | (setprogname): Ditto.
* 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-102-5/+10
| | | | | * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts to use (Ebits + 1) which accounts for the sign-bit.
* 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-0711-12/+128
| | | | | | | | | | | | | | | | | | | | * 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-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-072-2/+7
| | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be referring to _NO_LONGLONG macro.
* 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-0638-37/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-063-11/+119
| | | | | | | | | | 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-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-062-16/+29
| | | | | * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes to make code work as specified in standard.
* 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-10-233-96/+93
| | | | | | * configure.in: Use absolute newlib basedir when forming CC_FOR_NEWLIB include options. * configure: Regenerated.
* 2003-10-23 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-10-236-19/+113
| | | | | | | | * 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.
* * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.Richard Sandiford2003-10-222-2/+5
|
* 2003-10-20 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2003-10-2058-145/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-15 Alexandre Oliva <aoliva@redhat.com>Jeff Johnston2003-10-153-17/+25
| | | | | | * Makefile.am: Add $(MAKE) comments to multido and multiclean lines, to enable parallel make. * Makefile.in: Rebuilt.
* * libc/time/clock.c: Clarify documentation of return value when no measurementChristopher Faylor2003-10-142-1/+6
| | | | is available.
* 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>Jeff Johnston2003-09-294-100/+95
| | | | | | * libm/configure.in: Check libm_machine_dir, not machine_dir. * libm/configure: Regenerate. * libm/Makefile.in: Ditto.
* * libc/machine/sh/strncpy.S: New file.Joern Rennecke2003-09-294-5/+229
| | | | | * libc/machine/sh/Makefile.am: Add entry & rule for new file. * libc/machine/sh/Makefile.in: Regenerate.
* * MAINTAINERS: Update my e-mail address.Jim Wilson2003-09-112-1/+5
|
* * libc/include/sys/unistd.h: Declare function daemon for Cygwin.Corinna Vinschen2003-09-102-10/+17
|
* 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-09-096-7/+19
| | | | | | | | | | | | | * 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.
* * libc/include/grp.h: Don't define setgrfile, group_from_gid andCorinna Vinschen2003-09-092-0/+11
| | | | setgroupent for Cygwin.
* 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-09-052-2/+8
| | | | | | * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p is different for _REENT_SMALL than when using regular reent struct.
* * libc/ctype/wctype.c (_DEFUN): Remove empty default case, asBen Elliston2003-09-052-1/+3
| | | | modern versions of GCC issue a warning.
* Fix mail address in most recent commit.Ben Elliston2003-09-051-1/+1
|
* * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespaceBen Elliston2003-09-052-2/+8
| | | | | after continuation characters that induces a warning from modern versions of GCC.