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
2014-11-062014-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston
* configure.in: Add autoconf test to determine size of uintptr_t. * newlib.hin: Add new autoconf feature variables. * libc/include/inttypes.h: Use new feature variables. * configure: Regenerate.
2014-10-302014-10-29 Jon Turney <jon.turney@dronecode.org.uk>Jon TURNEY
* libc/include/string.h: Correct guard for strcasecmp().
2014-10-27 * libc/include/sys/unistd.h (sethostname): Declare ifCorinna Vinschen
requested.
2014-10-10 * libc/include/_ansi.h: _LONG_LONG_TYPE definition removed.Corinna Vinschen
* libc/include/math.h: _LONG_LONG_TYPE replaced by "long long". Guards for C99 and C++11 functions fixed. * libc/include/stdlib.h: Guards for C99 and C++11 functions fixed.
2014-10-092014-10-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/include/stdint.h: Include <sys/_intsup.h>. (__STDINT_EXP): Delete. (__have_long32): Likewise. (__have_long64): Likewise. (__have_longlong64): Likewise. * libc/include/sys/_intsup.h: New file. (__STDINT_EXP): Move from libc/include/stdint.h. (__have_long32): Likewise. (__have_long64): Likewise. (__have_longlong64): Likewise. * libc/include/inttypes.h: Include <sys/_intsup.h>. (__INTTYPES_EXP): Delete and use __STDINT_EXP() instead.
2014-10-09 * libc/include/string.h (ffsl): Declare as GNU function.Corinna Vinschen
(ffsll): Ditto.
2014-09-182014-09-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/features.h: Add __NEWLIB__ and __NEWLIB_MINOR__ macros.
2014-09-162014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston
Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de> * libc/include/string.h: Correct guard for strnlen().
2014-08-27* libc/include/math.h (frexpl): Remove parameter name.DJ Delorie
2014-08-18 * libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.Corinna Vinschen
2014-08-182014-08-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE to _ssize_t to match underlying code in libgloss.
2014-08-182014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/string.h: Improve language and OS standard guards.
2014-08-182014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/sys/signal.h: Add sigaltstack() support.
2014-08-05 * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE isJon TURNEY
defined appropriately.
2014-08-01headers: properly decorate attributesEric Blake
Found by: find -name '*.h' |xargs grep -i 'attribute.*(([a-z]' For an example of the type of bugs this causes, try compiling this valid C11 program (it's valid because 'noreturn' is reserved for use in the user namespace unless you include <stdnoreturn.h>): $ cat foo.c #define noreturn __attribute__((noreturn)) #include <stdlib.h> $ gcc -c -o foo.o -Wall foo.c In file included from /usr/include/stdlib.h:11:0, from foo.c:2: foo.c:1:18: error: expected ')' before '__attribute__' #define noreturn __attribute__((noreturn)) ^ /usr/include/stdlib.h:66:28: error: expected ',' or ';' before ')' token _VOID _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn))); ^ * libc/machine/spu/spu_timer_internal.h: Decorate attribute names with __, for namespace safety. * libc/machine/xscale/machine/profile.h: Likewise. * libc/include/stdlib.h: Likewise. * libc/include/_ansi.h: Likewise. * libc/include/sys/unistd.h: Likewise. * libc/sys/linux/linuxthreads/libc-symbols.h: Likewise. * libc/sys/linux/linuxthreads/internals.h: Likewise. * libc/sys/linux/machine/i386/weakalias.h: Likewise. * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise. * libc/sys/linux/machine/i386/dl-machine.h: Likewise. * libc/sys/linux/libc-symbols.h: Likewise. * libc/sys/linux/iconv/gconv_charset.h: Likewise. * libc/sys/linux/include/resolv.h: Likewise. * libc/sys/linux/sys/unistd.h: Likewise. * libc/sys/linux/dl/atomicity.h: Likewise. * libc/sys/linux/dl/dynamic-link.h: Likewise. * libc/sys/linux/dl/ldsodefs.h: Likewise.
2014-07-222014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/sys/time.h: Add prototype for adjtime() and wrap it and settimeofday() prototype with __BSD_VISIBLE.
2014-07-17 * configure.host: Remove or16 and or32 targets and add or1k.Corinna Vinschen
* libc/include/machine/ieeefp.h: Replace or32 with or1k. * libc/machine/configure.in: Add or1k subdirectory. * libc/machine/or1k/configure.in: New file. * libc/machine/or1k/Makefile.am: New file. * libc/machine/or1k/setjmp.S: New file.
2014-07-14 * libc/include/sys/errno.h: Fix comments.Corinna Vinschen
* libc/string/strerror.c: Fix documentation. (_strerror_r): Handle ENETRESET, EILSEQ, ENODATA, ECONNRESET, EADDRNOTAVAIL, EOVERFLOW. Fix strings for EMFILE and EDOM.
2014-05-14 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS when doubleCorinna Vinschen
options is not __RL78_64BIT_DOUBLES__.
2014-05-12 * libc/include/stdint.h (WCHAR_MIN): Copy definition from wchar.h.Corinna Vinschen
(WCHAR_MAX): Ditto. * libc/include/wchar.h (WCHAR_MIN): Add comment. (WCHAR_MAX): Ditto.
2014-05-09 * libc/include/stdio.h (tempnam): Declare as __BSD_VISIBLE orCorinna Vinschen
__XSI_VISIBLE or if __POSIX_VISIBLE >= 200112.
2014-05-09 * libc/include/stdio.h (fcloseall): Declare as __GNU_VISIBLE only.Corinna Vinschen
(renameat): Drop explicit __CYGWIN__ dependency.
2014-05-05 * libc/include/stdio.h: Declare various C99 printf/scanf functions forCorinna Vinschen
C++11, too.
2014-03-08 * libc/include/stdlib.h (strtold): Define if _HAVE_LONG_DOUBLE isCorinna Vinschen
defined. * libc/stdlib/strtold.c (strtold): Ditto. Call strtod on systems with long double == double, _strtold otherwise.
2014-03-05 * libc/include/time.h (__TM_GMTOFF): Remove Cygwin-specific definition.Corinna Vinschen
(__TM_ZONE): Ditto.
2014-03-05 * libc/include/time.h (__TM_GMTOFF): Define on Cygwin.Corinna Vinschen
(__TM_ZONE): Ditto. (struct tm): Add __TM_GMTOFF and __TM_ZONE members if they are defined.
2014-03-04 * libc/include/machine/_default_types.h: Define unsigned type usingCorinna Vinschen
signed type macros in case unsigned type macros are not available.
2014-02-10 * libc/include/pwd.h: Include <sys/cdefs.h>.Corinna Vinschen
* libc/include/grp.h: Ditto.
2014-01-20 * libc/include/setjmp.h (longjmp): Fix copy/paste error.Corinna Vinschen
2014-01-19 * libc/include/setjmp.h (longjmp): Mark "noreturn" when building withCorinna Vinschen
GCC.
2014-01-17 * libc/include/pwd.h: Use __foo_VISIBLE macros from sys/cdefs.h.Corinna Vinschen
(setpassent): Declare.
2014-01-17 * libc/include/sys/_default_fcntl.h (LOCK_SH): Define.Corinna Vinschen
(LOCK_EX): Likewise. (LOCK_NB): Likewise. (LOCK_UN): Likewise. (flock): Declare.
2014-01-072014-01-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define according to POSIX. (AT_EACCESS): Likewise. (AT_SYMLINK_NOFOLLOW): Likewise. (AT_SYMLINK_FOLLOW): Likewise. (AT_REMOVEDIR): Likewise. (openat): Declare according to POSIX. * libc/include/stdio.h (renameat): Likewise. * libc/include/sys/stat.h (fchmodat): Likewise. (fstatat): Likewise. (mkdirat): Likewise. (mkfifoat): Likewise. (mknodat): Likewise. (utimensat): Likewise. (futimens): Likewise. * libc/include/sys/unistd.h (faccessat): Likewise. (fchownat): Likewise. (linkat): Likewise. (readlinkat): Likewise. (symlinkat): Likewise. (unlinkat): Likewise.
2013-12-232013-12-22 JF Bastien <jfb@chromium.org>Jeff Johnston
* libc/include/limits.h: Define LLONG_MIN, LLONG_MAX and ULLONG_MAX for C++11 too. * libc/include/stdlib.h: Define struct lldiv_t, _Exit, atoll, llabs and lldiv for C99 and C++11. Move wcstold to wchar.h. * libc/include/wchar.h: Define WCHAR_MIN and WCHAR_MAX according to __WCHAR_UNSIGNED__ if it is provided, and correct the limit when unsigned (to 32 all-1 bits, not 31). Define FILE as in stdio.h. Move wcstold from stdlib.h here.
2013-12-03 * libc/include/machine/_default_types.h: Move extern "C" afterCorinna Vinschen
header includes. Include <sys/features.h> for __GNUC_PREREQ__(). (__u?int.*_t): Define via GCC provided __U?INT.*_TYPE__ if available. (__intptr_t): Define. (__uintptr_t): Likewise. * libc/include/stdint.h: Include <machine/_default_types.h> instead of <_ansi.h>. (u?int.*_t): Define via __u?int.*_t provided by <machine/_default_types.h>. (u?int_fast.*_t): Define via GCC provided __U?INT_FAST.*_TYPE__ if available. (U?INT.*(MIN|MAX)): Define via GCC provided __U?INT.*(MIN|MAX)__ if available. (U?INT.*_C): Define via GCC provided __U?INT.*_C if available. * libc/include/sys/cdefs.h: Use <machine/_default_types.h> instead of <stdint.h>. * libc/sys/rtems/sys/cpuset.h: Likewise. * libc/sys/rtems/machine/_types.h: Include <stdint.h> for FreeBSD compatibility.
2013-11-302013-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill
* libc/include/pthread.h (pthread_cleanup_push): Delete prototype and add macro of the same name. (pthread_cleanup_pop): Likewise. (_pthread_cleanup_context): Define. (_pthread_cleanup_push): Likewise. (_pthread_cleanup_pop): Likewise. (pthread_cleanup_push_defer_np): Define if _GNU_SOURCE is defined. (pthread_cleanup_pop_restore_np): Likewise. (_pthread_cleanup_push_defer): Likewise. (_pthread_cleanup_pop_restore): Likewise.
2013-11-302013-11-29 Jennifer Averett <jennifer.averett@oarcorp.com>Joel Sherrill
* libc/include/pthread.h (pthread_attr_setaffinity_np): Add pthread SMP affinity attributes to methods to RTEMS for compatibility with GNU/Linux. (pthread_attr_getaffinity_np): Likewise. (pthread_setaffinity_np): Likewise. (pthread_getaffinity_np): Likewise. (pthread_getattr_np): Add for GNU/Linux compatibility. * libc/include/sys/types.h: Add cpuset to pthread_attr_t for RTEMS. * libc/include/sys/cdefs.h (_GNU_SOURCE): Defining _GNU_SOURCE turns on all _XXX_VISBLE feature flags.
2013-11-262013-11-26 Matheus Almeida <Matheus.Almeida@imgtec.com>Jeff Johnston
* libc/include/machine/setjmp.h: Add support for __mips_fpr being 64 and treat it the same as if __mips64 is set. * libc/machine/mips/setjmp.S: Ditto, plus add checks for _MIPS_SIM being _ABIN32 and _ABI64.
2013-11-262013-11-26 Julio Gutierrez <jgutleyva@gmail.com>Joel Sherrill
*libc/include/wchar.h: Add restrict keyword. *libc/stdio/fgetws.c (fgetws): ditto. *libc/stdio/fputws.c (fputws): ditto. *libc/stdio/fwprintf.c (fwprintf): ditto. *libc/stdio/fwscanf.c (fwscanf): ditto. *libc/stdio/swprintf.c (swprintf): ditto. *libc/stdio/swscanf.c (swscanf): ditto. *libc/stdio/vfwprintf.c (vfwprintf): ditto. *libc/stdio/vfwscanf.c (vfwscanf): ditto. *libc/stdio/vswprintf.c (vswprintf): ditto. *libc/stdio/vswscanf.c (vswscanf): ditto. *libc/stdio/vwprintf.c (vwprintf): ditto. *libc/stdio/vwscanf.c (vwscanf): ditto. *libc/stdio/wprintf.c (wprintf): ditto. *libc/stdio/wscanf.c (wscanf): ditto. *libc/stdlib/mbrlen.c (mbrlen): ditto. *libc/stdlib/mbrtowc.c (mbrtowc): ditto. *libc/stdlib/mbsnrtowcs.c (mbsnrtowcs): ditto. *libc/stdlib/mbsrtowcs.c (mbsrtowcs): ditto. *libc/stdlib/wcrtomb.c (wcrtomb): ditto. *libc/stdlib/wcsnrtombs.c (wcsnrtombs): ditto. *libc/stdlib/wcsrtombs.c (wcsrtombs): ditto. *libc/stdlib/wcstod.c (wcstod): ditto. *libc/stdlib/wcstol.c (wcstol): ditto. *libc/stdlib/wcstold.c (wcstold): ditto. *libc/stdlib/wcstoll.c (wcstoll): ditto. *libc/stdlib/wcstoul.c (wcstoul): ditto. *libc/stdlib/wcstoull.c (cstoull): ditto. *libc/string/wcpcpy.c (wcpcpy): ditto. *libc/string/wcpncpy.c (wcpncpy): ditto. *libc/string/wcscat.c (wcscat): ditto. *libc/string/wcscpy.c (wcscpy): ditto. *libc/string/wcsncat.c (wcsncat): ditto. *libc/string/wcsncpy.c (wcsncpy): ditto. *libc/string/wcsstr.c (wcsstr): ditto. *libc/string/wcstok.c (wcstok): ditto. *libc/string/wcsxfrm.c (wcsxfrm): ditto. *libc/string/wmemcpy.c (wmemcpy): ditto.
2013-11-25 * libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typoCorinna Vinschen
in function name. * libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto.
2013-11-252013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com>Joel Sherrill
* libc/include/time.h (time): Add restrict keyword. * libc/include/wchar.h (wcsftime): Add restrict keyword. * libc/time/asctime_r.c (asctime_r): Same. * libc/time/gmtime_r.c (gmtime_r): Same. * libc/time/lcltime_r.c (lcltime_r): Same. * libc/time/strftime.c (strftime): Same. * libc/time/strptime.c (strptime): Same. * libc/sys/linux/linuxthreads/timer_create.c (timer_create): Same. * libc/sys/linux/linuxthreads/timer_settime.c (timer_settime): Same.
2013-11-242013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com>Joel Sherrill
* libc/include/wordexp.h (wordexp): Add restrict keyword. * libc/posix/wordexp.c (wordexp): Ditto.
2013-11-232013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com>Joel Sherrill
* libc/include/sys/time.h (gettimeofday): Add restrict keyword. (setitimer): Likewise. * libc/sys/rdos/gettod.c (gettimeofday): Likewise. * libc/sys/rtems/crt0.c (gettimeofday): Likewise.
2013-11-232013-11-22 Chirayu Desai <chirayudesai1@gmail.com>Joel Sherrill
* libc/include/sys/unistd.h (readlink): Add restrict keyword. (readlinkat): Ditto. (swab): Ditto. * libc/sys/rdos/readlink.c (readlink): Ditto. * libc/string/swab.c (swab): Ditto.
2013-11-212013-11-21 Julio Gutierrez <jgutleyva@gmail.com>Joel Sherrill
* libc/include/glob.h (glob): Add restrict keyword. * libc/posix/glob.c (glob): Ditto.
2013-11-212013-11-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* libc/include/sys/stat.h, libc/sys/linux/sys/stat.h, libc/sys/m88kbug/syscalls.c, libc/sys/rdos/stat.c, libc/sys/sparc64/sys/stat.h: Add restrict keyword.
2013-11-202013-11-20 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* libc/include/search.h, libc/search/tdelete.c: Add restrict keyword.
2013-11-202013-11-20 Chirayu Desai <chirayudesai1@gmail.com>Joel Sherrill
* libc/include/regex.h, libc/posix/regcomp.c, libc/posix/regerror.c, libc/posix/regex.3 libc/posix/regexec.c: Add restrict keyword.
2013-11-202013-11-20 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* libc/iconv/lib/iconv.c, libc/include/iconv.h, libc/sys/linux/iconv/iconv.c: Add restrict keyword.
2013-11-20 * libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.Corinna Vinschen