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
2009-12-08Fix some *at declarations.Eric Blake
* libc/include/stdio.h (symlinkat): Move this... * libc/include/sys/_default_fcntl.h (unlinkat): ...and this... * libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to match POSIX.
2009-12-032009-12-03 Craig Howland <howland@LGSInnovations.com>Jeff Johnston
* libc/stdlib/strtod.c: Correct "NO_REENT" to "_REENT_ONLY". * libc/stdlib/wcstod.c: Ditto. * libc/stdlib/dtoastub.c: Ditto.
2009-11-23 Use NetBSD fix for CVE-2009-0689 security vulnerability.Corinna Vinschen
* libc/include/sys/reent.h (_Kmax): Define here based on the sizeof size_t, as in latest NetBSD. * libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant value 15. * libc/stdlib/mprec.c (_Kmax): Don't define here. Explain why.
2009-11-20 * libc/machine/rx/strncat.S (_strncat): Replace use of r6Nick Clifton
(call-saved) with r14 (call-used).
2009-11-182009-11-18 Dave Korn <dave.korn.cygwin@googlemail.com>Jeff Johnston
* libm/machine/i386/f_tan.S (_f_tan): Free fp stack register containing useless constant before advancing fp sp over it. (_f_tanf): Likewise.
2009-11-18 * libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call toCorinna Vinschen
_mbtowc_r with direct call to __mbtowc. * libc/stdio/vfscanf.c: Ditto. * libc/stdlib/btowc.c: Include local.h. Replace call to _mbtowc_r with direct call to __mbtowc. * libc/stdlib/mblen.c: Ditto. * libc/stdlib/mblen_r.c: Ditto. * libc/stdlib/mbrtowc.c: Ditto. * libc/stdlib/mbstowcs_r.c: Ditto. * libc/stdlib/mbtowc.c: Ditto. * libc/stdlib/wcrtomb.c: Include local.h. Replace call to _wctomb_r with direct call to __wctomb. * libc/stdlib/wcsnrtombs.c: Ditto. (_wcsnrtombs_r): Ditto. * libc/stdlib/wcstombs_r.c: Ditto. * libc/stdlib/wctob.c: Ditto. * libc/stdlib/wctomb.c: Ditto. * libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from _mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are defined. * libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from _wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are defined. * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for ch >= 0.
2009-11-182009-11-17 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>Jeff Johnston
* libm/common/fdlibm.h (logb, logbf): Move decls from here... * libc/include/math.h (logb, logbf): ...to here.
2009-11-06* libc/include/ctype.h (__ctype_lookup): Fix precedence.Eric Blake
2009-10-30 * libc/stdio/fflush.c (_fflush_r): Store old errno to check forCorinna Vinschen
low-level seek error condition. Restore old errno in case of success. Don't use new position after seek as error condition, rather check for return value of -1 and errno. Handle EINVAL just like ESPIPE. Only set fp->_offset if errno is 0.
2009-10-27 * MAINTAINERS (ARM): Add myself as an ARM maintainer.Nick Clifton
2009-10-26newlib:Nick Clifton
* configure.host: Add support for RX architecture. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/include/machine/configure.in: Likewise. * libc/include/machine/configure: Regenerate. * libc/machine/rx: New directory. * libc/machine/rx/*: New files to support RX architecture. libgloss: * configure.in: Add support for RX sub-directory. * configure: Regenerate. * rx: New directory. * rx/*: New files to support RX architecture.
2009-10-24Fix isalpha(0x100000001LL) and friends on 64-bit machines.Eric Blake
* libc/include/ctype.h (__ctype_lookup): New macro. (isalpha, isupper, islower, isdigit, isxdigit, isspace, ispunct) (isalnum, isprint, isgraph, iscntrl, isblank): Use it to fix bug on 64-bit machines.
2009-10-212009-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.host: Don't set -O2 flag in newlib_cflags. Leave that to CFLAGS. * acinclude.m4: Don't reset CFLAGS before calling _AC_PROG_CC_G as it sets the same flags as we are using. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * iconvdata/aclocal.m4: Ditto. * iconvdata/configure: Ditto. * iconvdata/Makefile.in: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * doc/Makefile.in: Ditto. * libc/aclocal.m4: Ditto. * libc/configure: Ditto. * libc/Makefile.in: Ditto. * libc/*Makefile.in: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*Makefile.in: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto.
2009-10-202009-10-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/config.h[__CYGWIN__]: Set __USE_XOPEN2K flag if not __STRICT_ANSI__ or stdc version C99 or greater. * libc/include/stdio.h[__STRICT_ANSI__]: Add __USE_XOPEN2K check for fseeko and ftello prototypes.
2009-10-15 * libc/include/wchar.h (struct tm0: Declare as incomplete type.Corinna Vinschen
2009-10-15 * libc/locale/nl_langinfo.c (nl_langinfo): Add Cygwin-specific temporaryCorinna Vinschen
exception for KOI8 charsets.
2009-10-14* libc/include/sys/unistd.h: Add _PC*, _CS*, and _SC* constantsEric Blake
new to POSIX 2008.
2009-10-132009-10-13 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>Jeff Johnston
* libc/include/sys/signal.h: Include <sys/types.h> always. [__CYGWIN__, __rtems__]: Define kill first argument as pid_t per standards.
2009-10-092009-10-09 Dave Korn <dave.korn@artimi.com>Jeff Johnston
* libc/include/sys/time.h (_TIMEVAL_DEFINED): Define when defining struct timeval.
2009-10-09 * libc/locale/locale.c (DEFAULT_LOCALE): New define.Corinna Vinschen
(__default_locale): New global variable set to the default locale. (__get_locale_env): Return __default_locale rather than fixed "C".
2009-10-082009-10-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.host: For RTEMS, define HAVE_ASSERT_FUNC. * libc/stdlib/assert.c (_assert_func): Do not specify __assert_func if HAVE_ASSERT_FUNC flag is set.
2009-10-082009-10-08 Eric Blake <ebb9@byu.net>Jeff Johnston
* libc/include/getopt.h (__getopt_r, __getopt_long_r) (__getopt_long_only_r): Protect declarations, to avoid compiler warning.
2009-10-07 * libc/locale/nl_langinfo.c (nl_langinfo): Just return current localeCorinna Vinschen
charset on Cygwin.
2009-10-03 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Allow CESU-8 surrogateCorinna Vinschen
value encoding. * libc/stdlib/wctomb_r.c (__utf8_mbtowc): Allow CESU-8 surrogate value decoding.
2009-09-29 * libc/locale/locale.c (loadlocale): Allow "C." same as "C-" as localeCorinna Vinschen
prefix. Add some words to documentation.
2009-09-29 * libc/stdlib/sb_charsets.c: Throughout, translate undefinedCorinna Vinschen
characters to their corresponding Windows Unicode value.
2009-09-282009-09-28 Michael Eager <eager@eagercon.com>Jeff Johnston
* configure.host: Add microblaze. * libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN. * libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE. * libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL, _UNIX98_THREAD_MUTEX_ATTRIBUTES. * libc/include/sys/types.h: Treat XMK like rtems, define PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE, PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s. * libc/machine/configure.in: Add microblaze. * libc/machine/configure: Add microblaze (not regenerated). * libc/machine/microblaze/configure.in: NEW. * libc/machine/microblaze/configure: Generate. * libc/machine/microblaze/Makefile.am: NEW. * libc/machine/microblaze/Makefile.in: Generate. * libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c, mallocr.c, longjmp.S, setjmp.S}: NEW. * libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype, mALLOc(): return malloc value.
2009-09-27 * libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.Corinna Vinschen
(lc_message_charset): Ditto. (loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin. * libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on Cygwin. * libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on Cygwin.
2009-09-27* libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:Eric Blake
Add declarations.
2009-09-26* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:Eric Blake
Add declarations.
2009-09-23 * libc/locale/locale.c: Drop Cygwin-specific windows.h include.Corinna Vinschen
(loadlocale): Call __set_charset_from_codepage with 0 codepage.
2009-09-232009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston
* libc/include/stdlib.h: Add posix_memalign.
2009-09-232009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston
* configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES. Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
2009-09-232009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston
* configure.host (m32c): Move setting -DABORT_PROVIDED to second "case $host".
2009-09-19* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandatedChristopher Faylor
int. * libc/sys/linux/sys/unistd.h: Ditto.
2009-09-012009-08-31 Takaki Makino <t@snowelm.com>Jeff Johnston
* libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with newer gcc versions. * libm/maachine/i386/f_powf.c(_f_powf): Ditto.
2009-08-252009-08-25 Andy Koppe <andy.koppe@gmail.com>Jeff Johnston
* libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage numbers. * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8 charsets. * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.
2009-08-252009-08-24 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston
* libc/locale/locale.c: Update documentation. (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866. 2009-08-24 Andy Koppe <andy.koppe@gmail.com> * libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866) and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables. * libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.
2009-08-242009-08-24 Andy Koppe <andy.koppe@gmail.com>Jeff Johnston
* libc/ctype/iswspace.c (iswspace): Include "non-breaking space" (U+00A0). * libc/ctype/iswblank.c (iswblank): Likewise.
2009-08-22 * libc/locale/locale.c (loadlocale): Throughout check charset stringCorinna Vinschen
case insensitive and store internal charset string uppercased. Allow "UTF8" additionally to "UTF-8". Add this change to documentation.
2009-08-22iconv: match SUSv3 prototypeEric Blake
* libc/include/iconv.h (iconv): Match POSIX prototype. * libc/iconv/lib/iconv.c (iconv): Likewise.
2009-08-222009-08-21 Craig Howland <howland@LGSInnovations.com>Jeff Johnston
* libm/common/s_remquo.c (remquo): Fix sign of quotient when |x|==|y|. * libc/stdio/mktemp.c: Add #include <stdlib.h> for function prototypes.
2009-08-20all-local should depend upon crt0, not all.Ralf Wildenhues
* iconvdata/Makefile.am (all): Remove. * libc/sys/a29khif/Makefile.am (all-am): Rename from ... (all): ... this. * libc/sys/arc/Makefile.am: Likewise. * libc/sys/arm/Makefile.am: Likewise. * libc/sys/d10v/Makefile.am: Likewise. * libc/sys/decstation/Makefile.am: Likewise. * libc/sys/h8300hms/Makefile.am: Likewise. * libc/sys/h8500hms/Makefile.am: Likewise. * libc/sys/linux/Makefile.am: Likewise. * libc/sys/linux/machine/i386/Makefile.am: Likewise. * libc/sys/m88kbug/Makefile.am: Likewise. * libc/sys/mmixware/Makefile.am: Likewise. * libc/sys/netware/Makefile.am: Likewise. * libc/sys/rdos/Makefile.am: Likewise. * libc/sys/rtems/Makefile.am: Likewise. * libc/sys/sh/Makefile.am: Likewise. * libc/sys/sparc64/Makefile.am: Likewise. * libc/sys/sun4/Makefile.am: Likewise. * libc/sys/sysmec/Makefile.am: Likewise. * libc/sys/sysnec810/Makefile.am: Likewise. * libc/sys/sysnecv850/Makefile.am: Likewise. * libc/sys/sysvi386/Makefile.am: Likewise. * libc/sys/sysvnecv70/Makefile.am: Likewise. * libc/sys/tic80/Makefile.am: Likewise. * libc/sys/w65/Makefile.am: Likewise. * libc/sys/z8ksim/Makefile.am: Likewise. * iconvdata/Makefile.in: Regenerate. * libc/sys/a29khif/Makefile.in: Likewise. * libc/sys/arc/Makefile.in: Likewise. * libc/sys/arm/Makefile.in: Likewise. * libc/sys/d10v/Makefile.in: Likewise. * libc/sys/decstation/Makefile.in: Likewise. * libc/sys/h8300hms/Makefile.in: Likewise. * libc/sys/h8500hms/Makefile.in: Likewise. * libc/sys/linux/Makefile.in: Likewise. * libc/sys/linux/machine/i386/Makefile.in: Likewise. * libc/sys/m88kbug/Makefile.in: Likewise. * libc/sys/mmixware/Makefile.in: Likewise. * libc/sys/netware/Makefile.in: Likewise. * libc/sys/rdos/Makefile.in: Likewise. * libc/sys/rtems/Makefile.in: Likewise. * libc/sys/sh/Makefile.in: Likewise. * libc/sys/sparc64/Makefile.in: Likewise. * libc/sys/sun4/Makefile.in: Likewise. * libc/sys/sysmec/Makefile.in: Likewise. * libc/sys/sysnec810/Makefile.in: Likewise. * libc/sys/sysnecv850/Makefile.in: Likewise. * libc/sys/sysvi386/Makefile.in: Likewise. * libc/sys/sysvnecv70/Makefile.in: Likewise. * libc/sys/tic80/Makefile.in: Likewise. * libc/sys/w65/Makefile.in: Likewise. * libc/sys/z8ksim/Makefile.in: Likewise.
2009-08-19 * configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variableRalf Wildenhues
from newlib_ldbl_eq_dbl. * configure: Regenerate.
2009-08-19Fix 'make info' to work again.Eric Blake
* libc/Makefile.am (SUBDEFS): Correctly build popen docs. * libc/libc.texinfo (Top): Add posix node to menu.
2009-08-192009-08-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* newlib.hin: Add comment regarding file being manually edited. * Makefile.am: Add no-op rule for newlib.hin. * Makefile.in: Regenerated.
2009-08-182009-08-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.
2009-08-182009-08-18 Eric Blake <ebb9@byu.net>Jeff Johnston
* libc/posix/popen.c (popen): Fix documented prototype. Improve popen compatibility with glibc. * libc/posix/popen.c (popen): The 2006-08-22 change to use FD_CLOEXEC disagrees with other implementations; instead, use pidlist to work even when fcntl is not available. Meanwhile, support the 'e' modifier to set CLOEXEC, as in glibc. Drop cygwin-specific code, now that cygwin has its own version. * libc/posix/Makefile.am (CHEWOUT_FILES): Document popen. * libc/posix/posix.tex: New file.
2009-08-18* libc/posix/popen.c (popen): Fix documented prototype.Eric Blake
2009-08-18Improve popen compatibility with glibc.Eric Blake
* libc/posix/popen.c (popen): The 2006-08-22 change to use FD_CLOEXEC disagrees with other implementations; instead, use pidlist to work even when fcntl is not available. Meanwhile, support the 'e' modifier to set CLOEXEC, as in glibc. Drop cygwin-specific code, now that cygwin has its own version. * libc/posix/Makefile.am (CHEWOUT_FILES): Document popen. * libc/posix/posix.tex: New file.