Jeff Johnston
7501704dc9
2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/asprintf.c: New file.
* libc/stdio/vasprintf.c: Ditto.
* libc/stdio/fvwrite.c: Add code to dynamically reallocate
the buffer for asprintf support.
* libc/stdio/sprintf.c: Add asprintf documentation.
* libc/stdio/vfprintf.c: Add vasprintf documentation.
* libc/include/stdio.h: Add new prototypes.
2002-07-04 18:56:17 +00:00
Thomas Fitzsimmons
e71372faea
* libc/include/sys/stdio.h: New file.
...
* libc/sys/linux/sys/stdio.h: New file.
* libc/include/stdio.h: Add declarations for flockfile,
ftrylockfile, and funlockfile. Include <sys/stdio.h>.
* libc/stdio/clearerr.c: Add file locking.
* libc/stdio/fclose.c: Likewise.
* libc/stdio/feof.c: Likewise.
* libc/stdio/ferror.c: Likewise.
* libc/stdio/fflush.c: Likewise.
* libc/stdio/fgetc.c: Likewise.
* libc/stdio/fgetpos.c: Likewise.
* libc/stdio/fgets.c: Likewise.
* libc/stdio/fileno.c: Likewise.
* libc/stdio/fputc.c: Likewise.
* libc/stdio/fputs.c: Likewise.
* libc/stdio/fread.c: Likewise.
* libc/stdio/freopen.c: Likewise.
* libc/stdio/fseek.c: Likewise.
* libc/stdio/ftell.c: Likewise.
* libc/stdio/fwrite.c: Likewise.
* libc/stdio/getc.c: Likewise.
* libc/stdio/putc.c: Likewise.
* libc/stdio/setvbuf.c: Likewise.
* libc/stdio/ungetc.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
2002-05-08 00:12:49 +00:00
Jeff Johnston
afecf2faee
2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: Add check for --disable-newlib-io-float
configuration option and add -DNO_FLOATING_POINT to newlib cflags
if appropriate.
* acinclude.m4: Added --disable-newlib-io-float option.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
* libc/*/aclocal.m4 libc/*/configure
* libm/*/aclocal.m4 libm/*/configure: Ditto.
* libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
if NO_FLOATING_POINT flag is not defined.
2002-02-27 23:56:24 +00:00
Nick Clifton
188bc140c0
Handle printf ("%#.0o",0);
2001-05-28 18:22:44 +00:00
Alexandre Oliva
6f637037e5
* libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
...
equivalent to LONGINT.
2001-03-13 09:42:52 +00:00
Jeff Johnston
e9cd87b82a
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
that suppressed . for %.0f, 0.1. Check now looks if there
are padding zeroes (expt) in addition to any digits (ndig) to
print.
2001-01-23 19:49:09 +00:00
Jeff Johnston
b6182a09dd
2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/ldtoa.c (_ldcheck): New routine
that categorizes a long double as NaN, Infinity, or other.
* libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
isinfl and isnanl static routines which were i386-specific. Changed
calls to the two removed routines to a single _ldcheck call.
* libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2000-12-14 00:25:06 +00:00
Jeff Johnston
b294082c46
2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
...
* libc/stdio/vfprintf.c: Minor modification to avoid requiring
a floating point register unless really printing a floating
point number.
2000-12-08 00:27:39 +00:00
Jeff Johnston
6bdac416e9
2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdio/floatio.h: Added suitable MAXEXP for long double.
* libc/stdio/vfieeefp.h: Added long double bit structures.
* libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
[WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
(exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
* libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
* libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
_strtold routines used for conversions between character
and long double.
2000-12-06 23:50:11 +00:00
Jeff Johnston
5bacbf109f
2000-08-16 Eric Fifer <efifer@sanwaint.com>
...
* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2000-08-16 18:30:40 +00:00
DJ Delorie
91a8d90bab
* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2000-07-13 18:51:11 +00:00
Jeff Johnston
c87be3e4d6
Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
...
* libc/signal/signal.c (_signal_r) : Removed unused local variable temp. * libc/stdio/findfp.c (std): Added declaration of flags and file.
* libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
return type.
* libc/stdio/putchar.c (putchar): Added return statement.
* libc/stdio/refill.c (lflush): Added correct parentheses.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
* libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
prints long value to use l qualifier.
* libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
messages and initialized local values: ilim, ilim1, and spec_case.
* libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
* libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
* libc/stdlib/mprec.c: Ditto.
* libc/stdlib/setenv_r.c: Ditto.
* libc/stdlib/strtod.c: Ditto.
* libc/stdlib/strtol.c: Ditto.
* libc/stdlib/strtoul.c: Ditto.
* libm/common/sf_expm1.c: Added curly braces to if else clauses.
* libm/common/sf_log1p.c: Ditto.
* libm/common/sf_scalbn.c: Ditto.
* libm/math/ef_log.c: Ditto.
2000-04-17 17:10:18 +00:00
Jeff Johnston
b0ba0ac217
Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
...
* libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
call prior to calling _VFPRINTF_R so reentrant data area is set.
(_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2000-02-21 16:59:23 +00:00
Christopher Faylor
8a0efa53e4
import newlib-2000-02-17 snapshot
2000-02-17 19:39:52 +00:00