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
2011-08-19 * libc/include/process.h: Remove exec family function declarations.Corinna Vinschen
Add comment. * libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
2011-08-19 * libc/time/mktime.c (validate_structure): Account for tm_mon possiblyCorinna Vinschen
being given as negative. (mktime): Set tm_isdst=0 when !daylight.
2011-08-012011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill
* libc/include/sys/types.h: XML and RTEMS define _UNIX98_THREAD_MUTEX_ATTRIBUTES and can use the standard definitions. This avoids redefinition warnings.
2011-07-26* ChangeLog: Fix my name's spelling.Ralf Corsepius
2011-07-262011-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libc/sys/rtems/sys/dirent.h (scandir): Add const to "select" parameter.
2011-07-252011-07-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libc/iconv/iconv.tex: Rename node "Introduction" into "Introduction to iconv".
2011-07-20* libc/include/time.h [_POSIX_CLOCK_SELECTION] (clock_nanosleep):Yaakov Selkowitz
Declare. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CLOCK_SELECTION): Define.
2011-07-20* libc/include/sys/unistd.h (_CS_XBS5_WIDTH_RESTRICTED_ENVS): Define.Yaakov Selkowitz
(_CS_V6_ENV): Fix definition.
2011-07-19 * libc/locale/lmessages.c (_C_messages_locale):Corinna Vinschen
Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
2011-07-19 * libc/reent/sbrkr.c: Define _sbrk_r independently of the definitionCorinna Vinschen
of MALLOC_PROVIDED.
2011-07-152011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>Jeff Johnston
* libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type int. *length is set to the value of (rev - digits) regardless of whether _MB_CAPABLE is defined or not. Replace BUF with len in calling _mbsnrtowcs_r and also in the loop where _MB_CAPABLE is not defined. (_VFWPRINTF_R): Call wcvt with an extra argument. Call wcvt again with allocated new buffer if buf is not large enough for the conversion. * testsuite/newlib.stdio/stdio.exp: New. * testsuite/newlib.stdio/swprintf.c: Likewise.
2011-07-15 * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_rCorinna Vinschen
to make sure CHECK_INIT is called. (_fscanf_r): Ditto. * /libc/stdio/scanf.c (scanf): Ditto. (_scanf_r): Ditto. * libc/stdio/fwscanf.c (fwscanf): Call _vfwscanf_r instead of __svfwscanf_r to make sure CHECK_INIT is called. (_fwscanf_r): Ditto. * libc/stdio/wscanf.c (wscanf): Ditto. (_wscanf_r): Ditto.
2011-07-13 * libm/complex/cacos.c: Use temporaries and correct sequencingCorinna Vinschen
error in previous reordering change.
2011-06-27 * libc/time/mktime.c (mktime): Lock global timezone info whileCorinna Vinschen
accessing it.
2011-06-14 * libc/time/asctime_r.c (asctime_r): Replace call to sprintf with callCorinna Vinschen
to siprintf. * libc/time/strftime.c: Define snprintf to sniprintf in multibyte case. * libc/time/tzset_r.c: Define sscanf to siscanf.
2011-06-14libgloss:Joseph Myers
* configure.in: Don't handle strongarm, ep9312 and xscale target names. * configure: Regenerate. * libnosys/configure.in: Don't handle strongarm and thumb target names. * libnosys/configure: Regenerate. newlib: * configure.host: Don't handle ep9312, strongarm, xscale and thumb target names. * libc/machine/configure.in: Don't handle xscale target names. * libc/machine/configure: Regenerate.
2011-06-14 * libc/time/tzset_r.c (tzset_r): Correct behavior for changing fromCorinna Vinschen
non-GMT to GMT, when un-setting TZ. Set _timezone and _daylight even if no DST is given in TZ.
2011-06-14printf: set errno for read-only streamEric Blake
* libc/stdio/wsetup.c (__swsetup_r): Set errno on failure. * libc/stdio/fvwrite.c (__sfvwrite_r): Simplify. * libc/stdio/wbuf.c (__swbuf_r): Likewise. * libc/stdio/local.h (cantwrite): Adjust comment.
2011-06-102011-06-09 Yaakov Selkowitz <yselkowitz@...>Jeff Johnston
* libc/include/string.h (strdupa): New macro function. (strndupa): New macro function.
2011-05-27 * v8500/sbrk.c (_sbrk): Tidy code.Nick Clifton
Base start of heap on the "heap_start" symbol. * libc/sys/sysnecv850/sbrk.c (_sbrk): Tidy code. Base start of heap on the "heap_start" symbol.
2011-05-26fix changelog typoEric Blake
2011-05-26* libc/string/strerror.c (_strerror_r): Report "Success" for 0.Eric Blake
2011-05-25strerror: allow user hook to comply with POSIX rulesEric Blake
* libc/string/strerror.c (strerror): Split body into... (_strerror_r): ...new reentrant function. * libc/string/u_strerr.c (_user_strerror): Update signature. * libc/include/stdio.h (_strerror_r): New prototype. * libc/posix/collate.c (__collate_err): Adjust callers. * libc/stdio/perror.c (_perror_r): Likewise. * libc/string/strerror_r.c (strerror_r): Likewise. * libc/string/xpg_strerror_r.c (__xpg_strerror_r): Likewise.
2011-05-19* libc/include/stdio_ext.h: New header.Yaakov Selkowitz
* libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.
2011-05-19 * Makefile.am (install-data-local): Fix condition and rm call.Corinna Vinschen
* Makefile.in: Regenerate.
2011-05-17* libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename fromYaakov Selkowitz
CLOCK_PROCESS_CPUTIME. (CLOCK_THREAD_CPUTIME_ID): Rename from CLOCK_THREAD_CPUTIME. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CPUTIME): Define. (_POSIX_THREAD_CPUTIME): Define.
2011-05-16 * libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceedCorinna Vinschen
DBL_DIG.
2011-05-15 * libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): DefineCorinna Vinschen
to 200112L for Cygwin.
2011-05-12 * libc/time/strptime.c (strptime): Fill in tm_yday when all of tm_year,Corinna Vinschen
tm_mon and tm_mday are updated. Fill in tm_mon, tm_mday and tm_wday when both of tm_year and tm_yday are updated.
2011-05-12 * libc/time/strptime.c (first_day): Actually return the wdayCorinna Vinschen
of the first day of the year.
2011-05-10 * libc/locale/lmessages.c (_C_messages_locale): Add missing comma.Corinna Vinschen
2011-05-04* libc/include/signal.h (psignal): Declare.Yaakov Selkowitz
* libc/sys/linux/psignal.c: Move from here... * libc/signal/psignal.c: ... to here. Document. * libc/sys/linux/Makefile.am (GENERAL_SOURCES): Move psignal.c from here... * libc/signal/Makefile.am (LIB_SOURCES): ... to here. (CHEWOUT_FILES): Add psignal.def. * libc/sys/linux/Makefile.in: Regenerate. * libc/signal/Makefile.in: Ditto. * libc/signal/signal.tex: Add references to psignal.
2011-05-04 * libc/locale/lmessages.h (__messages_load_locale): Declare. RemoveCorinna Vinschen
accidental declaration of __numeric_load_locale. * libc/locale/locale.c: Include timelocal.h to get declaration of __time_load_locale. (__set_locale_from_locale_alias): Fix return type. (__locale_msgcharset): Avoid compiler warnings. (_localeconv_r): Ditto.
2011-05-04 Cygwin-specific patch from Andy Koppe:Corinna Vinschen
* libc/locale/locale.c (current_categories): On Cygwin, set LC_CTYPE to C.UTF-8 to match initial __wctomb and __mbtowc settings. (lc_ctype_charset): On Cygwin, initialize to "UTF-8". (loadlocale): Remove unused Cygwin-specifc code.
2011-05-02* libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.Yaakov Selkowitz
* libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t typedef.
2011-04-19 * libc/include/sys/signal.h (_sig_func_ptr): Define with int parameterCorinna Vinschen
per POSIX. Explain in comment.
2011-04-16strchrnul: avoid segvEric Blake
* libc/string/strchrnul.c (strchrnul): Fix strchrnul.
2011-03-28Check in strchrnul.c file missing in previous checkinCorinna Vinschen
2011-03-28 * libc/include/string.h (strchrnul): Declare.Corinna Vinschen
* libc/string/strchrnul.c: New file. * libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c. * libc/string/Makefile.in: Regenerate.
2011-03-23 * libc/machine/frv/setjmp.S: Fix typo in .size directive.Nick Clifton
2011-03-22 * libc/sys/sysnecv850/trap.S (___trap0): Fix errno handling.Kevin Buettner
* libc/sys/sysnecv850/rename.c: New file. * libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Add rename.c * libc/sys/sysnecv850/Makefile.in: Regenerate. * libc/sys/sysnecv850/fstat.c (_fstat): Invoke trap for SYS_fstat. * libc/sys/sysnecv850/unlink.c (_unlink): Invoke trap for SYS_unlink.
2011-03-03 * libc/include/string.h: Include sys/cdefs.h.Corinna Vinschen
2011-03-03 * libc/include/sys/cdefs.h (__CONCAT1): Define.Corinna Vinschen
(__CONCAT): Define. (__STRING): Define. (__XSTRING): Define. (__ASMNAME): Define. * libc/include/string.h (strerror_r): Use __ASMNAME to take target specific label prefixes into account.
2011-03-022011-03-01 Aaron Landwehr <snaphat@gmail.com>Jeff Johnston
* libm/complex/cproj.c: Fix typo. * libm/complex/cprojf.c: Ditto.
2011-02-22 * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGVCorinna Vinschen
if incoming buffer is NULL.
2011-02-10strerror_r: provide POSIX implementationEric Blake
* libc/include/string.h (strerror_r): Update declaration. * libc/string/strerror.c (strerror): Update documentation. * libc/string/strerror_r.c (strerror_r): Always return NUL-terminated string; don't overwrite too-short buf. * libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX variant. * libc/string/Makefile.am (GENERAL_SOURCES): Build new file. * libc/string/Makefile.in: Regenerate.
2011-02-07Fix path in ChangeLog entryCorinna Vinschen
2011-02-04Fix spelling of Ralf Corsepius' name in ChangeLog.Jeff Johnston
2011-01-28 * libc/stdio/fclose.c: Only use sfp lock to guard non-atomicCorinna Vinschen
changes of flags and fp lock. * libc/stdio/freopen.c: Ditto. * libc/stdio/freopen64.c: Ditto. * libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks which guard entire function to avoid potential deadlocks when using stdio functions in multiple thraeds. * libc/stdio/fgets.c: Ditto. * libc/stdio/fgetwc.c: Ditto. * libc/stdio/fgetws.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio/getc.c: Ditto. * libc/stdio/getdelim.c: Ditto. * libc/stdio/gets.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/vfwscanf.c: Ditto. * libc/stdio/fflush.c (_fflush_r): Split out core functionality into new function __sflush_r. Just lock file and call __sflush_r from here. * libc/stdio/fwalk.c (_fwalk): Remove static helper function and move functionality back into main function. Don't walk a file with flags value of 1. Add comment. (_fwalk_reent): Ditto. * libc/stdio/local.h (__sflush_r): Declare. * libc/stdio/refill.c (__srefill): Before calling fwalk, set flags value to 1 so this file pointer isn't walked. Revert flags afterwards and call __sflush_r for this fp if necessary. Add comments.
2011-01-27 * libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.Corinna Vinschen
* libc/include/wchar.h: Include features.h.