summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2004-01-23299-4870/+102184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2004-01-221-0/+12
| | | | | * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list by a lock when newlib is multithreaded.
* 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-01-213-6/+19
| | | | | | | | | | * 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.
* 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2004-01-192-2/+2
| | | | | * libc/stdio/fclose.c (fclose): Release FILE as the last step. * libc/stdio/freopen.c (freopen): Ditto.
* * libc/stdio/vfprintf.c: Add sys/lock.h include.Christopher Faylor2004-01-171-0/+1
|
* 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2004-01-162-4/+5
| | | | | | | * 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-154-0/+16
| | | | | | | | | | | * 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-083-2/+3
| | | | | * 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-085-20/+680
| | | | | | | | | | * 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-061-3/+4
| | | | | | * 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-061-3/+3
| | | | | | * 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-052-64/+0
| | | | | * 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-051-0/+2
| | | | * libc/include/wchar.h: Include <sys/reent.h>.
* * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors whenChristopher Faylor2003-12-056-7/+6
| | | | | | | | | | | | | 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-051-1/+1
| | | | defining _mbrtowc.
* 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>Jeff Johnston2003-12-052-46/+117
| | | | | | | | * 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-051-0/+5
| | | | | * 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-011-0/+2
| | | | 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-281-47/+5
| | | | cygwin.
* 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-272-1/+29
| | | | | * 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-273-3/+35
| | | | | | * 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-277-8/+299
| | | | | | | | | | | | | 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-263-1/+6
| | | | | | * 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-241-1/+1
| | | | | * 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-221-16/+36
| | | | | | * 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-211-8/+16
| | | | | | * 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-205-5/+72
| | | | | | | | | | * 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 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-191-2/+0
| | | | * libc/stdio/scanf.c: Don't include local.h more than once.
* 2003-11-18 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-11-183-0/+9
| | | | | | * 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-171-0/+6
| | | | (setprogname): Ditto.
* 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-101-5/+5
| | | | | * 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-076-4/+94
| | | | | | | | | | | | | | | | | | | | * 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-071-2/+2
| | | | | * 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-0637-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-062-11/+110
| | | | | | | | | | 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-061-16/+24
| | | | | * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes to make code work as specified in standard.
* 2003-10-23 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-10-235-19/+105
| | | | | | | | * 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-221-2/+1
|
* 2003-10-20 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2003-10-2010-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * libc/time/clock.c: Clarify documentation of return value when no measurementChristopher Faylor2003-10-141-1/+1
| | | | is available.
* * libc/machine/sh/strncpy.S: New file.Joern Rennecke2003-09-293-5/+223
| | | | | * libc/machine/sh/Makefile.am: Add entry & rule for new file. * libc/machine/sh/Makefile.in: Regenerate.
* * libc/include/sys/unistd.h: Declare function daemon for Cygwin.Corinna Vinschen2003-09-101-0/+3
|
* 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-09-095-7/+6
| | | | | | | | | | | | | * 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-091-0/+6
| | | | setgroupent for Cygwin.
* 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-09-051-2/+2
| | | | | | * 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-051-1/+0
| | | | modern versions of GCC issue a warning.
* * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespaceBen Elliston2003-09-051-2/+2
| | | | | after continuation characters that induces a warning from modern versions of GCC.
* * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||Ben Elliston2003-09-051-2/+2
| | | | FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
* 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2003-09-023-13/+13
| | | | | | * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout. * libc/stdlib/exit.c : Ditto. * libc/stdlib/on_exit.c: Ditto.