Jeff Johnston
56448afa06
2005-08-10 DJ Delorie <dj@redhat.com>
...
* configure.host: Add m32c support.
* libc/include/machine/ieeefp.h: Likewise.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
* libc/machine/m32c/aclocal.m4: New file.
* libc/machine/m32c/configure: Ditto.
* libc/machine/m32c/configure.in: Ditto.
* libc/machine/m32c/Makefile.am: Ditto.
* libc/machine/m32c/Makefile.in: Ditto.
* libc/machine/m32c/setjmp.S: Ditto.
2005-08-10 20:35:13 +00:00
Jeff Johnston
0c5c6c234f
2005-08-02 Bob Wilson <bob.wilson@acm.org>
...
* libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
to the value for 2^126.
2005-08-02 19:44:44 +00:00
Hans-Peter Nilsson
12499c7a5d
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
...
used.
2005-07-26 20:37:13 +00:00
Jeff Johnston
395a327d17
2005-07-20 Bob Wilson <bob.wilson@acm.org>
...
Darin Petkov <darin@tensilica.com>
* libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2005-07-20 16:20:24 +00:00
Jeff Johnston
108d7dd833
2005-07-19 Paul Brook <paul@codesourcery.com>
...
* libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2005-07-19 15:14:16 +00:00
Jeff Johnston
b776efc599
2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
...
* testsuite/lib/checkoutput.exp (newlib_check_output): Use test
names after PASS and FAIL which do not depend on source directory
name or on whether test passed or failed.
* testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2005-07-18 19:07:49 +00:00
Jeff Johnston
88540e248e
2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
...
* libc/string/wcsspn.c (wcsspn): Add missing increment of q.
2005-07-08 18:28:46 +00:00
Jeff Johnston
85d621900c
Fix date of last entry.
2005-07-07 17:29:35 +00:00
Jeff Johnston
b32adfc5cf
*** empty log message ***
2005-07-07 17:29:13 +00:00
Aldy Hernandez
dee9edd9ed
* configure.host: Added entry for ms1*.
...
* libc/include/machine/ieeefp.h: Handle ms1.
* libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
* libc/machine/ms1/aclocal.m4: New.
* libc/machine/ms1/configure: New.
* libc/machine/ms1/configure.in: New.
* libc/machine/ms1/Makefile.am: New.
* libc/machine/ms1/Makefile.in: New.
* libc/machine/ms1/setjmp.S: New.
2005-07-06 13:14:10 +00:00
Jeff Johnston
cec1d3b414
2005-07-04 Mark Mitchell <mark@codesourcery.com>
...
* Makefile.am (site.exp): Set tmpdir.
* Makefile.in: Regenerated.
* testsuite/lib/checkoutput.exp (newlib_check_output): Put
executables in $tmpdir.
* testsuite/lib/flags.exp (libgloss_link_flags): Use the original
libgloss version if not running in the build directory.
* testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
$tmpdir.
* testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
in $tmpdir.
2005-07-05 00:11:50 +00:00
Jeff Johnston
25d209f13d
2005-06-28 Dave Korn <dave.korn@artimi.com>
...
* libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
and miscalculation caused by fp representation of zero.
* libm/common/sf_lrint.c (lrintf): Likewise.
2005-06-28 17:03:18 +00:00
Jeff Johnston
68cdbb18da
2005-06-16 Christopher Faylor <cgf@timesys.com>
...
* libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
determine characteristics of long double. Use a union instead.
* ldtoa.c (_ldtoa_r): Ditto.
(_ldcheck): Ditto.
(_strtold): Ditto.
(union uconv): New union.
2005-06-16 19:14:01 +00:00
Jeff Johnston
15c04fd16e
2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
instead of memcpy.
2005-06-03 18:57:30 +00:00
Jeff Johnston
cf55bf5ee8
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host (mn10300-*): Add long long I/O support by default.
2005-05-12 22:10:26 +00:00
Jeff Johnston
b6e654c498
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/getpwuid.c: Removed.
* libc/sys/linux/getpwnam.c: Removed.
* libc/sys/linux/getpwent.c: New file containing logic
from files removed above. This allows overriding of file
in libc/unix.
* libc/sys/linux/Makefile.am: Support changes above.
* libc/sys/linux/Makefile.in: Regenerated.
2005-05-12 22:06:26 +00:00
Jeff Johnston
5456408b84
2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
when checking for multiple flags.
2005-04-28 18:26:08 +00:00
Hans-Peter Nilsson
1c74754f17
* configure.host <cris-*-* | crisv32-*-*>: Set
...
default_newlib_io_long_long="yes".
2005-04-18 02:52:21 +00:00
Jeff Johnston
6e75bff67d
2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/libgen.h: New file.
2005-04-08 Shaun Jackman <sjackman@gmail.com>
* libc/unix/Makefile.am: Add support for basename and dirname.
* libc/unix/Makefile.in: Regenerated.
* libc/unix/basename.c: New file.
* libc/unix/dirname.c: New file.
2005-04-08 20:48:40 +00:00
Jeff Johnston
95c136c40a
2005-04-07 Shaun Jackman <sjackman@gmail.com>
...
* libc/sys/linux/inode.c (lchown): New function.
2005-04-07 23:40:42 +00:00
Jeff Johnston
9ae26f7e2e
2005-04-07 Shaun Jackman <sjackman@gmail.com>
...
* libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
ELIX level is defined.
* libc/unix/Makefile.in: Regenerated.
2005-04-07 23:37:06 +00:00
Jeff Johnston
85da703991
2005-04-05 Dave Korn <dave.korn@artimi.com>
...
* libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
something that looks like a "NaN", put back the characters processed.
2005-04-05 18:38:09 +00:00
Corinna Vinschen
fefc73a0c7
* libc/stdlib/strtod.c (_strtod_r): Never change s00.
2005-04-01 09:54:19 +00:00
Jeff Johnston
fcfb011798
Fix whitespace with crx entry.
2005-03-23 18:09:57 +00:00
Christopher Faylor
e633fde1ba
* configure.host: For cygwin, redefine CC with cygwin include directory first
...
to mimic the behavior of the top-level configury. Move include directory out
of newlib_cflags.
2005-03-23 17:09:29 +00:00
Jeff Johnston
859c94e8de
2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
* libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
than errno.
2005-03-22 23:45:43 +00:00
Christopher Faylor
7e3fd32b1c
* libc/include/machine/_types.h: Make trivial change to comment to avoid a
...
spurious warning from gcc.
2005-03-22 18:12:29 +00:00
Jeff Johnston
d4eb892018
2005-03-21 Nicholas Wourms <nwourms@netscape.net>
...
* libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
reent.h include.
2005-03-21 22:34:35 +00:00
Jeff Johnston
45030958d3
2005-03-18 Hans-Peter Nilsson <hp@axis.com>
...
Corinna Vinschen <corinna@vinschen.de>
* libc/include/ctype.h: Remove invalid +1 offset from
ctype macro references to __ctype_ptr.
(_ctype_): Move declaration outside #ifndef __cplusplus.
2005-03-18 17:18:59 +00:00
Corinna Vinschen
5c9b5ac72d
* libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
...
evaluate first parameter only once.
(siglongjmp): Ditto.
2005-03-18 09:46:30 +00:00
Jeff Johnston
dd801fdabd
2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.in: Add new check to see if compiler supports
aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
* configure: Regenerated.
* Makefile.in: Ditto.
* newlib.hin: Add _HAVE_ARRAY_ALIASING.
* libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
aliasing the _ctype_ array to _ctype_b.
* libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
_ctype_ as deprecated.
2005-03-17 20:11:23 +00:00
Hans-Peter Nilsson
333eabc6f8
* configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
...
-DCOMPACT_CTYPE.
2005-03-17 02:31:57 +00:00
Jeff Johnston
df5a5b3592
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/include/inttypes.h: New file.
* libc/sys/rtems/include/stdint.h: Ditto.
2005-03-06 20:51:38 +00:00
Jeff Johnston
9d385fb06d
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2005-03-06 20:40:05 +00:00
Jeff Johnston
2e7d9bf906
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/include/machine/_types.h: New file.
* libc/include/sys/types.h: Do not check for __rtems__
when including <machine/_types.h>. Remove some redundant
declarations now that <machine/_types.h> is included.
* libc/sys/rtems/machine/_types.h: Removed. Replaced with
shared header file.
2005-03-06 20:32:16 +00:00
Jeff Johnston
92a7e06eb8
2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
L qualifier for these long constants.
2005-02-25 22:38:46 +00:00
Jeff Johnston
1139537a25
2005-02-25 Eric Blake <ebb9@byu.net>
...
* libc/include/time.h (__tzrule_struct): Make offset long, since
a 16-bit int overflows on a 12-hour offset.
* libc/sys/linux/include/time.h: Ditto.
* libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
* libc/time/mktm_r.c: Ditto.
* libc/time/gettzinfo.c: Ditto.
* libc/time/strftime.c (strftime): Fix '%x' to deal with negative
years. Fix '%z' to use long, not int.
2005-02-25 22:31:21 +00:00
Jeff Johnston
2598f908ca
Add (int) cast.
2005-02-24 19:02:35 +00:00
Jeff Johnston
f4fd7b4c72
2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libm/common/s_fpclassify.c: Use __uint32_t instead of int to
manipulate float values in integer form.
* libm/common/sf_round.c: Ditto.
2005-02-24 18:50:06 +00:00
Jeff Johnston
f2f8a9a229
2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/include/sys/types.h [__rtems__]: Include new
header file machine/_types.h.
* libc/include/machine/types.h: Ditto.
* libc/sys/rtems/machine/_types.h: New file.
2005-02-24 18:29:31 +00:00
Joshua Daniel Franklin
45df57e8d8
Fix minor typo
2005-02-24 06:14:44 +00:00
Corinna Vinschen
39fd43d7fa
* libc/include/time.h (_timezone): Change to long also for Cygwin.
...
(timezone): Drop cast from definition.
2005-02-23 22:20:55 +00:00
Jeff Johnston
6b9a74f9e6
2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/time.h [!CYGWIN](_timezone): Change to long.
(__tzrule_type, __tzinfo_type): New types.
(__gettzinfo): New function.
* libc/sys/linux/include/time.h: Ditto.
* libc/time/Makefile.am: Add gettzinfo.c.
* libc/time/Makefile.in: Regenerated.
* libc/time/local.h: Moved __tzrule_type to time.h.
* libc/time/mktime.c: Call __gettzinfo to reference
__tznorth, __tzyear, and __tzrule array.
* libc/time/mktm_r.c: Ditto.
* libc/time/strftime.c: Ditto.
* libc/time/tzset_r.c: Ditto. Also remove definition
of __tzrule which is now in gettzinfo.c. Change _timezone
references to not cast to time_t.
* libc/time/gettzinfo.c: New file.
2005-02-23 19:08:58 +00:00
Corinna Vinschen
6015cf9fc3
* libc/include/sys/unistd.h: Define getpeereid for Cygwin.
2005-02-23 17:42:07 +00:00
Corinna Vinschen
5e4c05da0b
* libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
2005-02-22 15:31:51 +00:00
Jeff Johnston
f1d439fc64
2005-02-16 Eric Blake <ebb9@byu.net>
...
* libc/time/time.tex: Improve the documentation.
* libc/time/strftime.c: Improve the documentation.
(iso_year_adjust): New helper function.
(strftime): Simplify '%E' and '%O'. Change '%c' to use
recursion. Fix '%C', '%y', and '%Y' to deal with years with more
than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
'%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
Avoid core dumps on valid inputs (maxsize == 0, or
tim_p->tm_isdst > 1).
2005-02-16 21:15:37 +00:00
Corinna Vinschen
18d3a03bd4
* libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
...
members to uid_t and gid_t according to SUSv3.
* libc/include/sys/time.h (utimes): Change second parameter
to const according to SUSv3.
2005-02-08 20:55:18 +00:00
Jeff Johnston
1159e0fd94
2005-02-07 Antony King <antony.king@st.com>
...
* libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
called before _flockfile to prevent lock object use before
initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
take a struct _reent * instead of a FILE *.
* libc/stdio/fclose.c (_fclose_r): Ditto.
* libc/stdio/feof.c (feof): Ditto.
* libc/stdio/ferror.c (ferror): Ditto.
* libc/stdio/fflush.c (fflush): Ditto.
* libc/stdio/fgetc.c (fgetc): Ditto.
* libc/stdio/fgets.c (fgets): Ditto.
* libc/stdio/fileno.c (fileno): Ditto.
* libc/stdio/fputc.c (fputc): Ditto.
* libc/stdio/fputs.c (fputs): Ditto.
* libc/stdio/fread.c (fread): Ditto.
* libc/stdio/freopen.c (_freopen_r): Ditto.
* libc/stdio/fseek.c (_fseek_r): Ditto.
* libc/stdio/ftell.c (_ftell_r): Ditto.
* libc/stdio/fwrite.c (fwrite): Ditto.
* libc/stdio/getc.c (getc): Ditto.
* libc/stdio/getdelim.c (__getdelim): Ditto.
* libc/stdio/putc.c (putc): Ditto.
* libc/stdio/setvbuf.c (setvbuf): Ditto.
* libc/stdio/ungetc.c (_ungetc_r): Ditto.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
* libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
* libc/stdio64/ftello64.c (_ftello64_r): Ditto.
* libc/stdio/local.h (CHECK_INIT): Argument is now a struct
_reent * instead of a FILE * and so replace incorrect use of
_REENT with argument.
* libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
* libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
CHECK_INIT() take a struct _reent * instead of a FILE *.
* libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
* libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
* libc/stdio/perror.c (perror): Ditto.
* libc/stdio/printf.c (printf, _printf_r): Ditto.
* libc/stdio/putchar.c (putchar): Ditto.
* libc/stdio/puts.c (puts): Ditto.
* libc/stdio/refill.c (__srefill): Ditto.
* libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
* libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
* libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
* libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
* libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
* libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
* libc/stdio/wbuf.c (__swbuf): Ditto.
* libc/stdio/wsetup.c (__swsetup): Ditto.
* libc/stdlib/mallocr.c (malloc_stats): Ditto.
* libc/stdlib/mstats.c (_mstats_r): Ditto.
* libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
* libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
* libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
to _flockfile and _funlockfile; rely on locking in _ftell_r.
* libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
* libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
initialision of _data field in FILE structure.
* libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
2005-02-08 01:33:19 +00:00
Jeff Johnston
3d91567088
2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/findfp.c (__sinit): Protect with new lock.
(__sinit_lock): New lock.
(__sinit_lock_acquire, __sinit_lock_release): New functions.
* libc/stdio/local.h: Add reference to new __sinit locking
functions.
2005-02-08 01:05:50 +00:00
Jeff Johnston
b59cab1e2e
2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/math.h (isfinite, isnormal, isunordered): Change
input variable names to avoid mixups with nesting macros.
2005-02-07 21:04:22 +00:00
Nick Clifton
7823d9bb14
Import from FSF mainline
2005-02-02 19:00:30 +00:00
Jeff Johnston
1815fdeab4
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* configure.host: Add support for cris-*-* and crisv32-*-*.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
files.
2005-01-27 23:54:46 +00:00
Jeff Johnston
f7d4d41acd
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* testsuite/newlib.string/memmove1.c: New test.
2005-01-27 20:52:42 +00:00
Jeff Johnston
e9743354fe
Update previous ChangeLog entry with missing info.
2005-01-27 20:29:49 +00:00
Jeff Johnston
1319dec602
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* testsuite/include/check.h: Include stdlib.h.
2005-01-27 20:25:54 +00:00
Jeff Johnston
b45e65b0da
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* Makefile.am (stmp-targ-include): Support include header files
from machine directories.
* Makefile.in: Regenerate.
2005-01-27 19:13:54 +00:00
Jeff Johnston
dbfa92dd94
2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/string.h: Remove Linux-specific declaration of
strsignal and add #include <sys/string.h>.
* libc/include/sys/string.h: New file.
* libc/include/sys/linux/sys/string.h: New file with strsignal
declaration deleted above.
2005-01-24 18:46:09 +00:00
Jeff Johnston
6cb0c05514
2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/time/strftime.c (strftime): Change %r and %x to be compliant
to POSIX standard for "C" locale. Allow %E and %O modifiers
to be ignored as long as they precede valid specifiers according
to POSIX.
2005-01-20 19:56:27 +00:00
Jeff Johnston
524298079c
2005-01-19 Shaun Jackman <sjackman@gmail.com>
...
* libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
environment variable is set.
2005-01-20 17:31:04 +00:00
Jeff Johnston
f693170ab3
2005-01-19 Shaun Jackman <sjackman@gmail.com>
...
* tzset_r.c (_tzname): Add a comma.
2005-01-19 16:44:42 +00:00
Aldy Hernandez
464d01bf6e
* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
...
_VFPRINTF_R.
2005-01-18 17:08:55 +00:00
Jeff Johnston
7cd6e35969
Fix typo.
2005-01-10 16:24:12 +00:00
Jeff Johnston
f7a74742e6
2005-01-07 Paul Brook <paul@codesourcery.com>
...
* configure.in: Add test for .init_array.
* configure: Regenerate.
* newlib.hin: Add HAVE_INITFINI_ARRAY.
* libc/misc/Makefile.am: Add init.c
* libc/misc/Makefile.in: Regenerate.
* libc/misc/init.c: New file.
* libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
_init/_fini if they exist.
2005-01-07 18:04:39 +00:00
Jeff Johnston
8fa6cb9a5d
2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/strtod.c (_strtod_r): Add NaN support.
* (strtof): Ditto.
* libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
* Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
functions for use by strtod and strtof.
* Makefile.in: Regenerated.
2005-01-06 23:31:56 +00:00
Jeff Johnston
034a3909ae
2005-01-06 Hans-Peter Nilsson <hp@axis.com>
...
* libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
bit-test in combination with NULL test.
2005-01-06 20:10:56 +00:00
Jeff Johnston
5cc3f59253
Add missing ChangeLog entry for 1.13.0 release.
...
2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
* NEWS: Update with 1.13.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.13.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.13.
2005-01-06 20:05:37 +00:00
Jeff Johnston
9918ea2da9
2005-01-06 Hans-Peter Nilsson <hp@axis.com>
...
* README: Fix typo of LGPL. Change "license" to "copyright".
2005-01-06 19:38:30 +00:00
Jeff Johnston
a9c42bde0b
2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* NEWS: Update with 1.13.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.13.0.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4: Ditto.
* doc/configure: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/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.13.
2004-12-17 22:48:16 +00:00
Jeff Johnston
d8ae996c41
2004-12-17 Christian Groessler <chris@groessler.org>
...
* libc/machine/z8k/memcmp.S: New file.
* libc/machine/z8k/memcpy.S: Ditto.
* libc/machine/z8k/memmove.S: Ditto.
* libc/machine/z8k/memset.S: Ditto.
* libc/machine/z8k/Makefile.am: Add new files.
* libc/machine/z8k/Makefile.in: Regenerated.
* libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
part. Implement Z8002 stdcall version.
2004-12-17 20:17:13 +00:00
Jeff Johnston
82673116e1
2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/fread.c (fread): For unbuffered I/O, attempt
a low-level read if we don't get the full amount of bytes so
EOF or error flags will be set.
2004-12-13 19:42:16 +00:00
Jeff Johnston
0082d4cf57
2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
...
* libc/time/tzset_r (_tzset_r): Properly skip over
'/' when it is detected.
2004-12-09 21:36:48 +00:00
Jeff Johnston
3b54b74f3a
2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
...
* libc/time/tzset_r (_tzset_r): Fix loop.
2004-12-08 18:12:28 +00:00
Jeff Johnston
4b30e15471
2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
...
* libc/time/mktm_r (_mktm_r): Fix overflow calculation for
m_day.
(__tzcalc_limits): Fix reference to month array to be zero-based.
2004-12-08 17:54:38 +00:00
Jeff Johnston
465eab2eb4
2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
and usleep.
2004-12-07 18:54:28 +00:00
Jeff Johnston
a2b1a849d1
2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
...
* Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
libgcc dependencies.
(libm_la_LDFLAGS): Ditto.
* Makefile.in: Regenerated.
2004-12-03 23:46:28 +00:00
Jeff Johnston
c80a17311c
2004-12-03 Shaun Jackman <sjackman@gmail.com>
...
* libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
our link to use readlink so as to preserve any relative link created
by install-toollibLIBRARIES.
* libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
2004-12-03 21:20:15 +00:00
Jeff Johnston
70e9da4249
2004-12-02 Shaun Jackman <sjackman@gmail.com>
...
* libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
time_t before including sys/stat.h, which uses it.
* libc/sys/linux/sys/stat.h: Include <sys/types.h> and
<linux/time.h> just prior to definition of __KERNEL__ so as to
allow building on Debian Linux where otherwise, mktime would
be redefined.
2004-12-02 19:30:56 +00:00
Jeff Johnston
a330d85a45
2004-11-26 Paul Brook <paul@codesourcery.com>
...
* libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
2004-11-26 16:42:10 +00:00
Jeff Johnston
9aa189be83
2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/stdlib.h (putenv, _putenv_r): Change to remove
const for value string parameter to match Single Unix and glibc.
* libc/stdlib/putenv.c: Ditto.
* libc/stdlib/putenv_r.c: Ditto.
2004-11-24 22:34:47 +00:00
Jeff Johnston
c41a1cb7d8
2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/stdlib.h (putenv, _putenv_r): Change to remove
const for value string parameter.
* libc/stdlib/putenv.c: Ditto.
* libc/stdlib/putenv_r.c: Ditto.
2004-11-24 22:34:15 +00:00
Jeff Johnston
16ac96ee69
2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/Makefile.am: Fix missing vfscanf.
* libc/stdio/Makefile.in: Regenerated.
2004-11-24 22:31:05 +00:00
Jeff Johnston
3bf091476a
2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/stdio.h: Add new iprintf and iscanf variants. Also
do some reordering.
* libc/machine/powerpc/vfscanf.c: Remove __sccl function.
* libc/stdio/Makefile.am: Add support for new iprintf and iscanf
family functions.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/fiprintf.c: Remove doc to siprintf.c.
* libc/stdio/iprintf.c: Ditto.
* libc/stdio/local.h (__svfiscanf_r): New prototype.
* libc/stdio/siprintf.c: Add docs for various iprintf family functions.
* libc/stdio/sniprintf.c: Move docs to siprintf.c.
* libc/stdio/stdio.tex: Add new functions.
* libc/stdio/vfscanf.c: Split out __sccl function to separate
file and add special name defines so this file can be used
to build vfiscanf.o.
* libc/stdio/asiprintf.c: New file.
* libc/stdio/fiscanf.c: Ditto.
* libc/stdio/iscanf.c: Ditto.
* libc/stdio/sccl.c: Ditto.
* libc/stdio/siscanf.c: Ditto.
* libc/stdio/vasiprintf.c: Ditto.
* libc/stdio/viprintf.c: Ditto.
* libc/stdio/viscanf.c: Ditto.
* libc/stdio/vsiprintf.c: Ditto.
* libc/stdio/vsiscanf.c: Ditto.
* libc/stdio/vsniprintf.c: Ditto.
2004-11-24 00:45:41 +00:00
Jeff Johnston
0f0fcb042a
2004-11-19 Shaun Jackman <sjackman@gmail.com>
...
* libc/include/stdio.h: Add sniprintf.
* libc/stdio/Makefile.am: Add sniprintf.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/sniprintf.c: New file.
* libc/stdio/stdio.tex: Add sniprintf.
2004-11-20 01:42:35 +00:00
Christopher Faylor
1f8f7e2d54
* libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear EOF
...
flag if successful.
2004-11-17 17:02:10 +00:00
Christopher Faylor
334ba104fe
tweak wording
2004-10-28 15:55:22 +00:00
Christopher Faylor
b08d08c7c4
* libc/include/sys/signal.h: Move <signal.h> include to bottom of file so that
...
all relevant definitions have been handled for use in the include.
2004-10-28 15:06:47 +00:00
Jeff Johnston
65b1964f1a
2004-10-26 Jason Tishler <jason@tishler.net>
...
* libc/stdio/fread.c (fread): Fix return value for unbuffered
fread.
2004-10-26 18:21:09 +00:00
Jeff Johnston
6382b7e379
Fix date typo.
2004-10-25 17:56:05 +00:00
Jeff Johnston
06b5ef6e7d
2001-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* libc/include/machine/setjmp.h: Add AVR support.
* libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
2004-10-25 17:53:19 +00:00
Jeff Johnston
73131c2d20
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/signal.h: If <signal.h> didn't include
this header file, include <signal.h> to account for
applications that take advantage that the two header
files are the same in glibc.
2004-10-08 17:40:57 +00:00
Jeff Johnston
1185687a7b
2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
...
* configure.host: Add support for crx.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/machine/crx/Makefile.am: New file.
* libc/machine/crx/configure.in: Ditto.
* libc/machine/crx/setjmp.S: Ditto.
* libc/machine/crx/getenv.c: Ditto.
* libc/machine/crx/aclocal.m4: Generate.
* libc/machine/crx/configure: Ditto.
* libc/machine/crx/Makefile.in: Ditto.
* libc/machine/crx/sys/asm.h: New file.
* libc/machine/crx/sys/libh.h: Ditto.
* libc/machine/crx/sys/syscall.h: Ditto.
2004-10-05 19:44:24 +00:00
Jeff Johnston
423152ed0a
2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
...
* Makefile.am (stmp-targ-include): Support sys header files
from machine directories.
* Makefile.in: Regenerated.
2004-10-05 19:34:25 +00:00
Jeff Johnston
3ea9de7644
2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
count skipped zero characters as part of the nread count for %n.
* libc/machine/powerpc/vfscanf.c: Ditto.
2004-10-04 17:51:50 +00:00
Jeff Johnston
2a6e122363
2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/local.h: Include <stdlib.h>.
2004-09-24 16:03:46 +00:00
Corinna Vinschen
d163f2fc83
* libc/stdio/fread.c (fread): Include <malloc.h>.
2004-09-24 09:13:11 +00:00
Jeff Johnston
602de58268
2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/fread.c (fread): For non-space-optimized case,
add special code for unbuffered files to use user buffer and
only require one low-level system read.
2004-09-22 21:22:07 +00:00
Ian Lance Taylor
32e73f4dd0
* libc/machine/xscale/setjmp.S: New file, copied from
...
libc/machine/arm/setjmp.S.
* libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
* libc/machine/xscale/Makefile.in: Regenerate.
2004-09-21 18:41:02 +00:00
Jeff Johnston
ed6859b8f0
2004-09-16 Antony King <antony.king@st.com>
...
* libc/include/sys/lock.h: Replaced empty {} with (0) to conform
with locking API.
* libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
check for__SSTR in _flags and if set, skip lock request.
(_funlockfile)[!SINGLE_THREAD]: Ditto.
* libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
not NULL.
* libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
initialisation of _file to -1 in local FILE.
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
* libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
* libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
* libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
_flags in local FILE to prevent locking.
* libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2004-09-16 21:30:51 +00:00
Jeff Johnston
7a0f696676
2004-09-16 Antony King <antony.king@st.com>
...
* libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
and only walk the reentrancy parameter.
(_fwalk_reent): Ditto.
* libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
2004-09-16 21:26:51 +00:00
Jeff Johnston
c77672c0fd
2004-09-16 Antony King <antony.king@st.com>
...
* libc/stdio64/freopen64.c: Remove casting of fp lock to
_LOCK_RECURSIVE_T.
2004-09-16 21:18:50 +00:00
Jeff Johnston
5c44c2e546
2004-09-16 Antony King <antony.king@st.com>
...
* libc/time/tzlock.c: Add default stubs that use generic
locking code.
2004-09-16 21:16:59 +00:00
Jeff Johnston
14613e5e74
2004-09-16 Antony King <antony.king@st.com>
...
* libc/ctype/ctype.tex: Added missing documentation.
* libc/stdio/stdio.tex Ditto.
* libc/stdlib/stdlib.tex Ditto.
* libc/string/strings.tex Ditto.
* libc/time/time.tex: Ditto.
* libc/stdio/setbuffer.c: Removed setlinebuf documentation.
2004-09-16 21:15:14 +00:00
Jeff Johnston
181cb05147
2004-09-15 Corinna Vinschen <vinschen@redhat.com>
...
* libc/reent/impure.c (reent_data): Define as alias to impure_data
when building for Cygwin.
* libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
_global_impure_ptr.
2004-09-15 21:44:39 +00:00
Jeff Johnston
51d4a7eae1
2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: Reverting 2004-09-14 change as fix has occurred on
Cygwin side.
* configure.in: Ditto.
* libc/configure.in: Ditto.
* libc/sys/configure.in: Ditto.
* configure: Ditto.
* libc/configure: Ditto.
* libc/sys/configure: Ditto.
* libc/include/sys/reent.h: Ditto.
* libc/stdlib/__atexit.c: Ditto.
* libc/stdlib/__call_atexit.c: Ditto.
* libc/stdlib/cxa_atexit.c: Ditto.
* libc/stdlib/cxa_finalize.c: Ditto.
* libc/sys/cygwin/Makefile.am: Removed again.
* libc/sys/cygwin/Makefile.in: Ditto.
* libc/sys/cygwin/aclocal.m4: Ditto.
* libc/sys/cygwin/configure: Ditto.
* libc/sys/cygwin/configure.in: Ditto.
* libc/sys/cygwin/dummy.c: Ditto.
* libc/sys/cygwin/sys/reent.h: Ditto.
2004-09-15 20:50:08 +00:00
Jeff Johnston
98650d2fa2
2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: Add Cygwin sys directory.
* configure.in: Do not set CRT0 for cygwin.
* libc/configure.in: Ditto.
* libc/sys/configure.in: Ditto.
* configure: Regenerated.
* libc/configure: Ditto.
* libc/sys/configure: Ditto.
* libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
* libc/stdlib/__atexit.c: Keep cxa support protected by new
__REENT_HAS_CXA_SUPPORT flag.
* libc/stdlib/__call_atexit.c: Ditto.
* libc/stdlib/cxa_atexit.c: Ditto.
* libc/stdlib/cxa_finalize.c: Ditto.
* libc/sys/cygwin/Makefile.am: New file.
* libc/sys/cygwin/Makefile.in: Ditto.
* libc/sys/cygwin/aclocal.m4: Ditto.
* libc/sys/cygwin/configure: Ditto.
* libc/sys/cygwin/configure.in: Ditto.
* libc/sys/cygwin/dummy.c: Ditto.
* libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
version of reent.h.
2004-09-14 18:12:53 +00:00
Jeff Johnston
d4c8e53b22
2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
...
* libc/iconv/iconv.tex: Updated with new content.
* libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
instead of NLS_DEFAULT_NLSPATH.
* libc/iconv/lib/iconvnls.h: Fix typo.
* libc/include/sys/iconvnls.h: New file.
2004-09-13 17:10:20 +00:00
Jeff Johnston
0c8593cf11
2004-09-09 Paul Brook <paul@codesourcery.com>
...
* libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
and _is_cxa.
(struct _atexit): Add _next when _REENT_SMALL.
(struct _reent): Add _atexit0 when _REENT_SMALL.
(_REENT_INIT_PTR): Adjust.
* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
__call_exit.c.
(EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/__atexit.c: New file.
* libc/stdlib/__call_atexit.c: New file.
* libc/stdlib/atexit.h: Remove old definitions. Add new.
* libc/stdlib/atexit.c (atexit): Use __register_exitproc.
* libc/stdlib/cxa_atexit.c: New file.
* libc/stdlib/cxa_finalize.c: New file.
* libc/stdlib/exit.c (exit): Use __call_exitprocs.
* libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/reent/reent.c [_REENT_SMALL]: Fix reference to
_on_exit_args_ptr.
2004-09-09 19:46:54 +00:00
Jeff Johnston
c6ed5a8599
2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/unistd.h (getpass): Change prototype to use
const instead of __const.
2004-08-23 18:39:52 +00:00
Jeff Johnston
721a934c16
2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
...
* libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
#if.
2004-08-16 17:09:31 +00:00
Jeff Johnston
4e53fc28a8
2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/sys/types.h (u64): New typedef to allow building
on linux systems with glibc 2.3.3 installed.
* libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
profile_fixup so newlib can build on fc3 system.
2004-08-12 21:28:35 +00:00
Alexandre Oliva
82045f1221
Introduce SH2a support.
...
2004-03-16 Corinna Vinschen <vinschen@redhat.com>
* libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
__SH2A_SINGLE_ONLY__, too.
* libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
2004-02-24 Corinna Vinschen <vinschen@redhat.com>
* libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
2004-02-10 DJ Delorie <dj@redhat.com>
* libc/sys/sh/crt0.S (start_l): Support sh2a.
2004-07-30 09:03:39 +00:00
Jeff Johnston
ad6b1d792b
2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/time/strptime.c: Correct full-name of "March" typo.
2004-07-29 15:54:18 +00:00
Jeff Johnston
63b9dcc472
2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
...
* configure.host (h8300*-*-*): Default long long printing support.
2004-07-16 21:40:22 +00:00
Jeff Johnston
dbfd3394e9
2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
calls, if realloc fails, free up buffer as it is no longer
used.
2004-07-16 15:47:15 +00:00
Jeff Johnston
6edb3da9ac
2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
...
* libc/iconv/iconv.tex: Updated to represent recent changes.
* libc/iconv/lib/iconv.c: Documentation updated.
2004-07-07 17:26:38 +00:00
Nick Clifton
578a35608f
Define PREFER_SIZE_OVER_SPEED for xStormy16 target
2004-07-07 08:15:26 +00:00
Jeff Johnston
2bc257e360
2004-07-06 Chris Demetriou <cgd@broadcom.com>
...
* configure.host (mips*-*-elf*): Default long long printing
support.
2004-07-06 23:32:08 +00:00
Jeff Johnston
75e7ffaa56
2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/Makefile.am (libc.dvi): Add target and specify
same dependencies as libc.info.
* libc/Makefile.in: Regenerated.
* libm/Makefile.am (libm.dvi): Add target and specify
same dependencies as libm.info.
* libm/Makefile.in: Regenerated.
2004-07-05 18:44:55 +00:00
Jeff Johnston
76ce12c360
2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
...
* acinclude.m4: Move --enable-newlib-iconv option back here.
* configure.in: Remove --enable-newlib-iconv option. Don't
tie iconv support to --enable-newlib-mb.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4, doc/configure: Ditto.
* iconvdata/aclocal.m4, iconvdata/configure: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
* libc/*/aclocal.m4: Ditto.
* libc/*/configure: Ditto.
2004-06-29 21:53:35 +00:00
Jeff Johnston
d68d3538bb
Fix up latest entry that was missing some comments.
2004-06-25 21:37:59 +00:00
Jeff Johnston
4682922f81
Changed sticky flags to -kb.
2004-06-25 21:14:40 +00:00
Jeff Johnston
95d5d73281
Need to change sticky flags to -kb.
2004-06-25 21:10:31 +00:00
Jeff Johnston
660dade387
2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
...
* acinclude.m4: Move iconv options into configure.in.
* aclocal.m4: Regenerated.
* configure: Ditto.
* configure.in: Add iconv options.
* newlib.hin: Add new iconv encodings and remove deleted ones.
* doc/aclocal.m4: Regenerated.
* doc/configure: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/configure: Ditto.
* libc/iconv: Design change. New size-optimized ccs format.
* libc/iconv/AUTHORS: Removed.
* libc/iconv/COPYING: Ditto.
* libc/iconv/README.ORIGINAL: Ditto.
* libc/iconv/README.TODO: Ditto.
* libc/iconv/charset.aliases: Ditto.
* libc/iconv/encoding.aliases: New file.
* libc/iconv/Makefile.am: Updated.
* libc/iconv/Makefile.in: Regenerated.
* libc/iconv/iconv.tex: Updated.
* libc/iconv/ccs/Makefile.am: Ditto.
* libc/iconv/ccs/Makefile.in: Regenerated.
* libc/iconv/ccs/big5.c: Updated.
* 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/iso_8859_1.c: Ditto.
* libc/iconv/ccs/README.CCS.SOURCES: Removed.
* libc/iconv/ccs/gb_2312_80.c: Ditto.
* libc/iconv/ccs/iconv_mktbl: Ditto.
* libc/iconv/ccs/jis_x0201.c: Ditto.
* libc/iconv/ccs/jis_x0208_1983.c: Ditto.
* libc/iconv/ccs/shift_jis.c: Ditto.
* libc/iconv/ccs/us_ascii.c: Ditto.
* libc/iconv/ccs/ccs.h: New file.
* libc/iconv/ccs/ccsbi.c: Ditto.
* libc/iconv/ccs/ccsbi.h: Ditto.
* libc/iconv/ccs/ccsnames.h: Ditto.
* libc/iconv/ccs/iso_8859_10.c: Ditto.
* libc/iconv/ccs/iso_8859_11.c: Ditto.
* libc/iconv/ccs/iso_8859_13.c: Ditto.
* libc/iconv/ccs/iso_8859_14.c: Ditto.
* libc/iconv/ccs/iso_8859_3.c: Ditto.
* libc/iconv/ccs/iso_8859_6.c: Ditto.
* libc/iconv/ccs/iso_8859_7.c: Ditto.
* libc/iconv/ccs/iso_8859_8.c: Ditto.
* libc/iconv/ccs/iso_8859_9.c: Ditto.
* libc/iconv/ccs/iso_ir_111.c: Ditto.
* libc/iconv/ccs/jis_x0201_1976.c: Ditto.
* libc/iconv/ccs/jis_x0208_1990.c: Ditto.
* libc/iconv/ccs/koi8_ru.c: Ditto.
* libc/iconv/ccs/koi8_uni.c: Ditto.
* libc/iconv/ccs/mktbl.pl: Ditto.
* libc/iconv/ccs/win_1250.c: Ditto.
* libc/iconv/ccs/win_1251.c: Ditto.
* libc/iconv/ccs/win_1252.c: Ditto.
* libc/iconv/ccs/win_1253.c: Ditto.
* libc/iconv/ccs/win_1254.c: Ditto.
* libc/iconv/ccs/win_1255.c: Ditto.
* libc/iconv/ccs/win_1256.c: Ditto.
* libc/iconv/ccs/win_1257.c: Ditto.
* libc/iconv/ccs/win_1258.c: Ditto.
* 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_x0212_1990.c
* libc/iconv/ccs/koi8_r.c
* libc/iconv/ccs/koi8_u.c
* libc/iconv/ccs/ksx1001.c
* libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
* libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
* libc/iconv/ccs/binary/shift_jis.cct: Ditto.
* libc/iconv/ccs/binary/us_ascii.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
* libc/iconv/ccs/binary/Makefile.am: Updated.
* libc/iconv/ccs/binary/Makefile.in: Regenerated.
* libc/iconv/ccs/binary/big5.cct: Updated.
* 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: Updated.: Ditto.
* libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
* libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
* libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
* libc/iconv/ccs/binary/cp866.cct: Ditto.: 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_4.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_2.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/iso_8859_10.cct: New file.
* libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
* libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
* libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
* libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
* libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
* libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
* libc/iconv/ccs/binary/win_1250.cct: Ditto.
* libc/iconv/ccs/binary/win_1251.cct: Ditto.
* libc/iconv/ccs/binary/win_1252.cct: Ditto.
* libc/iconv/ccs/binary/win_1253.cct: Ditto.
* libc/iconv/ccs/binary/win_1254.cct: Ditto.
* libc/iconv/ccs/binary/win_1255.cct: Ditto.
* libc/iconv/ccs/binary/win_1256.cct: Ditto.
* libc/iconv/ccs/binary/win_1257.cct: Ditto.
* libc/iconv/ccs/binary/win_1258.cct: Ditto.
* libc/iconv/ces/Makefile.am: Updated.
* libc/iconv/ces/Makefile.in: Regenerated.
* libc/iconv/ces/ucs-2-internal.c: Updated.
* libc/iconv/ces/ucs-4-internal.c: Ditto.
* libc/iconv/ces/utf-16.c: Ditto.
* libc/iconv/ces/utf-8.c: Ditto.
* libc/iconv/ces/cesbi.c: New file.
* libc/iconv/ces/cesbi.h: Ditto.
* libc/iconv/ces/cesdeps.h: Ditto.
* libc/iconv/ces/euc.c: Ditto.
* libc/iconv/ces/mkdeps.pl: Ditto.
* libc/iconv/ces/table-pcs.c: Ditto.
* libc/iconv/ces/table.c: Ditto.
* libc/iconv/ces/ucs-2.c: Ditto.
* libc/iconv/ces/ucs-4.c: Ditto.
* libc/iconv/ces/us-ascii.c: Ditto.
* libc/iconv/ces/euc-jp.c: Removed.
* 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.: Ditto.c
* libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
* libc/iconv/lib/Makefile.am: Updated.
* libc/iconv/lib/Makefile.in: Regenerated.
* libc/iconv/lib/endian.h: Updated.
* libc/iconv/lib/iconv.c: Ditto.
* libc/iconv/lib/local.h: Ditto.
* libc/iconv/lib/aliases.c: Removed.
* libc/iconv/lib/bialiasesi.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/aliasesbi.c: Ditto.
* libc/iconv/lib/aliasesi.c: Ditto.
* libc/iconv/lib/conv.h: Ditto.
* libc/iconv/lib/encnames.h: Ditto.
* libc/iconv/lib/encoding.deps: Ditto.
* libc/iconv/lib/iconvnls.c: Ditto.
* libc/iconv/lib/iconvnls.h: Ditto.
* libc/iconv/lib/loaddata.c: Ditto.
* libc/iconv/lib/nullconv.c: Ditto.
* libc/iconv/lib/ucsconv.c: Ditto.
* libc/iconv/lib/ucsconv.h: Ditto.
* libc/include/iconv.h: Update copyright.
* libc/*/aclocal.m4: Regenerated.
* libc/*/configure: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
2004-06-25 20:33:28 +00:00
Alexandre Oliva
d5503f5e19
2003-07-02 Richard Sandiford <rsandifo@redhat.com>
...
* libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
* libc/machine/h8300/defines.h (LEN): New macro.
* libc/machine/h8300/memcpy.S: Add h8sx version.
* libc/machine/h8300/memset.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/machine/h8300/setjmp.S: Use h8sx move instructions.
* libc/machine/h8300/h8sx_strcpy.S: New file.
2003-06-30 Richard Sandiford <rsandifo@redhat.com>
* libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
__H8300SX__.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/h8300/defines.h: Likewise.
* libc/machine/h8300/setjmp.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/sys/h8300hms/close.S: Likewise.
* libc/sys/h8300hms/fstat.S: Likewise.
* libc/sys/h8300hms/lseek.S: Likewise.
* libc/sys/h8300hms/read.S: Likewise.
* libc/sys/h8300hms/write.S: Likewise.
* libc/sys/h8300hms/crt0.S: Likewise.
* libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
__H8300SX__ is defined.
* libc/sys/h8300hms/setarch.h: Likewise.
2004-06-23 14:01:58 +00:00
Alexandre Oliva
eb6a452aae
* libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
...
instead of typedefing jmp_buf.
2004-06-22 22:11:54 +00:00
Alexandre Oliva
9a6831be86
2003-07-02 Richard Sandiford <rsandifo@redhat.com>
...
* libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
* libc/machine/h8300/defines.h (LEN): New macro.
* libc/machine/h8300/memcpy.S: Add h8sx version.
* libc/machine/h8300/memset.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/machine/h8300/setjmp.S: Use h8sx move instructions.
* libc/machine/h8300/h8sx_strcpy.S: New file.
2003-06-30 Richard Sandiford <rsandifo@redhat.com>
* libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
__H8300SX__.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/h8300/defines.h: Likewise.
* libc/machine/h8300/setjmp.S: Likewise.
* libc/machine/h8300/strcmp.S: Likewise.
* libc/sys/h8300hms/close.S: Likewise.
* libc/sys/h8300hms/fstat.S: Likewise.
* libc/sys/h8300hms/lseek.S: Likewise.
* libc/sys/h8300hms/read.S: Likewise.
* libc/sys/h8300hms/write.S: Likewise.
* libc/sys/h8300hms/crt0.S: Likewise.
* libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
__H8300SX__ is defined.
* libc/sys/h8300hms/setarch.h: Likewise.
2004-06-22 21:54:52 +00:00
Jeff Johnston
80dba41eb2
2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/reent.h (_GLOBAL_REENT): Back
out change which set _GLOBAL_REENT to _global_impure_ptr until
we understand why Cygwin breaks because of it.
2004-06-18 00:33:53 +00:00
Jeff Johnston
be9105991c
2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/machine/i386/syscall.h: For now, set up
__syscall_return macro for systems with vsyscall.
2004-06-14 20:57:07 +00:00
Jeff Johnston
d0bd3e6f56
2004-06-11 Antony King <antony.king@st.com>
...
* libc/include/sys/_types.h: Include <sys/lock.h> and change
_flock_t to be of type _LOCK_RECURSIVE_T.
* libc/include/sys/reent.h: (_REENT_INIT): Reformat.
(_REENT_INIT_PTR): Ditto. Use memset where appropriate.
(_global_impure_ptr): New declaration.
(_GLOBAL_REENT): Change to be _global_impure_ptr.
* libc/include/sys/stdio.h: Include <sys/lock.h> and
<sys/reent.h>.
(_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
(_funlockfile)[!SINGLE_THREAD]: Ditto.
* libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
* libc/stdio/fclose.c: Remove casting of fp lock to
_LOCK_RECURSIVE_T.
* libc/stdio/findfp.c: Ditto.
* libc/stdio/fopen.c: Ditto.
* libc/stdio/freopen.c: Ditto.
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio64/fopen64.c: Ditto.
* libc/stdlib/envlock.c: Add default stubs that use generic
locking code.
* libc/stdlib/mlock.c: Ditto.
Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
(_flock_t): Change to be a struct containing a single member
named mutex which is of type __flock_mutex_t.
2004-06-11 20:37:10 +00:00
Jeff Johnston
db7033a958
2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/Makefile.am: Change siglist.inc to be generated
from /usr/include/asm/signal.h instead of kernel sources. Also
default max to 32 if not found in header file.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
systems where __syscall_return is not defined.
* libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
systems to use syscall() function instead of assembler interrupt.
2004-06-09 20:43:43 +00:00
Jeff Johnston
a170abec08
2004-06-09 Toralf Lund <toralf@procaptura.com>
...
* libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
files from libc/sys/arm to libc/machine/arm.
* libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
library build support for files moved from libc/sys/arm.
* libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
references to access and setjmp.
* configure.host: Add checks for newlib_may_supply_syscalls to
determine whether or not to use sys/arm directory and use
special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
2004-06-09 19:05:09 +00:00
Jeff Johnston
8b57e664af
2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
reset digit flags appropriately after we have discovered "0x".
* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2004-06-02 19:22:14 +00:00
Jeff Johnston
3f611058b7
2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
from here ...
(_VFPRINTF_R): ... to here so all I/O printf routines
are covered.
2004-05-27 14:56:54 +00:00
Jeff Johnston
bb42a35c42
2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/search/hash_buf.c: Protect MAX and MIN macros from
redefinition.
* libc/search/hash.c: Ditto.
2004-05-26 17:57:10 +00:00
Jeff Johnston
227e6ef6c3
2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* newlib.hin: (_WANT_IO_POS_ARGS): New define.
(_WANT_IO_LONG_LONG): Ditto.
(_WANT_IO_LONG_DOUBLE): Ditto.
* configure.in: Add new configuration options
--enable-newlib-io-long-long and --enable-newlib-io-long-double
which tie to new defines in newlib.hin.
* configure: Regenerated.
* configure.host: Add checks for new configuration options. Also
fix up check for --enable-newlib-io-pos-args so configuration
option will override any default for a given platform.
Remove defining compiler flags for the _WANT_IO* options.
* libc/stdio/vfprintf.c: Change to use new newlib.hin defines
instead of looking for old compiler flags.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/vfieeefp.h: Ditto.
* libc/machine/powerpc/vfprintf.c: Ditto.
* libc/machine/powerpc/vfscanf.c: Ditto.
2004-05-26 00:19:14 +00:00
Jeff Johnston
9178da9597
2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
...
* testsuite/include/check.h: Add include of <stdio.h>.
2004-05-25 20:52:21 +00:00
Corinna Vinschen
cf3aae91e2
* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
2004-05-17 16:06:14 +00:00
Jeff Johnston
5b4c8ae219
2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
of free.
2004-05-11 20:59:20 +00:00
Aldy Hernandez
b5793c5c8c
* libc/include/machine/endian.h: Add missing endif.
2004-05-08 17:13:38 +00:00
Jeff Johnston
186420eccf
2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
list for reentrant pointer. Call _vfiprintf_r.
* libc/stdio/siprintf.c (_siprintf_r): New function.
* libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
pointer argument. Change all callers. Call _VFPRINTF_R.
* libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
prototypes.
2004-05-07 21:00:41 +00:00
Jeff Johnston
631fbe65fa
2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/param.h: Remove endian info and include
<machine/endian.h> instead.
* libc/include/machine/endian.h: New file.
* libc/include/machine/param.h: Ditto.
* libc/machine/arm/machine/endian.h: Ditto.
* libc/machine/arm/machine/param.h: Ditto.
* libc/sys/arm/sys/param.h: Removed.
* libc/sys/sysvi386/sys/param.h: Ditto.
* libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
2004-05-07 20:39:57 +00:00
Jeff Johnston
f1559722eb
2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/param.h: Remove endian info and include
<machine/endian.h> instead.
* libc/include/machine/endian.h: New file.
* libc/machine/arm/machine/endian.h: Ditto.
* libc/machine/arm/machine/param.h: Ditto.
* libc/sys/arm/sys/param.h: Removed.
* libc/sys/sysvi386/sys/param.h: Ditto.
* libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
2004-05-07 20:29:24 +00:00
Jeff Johnston
1af84bb7f5
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
multibyte functions return failure for %C, %S, %lc, and %ls
format specifiers.
2004-05-03 20:17:59 +00:00
Jeff Johnston
1c63798e1d
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* testsuite/include/check.h (CHECK): Add flush of stdout.
2004-05-03 17:31:22 +00:00
Jeff Johnston
20b0251ab3
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* libc/include/stdio.h (_ungetc_r): New prototype.
* libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
(__submore): Add reentrant struct pointer argument.
(ungetc): Change to call _ungetc_r.
2004-05-03 17:27:56 +00:00
Jeff Johnston
6194cf4a4b
2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* libc/stdio/local.h (_fwalk_reent): Specify prototype of
function pointer argument.
* libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
to specify function pointer arguments.
(__fwalk, __fwalk_reent): Ditto.
2004-04-28 18:02:38 +00:00
Aldy Hernandez
b4ddf48953
* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
...
CT_INT case.
2004-04-26 22:43:34 +00:00
Jeff Johnston
f777e3a5ac
2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
...
* configure.in: Define _MB_CAPABLE if mb supported.
* configure: Regenerated.
* configure.host: Remove manual setting of MB_CAPABLE compiler
flag.
* newlib.hin: Add _MB_CAPABLE flag.
* libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
and check for _MB_CAPABLE flag instead of MB_CAPABLE.
* libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
* libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
* libc/ctype/jp2uc.c: Ditto.
* libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
* libc/locale/locale.c: Ditto
* libc/machine/powerpc/vfscanf.c: Ditto
* libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
* libc/stdlib/mblen.c: Ditto
* libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
* libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
* libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
* libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
* libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
* libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
* libc/sys/linux/intl/explodename.c: Ditto
* libc/sys/linux/intl/finddomain.c: Ditto
* libc/sys/linux/intl/l10nflist.c: Ditto
* libc/sys/linux/intl/loadmsgcat.c: Ditto
* libc/sys/linux/intl/localealias.c: Ditto
2004-04-23 21:44:22 +00:00
Jeff Johnston
27c7566ca4
2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
(__svfscanf_r): In integer conversions, leave out leading zeroes
which are not part of a base prefix.
Keep track of width truncation to fit into buf, not counting left-out
zeroes against width till the truncation has been compensated for.
This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
2004-04-23 21:30:04 +00:00
Jeff Johnston
c00f971933
2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
2004-04-23 20:06:03 +00:00