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
path: root/newlib
AgeCommit message (Collapse)Author
2001-07-132001-07-12 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez
* libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
2001-06-28Handle ARMs with big endian IEEE words but little endian IEEE bytesNick Clifton
2001-06-122001-06-11 Danny Smith <dannysmith@users.sourceforge.net>Jeff Johnston
* /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2001-06-112001-06-11 Egor Duda <deo@logos-m.ru>Jeff Johnston
* libc/ctype/ctype_.c: When compiled with gcc on platforms with signed char, make _ctype_[-128] ... _ctype[-1] refer to initialized memory region. Platform can define COMPACT_CTYPE to avoid allocation of the additional 128 bytes of data. Add pointer to _ctype_ array. Always initialize all _ctype_ array elements.
2001-06-11 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencingJonathan Larmour
NULL pointer.
2001-05-28Handle printf ("%#.0o",0);Nick Clifton
2001-05-26Fix bug when both pointers have matching, non-word alignment, and the lengthNick Clifton
is <= 4 but more than enough to move them over a word boundary. Add comments explaining what each instruction does.
2001-05-08Fix typo.Christopher Faylor
2001-05-08* libc/include/sys/stat.h: Revert March 3, Cygwin change.Christopher Faylor
* libc/include/sys/Ditto.h: Ditto.
2001-05-042001-05-04 Earnie Boyd <earnie@users.sourceforge.net>Jeff Johnston
* libc/string/strrchr.c: Use strchr for the speed improvements.
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-282001-04-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdlib.h: Add prototype for _strtod_r.
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-23* libc/include/sys/unistd.h [X_OK]: Use better protection against Cygwin X_OKChristopher Faylor
definitions in sys/file.h.
2001-04-21* libc/include/sys/time.h: Define timercmp and other macros for __CYGWIN__,Christopher Faylor
too.
2001-04-212001-04-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* acinclude.m4: Added --enable-malloc-debugging configure flag. * configure.host: For Cygwin specify -DMALLOC_PROVIDED if --enable-malloc-debugging selected. * aclocal.m4 configure: Regenerated. libm/aclocal.m4 libm/configure: Ditto. * libc/aclocal.m4 libc/configure: Ditto. * libc/machine/aclocal.m4 libc/machine/configure: Ditto. * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto. * libc/sys/aclocal.m4 libc/sys/configure: Ditto. * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto. * doc/aclocal.m4 doc/configure: Ditto.
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-04-192001-04-19 Robert Collins <rbtcollins@hotmail.com>Jeff Johnston
* include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined. Define daylight to _daylight if it is not defined Prepare a variable export of timezone based on timezonevariable. (Cannot be used with the timezone() function.)
2001-04-172001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>Jeff Johnston
* newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi): Correct the numerical values.
2001-04-13* libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).Christopher Faylor
2001-04-13 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clashCorinna Vinschen
on case insensitve file systems.
2001-04-12* libc/include/sys/features.h: Add appropriate defines for Cygwin pthreadChristopher Faylor
support. * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection. * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads types. Include <cygwin/types.h> for the cygwin specific typedefs.
2001-04-04 * libc/include/machine/ieeefp.h: Comment about new configurationRichard Sandiford
macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS. * libm/common/fdlib.h: Define new macros for testing floats. * libm/common/sf_*: Use them. * libm/math/ef_*: Likewise. * libm/math/sf_*: Likewise.
2001-03-302001-03-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode prolog to by-pass possible assembler error.
2001-03-222001-03-21 Egor Duda <deo@logos-m.ru>Jeff Johnston
Allow building internal stubs for non-reentrant syscalls if target provides its own malloc * libc/reent/reent.c (errno): Move definition here. * libc/reent/sbrkr.c: From here.
2001-03-20* libc/include/sys/types.h (BSD int typedefs): Guard with _BSDTYPES_DEFINEDChristopher Faylor
rather than _WINSOCK_H. (fd_set): Add !defined __USE_W32_SOCKETS to guard; define _SYS_TYPES_FD_SET. * libc/include/sys/unistd.h (gethostname): Don't declare if defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2001-03-19 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS andCorinna Vinschen
_PC_POSIX_SECURITY constants for Cygwin.
2001-03-14 * libc/sys/cygwin/crt0.c: Add copyright hint.Corinna Vinschen
* libc/sys/cygwin/sys/dirent.h: Ditto. * libc/sys/cygwin/sys/param.h: Ditto. * libc/sys/cygwin/sys/utime.h: Ditto. * libc/sys/cygwin/sys/utmp.h: Ditto.
2001-03-13* libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make itAlexandre Oliva
equivalent to LONGINT.
2001-03-092001-03-07 Richard Sandiford <rsandifo@redhat.com>Jeff Johnston
* (libc/include/machine/setjmp.h): Use 23 DI-mode ints for a jmpbuf on MIPS64 targets. * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2001-03-08* libc/include/sys/config.h: Use ssize_t for read/write declarations.Christopher Faylor
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-03-062001-03-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2001-03-05* libc/include/sys/stat.h: Use special defines for executable stat bits whenChristopher Faylor
compiling for Cygwin. * libc/include/sys/unistd.h: Use special define for X_OK when compiling for Cygwin.
2001-03-032001-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype of strtok_r is always defined.
2001-03-032001-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/machine/ansi.h: New dummy header file.
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-02-15* libc/include/sys/signal.h: Always include sys/types.h under Cygwin.Christopher Faylor
2001-02-152001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston
* libc/include/stdlib.h: Add declarations of rand48 functions and their reentrant versions. * libc/include/sys/reent.h: Move macros from rand48.h. Add struct _rand48 for shared parameters of rand48 functions. (struct _reent): Add a variable _r48 of struct _rand48. (_REENT_INIT): Add _r48 initialization. * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions. (CHEWOUT_FILES): Add rand48.def. * libc/stdlib/Makefile.am: Add dependencies for rand48 functions. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the NetBSD C library. * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto. * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto. * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto. * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto. * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto. * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto. * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto. * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto. * libc/stdlib/rand48.c (__dorand48): Ditto. * libc/stdlib/rand48.h: Ditto, and modify declarations of global parameters into macros referring them in the reentrant structure.
2001-02-122001-02-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/stat.h: Add mknod for Cygwin now that Cygwin definition has correct prototype.
2001-02-092001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/stat.h: Must revert change for mknod for CYGWIN until winsup/cygwin/syscalls.cc changes mknod prototype.
2001-02-092001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdio.h: Revert putw prototype.
2001-02-092001-02-08 Edward M. Lee <tailbert@yahoo.com>Jeff Johnston
* libc/include/grp.h: add prototype for initgroups. * libc/include/stdio.h: fix prototype for putw. * libc/include/sys/signal.h: add prototype for killpg. * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN. * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp, vhangup and remove duplicate sysconf prototype.
2001-02-072001-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/rtems/sys/types.h: Removed.
2001-02-062001-02-05 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston
* libc/include/locale.h: add LC_MESSAGES definition
2001-02-02* libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,Alexandre Oliva
SYS_get_argN): * libc/sys/sh/syscalls.c (__setup_argv_for_main, __setup_argv_and_call_main): New.
2001-01-312001-01-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__ if defined. (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined. (L_tmpnam): Changed to use __L_tmpnam__ if defined. * libc/include/sys/config.h: Changed to set __FILENAME_MAX__ appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2001-01-30* libc/stdlib/mallocr.c: Undefine windows preprocessor variables when compilingChristopher Faylor
under Cygwin.