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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-02-282002-02-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* 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-03* implement a new `struct _reent' that is significantly smaller. use thisMatthew Green
if _REENT_SMALL is defined in config.h. define this for xstormy16.
2002-01-122002-01-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/vfscanf.c (__svfscanf_r): Change loop that reads blanks from the input file to break if EOF reached rather than end processing.
2001-12-18 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equalThomas Fitzsimmons
$(COMPILE) rather than $(CC). * libc/stdio/Makefile.am (LIB_COMPILE): Likewise. (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by $(LIB_COMPILE) change. (vfiprintf.$(oext)): Likewise.
2001-12-14 (vfiprintf.$(oext)): Likewise.Thomas Fitzsimmons
2001-12-14 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) toThomas Fitzsimmons
compile line.
2001-12-14 * Makefile.shared: New file.Thomas Fitzsimmons
* libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
2001-10-242001-10-24 Christopher Faylor <cgf@redhat.com>Jeff Johnston
* libc/stdio/fseek.c: Reset pointer to buffer base when forced to seek outside of current buffer contents. This prevents the code from erroneously thinking there is anything in the current buffer.
2001-10-012001-10-01 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston
* libc/include/stdlib.h: add declarations for _strtoull_r, _strtoll_r, strtoull, and strtoll. * libc/stdio/local.h: remove declarations of __strtoull_r and __strtoll_r. * libc/stdio/vfscanf.c(__svfscanf_r): call _strtoull_r instead of __strtoull_r. Ditto _strtoll_r vs. __strtoll_r. * libc/stdlib/Makefile.am: add new files to .c list and .def list * libc/stdlib/Makefile.in: regenerate * libc/stdlib/strtoll_r.c: rename __strtoll_r as _strtoll_r * libc/stdlib/strtoull_r.c: rename __strtoull_r as _strtoull_r * libc/stdlib/strtoull.c: new file * libc/stdlib/strtoll.c: new file
2001-09-142001-09-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/Makefile.am: Add support to build strtoll_r.c and strtoull_r.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/strtoll_r.c: New file. * libc/stdlib/strtoull_r.c: New file. * libc/stdio/local.h: Add prototypes for long long string conversion routines. * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support tied to %L integer conversion specifier.
2001-05-28Handle printf ("%#.0o",0);Nick Clifton
2001-05-012001-05-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have real file systems, let __smakebuf() determine if line buffering should be used for stdout.
2001-04-282001-04-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
2001-04-252001-04-24 Charles Wilson <cwilson@ece.gatech.eduJeff Johnston
* libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN * libc/stdio/vprintf.c (_vprintf_r): new function * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use _DEFUN, and call _vfprintf_r, not vfprintf. * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use _DEFUN, and call _vfprintf_r, not vfprintf.
2001-04-212001-04-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together into one list. [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list. (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New function prototypes. (_fscanf_r, _sscanf_r): Ditto. * libc/include/stdlib.h: Added _strtod_r prototype. * libc/stdio/Makefile.am: Add new v*scanf functions. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r. * libc/stdio/scanf.c: Changed to call __svfscanf_r. * libc/stdio/sscanf.c: Changed documentation to add reentrant routines. (sscanf): Changed to call __svfscanf_r with _REENT argument. (_sscanf_r): New routine. * libc/stdio/local.h: Removed __svfscanf prototype and replaced it with __svfscanf_r prototype. * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New routines. (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy structure as argument as calls reentrant versions of helper functions (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof to _strtol_r and _strtod_r respectively. * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r. * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with _REENT argument. * libc/stdio/vscanf.c: New file. * libc/stdio/vsscanf.c: Ditto.
2001-03-13* libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make itAlexandre Oliva
equivalent to LONGINT.
2001-03-06Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>Jeff Johnston
* libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define. For RTEMS, define to be ssize_t. Default to int if not defined. * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE. * libc/stdio/stdio.c (__sread, __swrite): Likewise. * libc/stdio/local.h (__sread, __swrite): Likewise. * libc/include/sys/reent.h (_read, _write): Likewise. * libc/include/sys/unistd.h (read, write, _read, _write): Likewise. * libc/syscalls/sysread.c (read): Likewise. * libc/syscalls/syswrite.c (write): Likewise.
2001-02-232001-02-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/machine/setjmp-dj.h: With DJ Delorie's permission, changed the copyright information to allow free modification of the file with no reference to "copying.dj". * libc/include/sys/stat-dj.h: Ditto. * libc/machine/i386/setjmp.S: Ditto. * libc/sys/h8300hms/sys/file.h: Ditto. * libc/sys/sysmec/access.c: Ditto. * libc/sys/sysnecv850/access.c: Ditto. * libc/stdio/mktemp.c: Fixed typo for the word copyright. * libc/stdlib/getenv_r.c: Ditto. * libc/stdlib/putenv_r.c: Ditto. * libc/stdlib/setenv_r.c: Ditto. * libc/stdlib/getenv.c: Removed DJ reference since any possible modifications will now be in the _r version of this file. * libc/stdlib/putenv.c: Ditto. * libc/stdlib/setenv.c: Ditto. * libc/sys/go32/copying.dj: Removed DJ's address which is no longer valid. Added a reference to DJ's web page that contains his address. * libc/sys/go32/*.s: Removed references to DJ's old address. * libc/sys/go32/*.c: Ditto. * libc/sys/go32/*.h: Ditto. * libc/sys/go32/*.S: Ditto. * libc/sys/go32/sys/*.h: Ditto.
2001-02-222001-02-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with HAVE_FCNTL flag check. * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64, powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2001-01-232001-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* 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.
2000-12-142000-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* 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-082000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>Jeff Johnston
* libc/stdio/vfprintf.c: Minor modification to avoid requiring a floating point register unless really printing a floating point number.
2000-12-072000-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2000-12-072000-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* 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-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/abort.c: changed description: uses "raise" instead of "getpid" and "kill"; added: uses "write" and "_exit". Also included unistd.h for "_exit" prototype. * libc/stdlib/system.c: included unistd.h for "execve" prototype, reent.h for "_fork_r" and "_wait_r" prototypes. (do_system): changed extern char *environ[] to POSIX-friendly extern char **environ. * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp" prototypes. * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype. * libc/reent/execr.c: included sys/wait.h for "wait" prototype. * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype. * libc/reent/openr.c: included fcntl.h for "open" prototype. * libc/reent/signalr.c: included signal.h for "kill" prototype, unistd.h for "getpid" prototype. * libc/reent/statr.c: included sys/stat.h for "stat" prototype. * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype. * libc/unix/getut.c (utmpname): removed local, incorrect "strdup" prototype. Also included stdlib.h for "abort", string.h for "strdup" and "strncmp" prototypes. * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and "strncpy", unistd.h for "read" and "close" prototypes. * libc/posix/execvp.c: included string.h for "strchr", "strlen", and "strcat" prototypes.
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's used later (ifdef __SCLE) * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's used later (ifdef MB_CAPABLE) * libc/string/memset.c (memset): removed unused variables "count" and "unaligned_addr" * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE) * libc/unix/getpwent.c (getpwnam): removed unused variables "uid" and "gid"
2000-08-162000-08-16 Eric Fifer <efifer@sanwaint.com>Jeff Johnston
* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2000-08-082000-08-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code so size of 0 results in nothing being written to string. Also fixed code so that when size is non-zero, there is only a maximum of size - 1 characters written to the array and a nul terminator is appended at the end. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2000-07-13* libc/stdio/vfprintf.c: pad 0.0 correctly with %eDJ Delorie
2000-06-15 * libc/stdio/fdopen.c (_fdopen_r): Take explicit givenCorinna Vinschen
bin/textmode into account for Cygwin.
2000-05-24* libc/stdio/stdio.c (__stextmode): new, see if file is text modeDJ Delorie
(__sread): always read in binary mode (__swrite): always write in binary mode * libc/include/stdio.h: no getc/putc macros for cygwin; causes compatibility issues with different dll versions * libc/stdio/fopen.c: use __stextmode * libc/stdio/fdopen.c: ditto * libc/stdio/freopen.c: ditto * libc/stdio/findfp.c: set up __SCLE for std{in,out,err} * libc/stdio/local.h: declare __stextmode
2000-05-18* libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLEDJ Delorie
2000-05-03Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>Jeff Johnston
* libc/include/stdio.h (FILE): define __SCLE for "convert line endings" for Cygwin. (__sgetc): convert line endings if needed (__sputc): ditto * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode * libc/stdio/fopen.c (_fopen_r): ditto * libc/stdio/freopen.c (freopen): ditto * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE * libc/stdio/fvwrite.c (__sfvwrite): ditto
2000-04-17Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>Jeff Johnston
* 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-03-17Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/stdio/vfscanf.c (__svfscanf): Fixed floating point code to update nread as each character is processed instead of using buffer contents which throw away leading zeroes.
2000-03-10* libc/stdio/putw.c (putw): Return 0 on success, to be compliantAlexandre Oliva
with XSH5, not SVID.
2000-03-08* libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.Alexandre Oliva
(CHEWOUT_FILES): Added getw.def and putw.def. * libc/stdio/Makefile.in: Rebuilt. * libc/stdio/stdio.tex: Include getw.def and putw.def. * libc/stdio/getw.c: New file. * libc/stdio/putw.c: New file.
2000-02-25Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/stdio/flags.c (__sflags): Added check that mode[1] is non-null before looking at mode[2].
2000-02-21Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* 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-17import newlib-2000-02-17 snapshotChristopher Faylor