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-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.
2009-08-182009-08-17 Craig Howland <howland@LGSInnovations.com>Jeff Johnston
* libc/string/wcsncpy.c (wcsncpy): Re-write function based on small version of strncpy() (fixing two bugs).
2009-08-13ChangeLog: Fix typo in "typo".Corinna Vinschen
2009-08-13 * libc/stdio/mktemp.c (mkdtemp): Fix type in function name.Corinna Vinschen
2009-08-122009=08-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless HAVE_MKDIR is defined. 2009-08-12 Hans-Peter Nilsson <hp@axis.com> * libc/include/reent.h: Add prototype and definition of _mkdir_r. * libc/reent/Makefile.am (GENERAL_SOURCES): Add mkdirr.c. (CHEWOUT_FILES): Add mkdirr.def. * libc/reent/Makefile.in: Regenerate. * libc/reent/mkdirr.c: New file.
2009-08-102009-08-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/wcstombs.c: Change documentation to specify size_t return type instead of int.
2009-07-302009-07-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation when a lower-case character is detected.
2009-07-29 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogateCorinna Vinschen
pair handling to be more bullet-proof even with incomplete UTF-8 sequences. Add check for 4 byte sequences resulting in values outside the valid Unicode range. Add a comment to clarify checking for invalid CESU-8 sequences.
2009-07-28 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in caseCorinna Vinschen
of handling incomplete sequences.
2009-07-22Avoid a fault from locking a closed standard file.Eric Blake
* libc/stdio/fflush.c (_fflush_r): Give up early if stream has been previously closed.
2009-07-092009-07-09 Craig Howland <howland@LGSInnovations.com>Jeff Johnston
* libm/math/ef_scalb.c: Replace isnanf() (pre-C99 function call) with isnan() (C99 macro). * libm/math/wf_log.c: Ditto. * libm/math/wf_j0.c: Ditto. * libm/math/wf_sqrt.c: Ditto. * libm/math/wf_pow.c: Ditto. * libm/math/wf_fmod.c: Ditto. * libm/math/wf_remainder.c: Ditto. * libm/math/wf_scalb.c: Ditto. * libm/math/wf_atanh.c: Ditto. * libm/math/wf_cosh.c: Ditto. * libm/math/wf_acos.c: Ditto. * libm/math/wf_acosh.c: Ditto. * libm/math/wf_jn.c: Ditto. * libm/math/wf_log10.c: Ditto. * libm/math/wf_asin.c: Ditto. * libm/math/wf_j1.c: Ditto. * libm/common/sf_isnan.c: Add #include <ieeefp.h>, fix comment. * libm/common/sf_isinf.c: Add #include <ieeefp.h>, adjust comment to match that from s_isinf.c. * libc/include/machine/ieeefp.h: Simplify isinf and isnan macros to remove un-necessary extension use (in a similar manner to as was recently done in math.h). * libc/include/math.h: Remove isnanf and isinff prototypes (are in ieeefp.h). * libm/machine/spu/sf_isinf.c: Fix comment (remove <math.h>).
2009-07-062009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston
* libc/include/sys/features.h: Enable UNIX98 mutex attributes for RTEMS.
2009-07-03Add mkdtemp, mkstemps.Eric Blake
* libc/stdio/mktemp.c: Fix documentation. (_gettemp): Add domkdir and length parameters. Check for insufficient 'X' suffix. Drop cygwin-specific code. (_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients. (_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions. * libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp) (mkstemps): Declare them.
2009-07-03Add fpurge.Eric Blake
* libc/stdio/fpurge.c (fpurge, _fpurge_r): New file. * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge): Build it. * libc/stdio/Makefile.in: Regenerated. * libc/include/stdio.h (fpurge, _fpurge_r): New declarations. * libc/stdio/stdio.tex: Build documentation.