summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-03-24 12:23:06 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-03-24 12:23:06 +0000
commite226826635023ef380fc095fe25875f33e3fc9ca (patch)
tree4038dc00bd440b6b9bad64afc9146088985d1359 /contrib
parentNew. (diff)
downloadrtems-e226826635023ef380fc095fe25875f33e3fc9ca.tar.bz2
Add missing dirent.h patch.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/patches/newlib-1.19.0-rtems4.11-20110323.diff270
1 files changed, 143 insertions, 127 deletions
diff --git a/contrib/crossrpms/patches/newlib-1.19.0-rtems4.11-20110323.diff b/contrib/crossrpms/patches/newlib-1.19.0-rtems4.11-20110323.diff
index 611537db80..85ffbce9f1 100644
--- a/contrib/crossrpms/patches/newlib-1.19.0-rtems4.11-20110323.diff
+++ b/contrib/crossrpms/patches/newlib-1.19.0-rtems4.11-20110323.diff
@@ -1,7 +1,11 @@
diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
--- newlib-1.19.0.orig/newlib/ChangeLog 2010-12-16 22:58:38.000000000 +0100
-+++ newlib-1.19.0/newlib/ChangeLog 2011-03-24 12:38:12.084577767 +0100
-@@ -1,3 +1,158 @@
++++ newlib-1.19.0/newlib/ChangeLog 2011-03-24 13:21:38.863638253 +0100
+@@ -1,3 +1,162 @@
++2011-03-23 Ralf Corsépius <ralf.corsepius@rtems.org>
++
++ * libc/sys/rtems/sys/dirent.h: Add const to "select" parameter.
++
+2011-03-03 Corinna Vinschen <vinschen@redhat.com>
+
+ * libc/include/string.h: Include sys/cdefs.h.
@@ -160,7 +164,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
2010-12-16 Jeff Johnston <jjohnstn@redhat.com>
* NEWS: Update with 1.19.0 info.
-@@ -28,12 +183,12 @@
+@@ -28,12 +187,12 @@
* libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.
@@ -175,7 +179,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack,
pthread_attr_getguardsize, pthread_attr_setguardsize.
-@@ -847,7 +1002,7 @@
+@@ -847,7 +1006,7 @@
(__cp_index): Map invalid Windows codepage number 101 to
GEORGIAN-PS conversion array, 102 to PT154 conversion array.
@@ -184,7 +188,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/posix/telldir.c: Remove bogus nested prototype of lseek().
-@@ -1005,6 +1160,18 @@
+@@ -1005,6 +1164,18 @@
* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.
@@ -203,7 +207,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
* NEWS: Update with 1.18.0 info.
-@@ -1048,17 +1215,17 @@
+@@ -1048,17 +1219,17 @@
* libc/stdlib/atexit.c: Ditto.
* libc/stdlib/on_exit.c: Ditto.
@@ -224,7 +228,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock
* libc/include/sys/stat.h: Use struct timespec st_*tim,
-@@ -1076,11 +1243,11 @@
+@@ -1076,11 +1247,11 @@
and ETOOMANYREFS into general list as they are referenced
by OpenGroup and needed by RTEMS.
@@ -238,7 +242,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/sys/rtems/machine/_types.h: New (Derived from
machine/_default_types.h).
-@@ -1204,6 +1371,18 @@
+@@ -1204,6 +1375,18 @@
rather check for return value of -1 and errno. Handle EINVAL
just like ESPIPE. Only set fp->_offset if errno is 0.
@@ -257,7 +261,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
2009-10-27 Nick Clifton <nickc@redhat.com>
* MAINTAINERS (ARM): Add myself as an ARM maintainer.
-@@ -1368,16 +1547,16 @@
+@@ -1368,16 +1551,16 @@
* libc/locale/locale.c: Drop Cygwin-specific windows.h include.
(loadlocale): Call __set_charset_from_codepage with 0 codepage.
@@ -277,7 +281,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* configure.host (m32c): Move setting -DABORT_PROVIDED to second
"case $host".
-@@ -2576,6 +2755,12 @@
+@@ -2576,6 +2759,12 @@
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio/vswprintf.c: Ditto.
@@ -290,7 +294,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
2009-03-09 Brooks Moses <brooks@codesourcery.com>
* libc/machine/arm/arm_asm.h: Fix typo.
-@@ -2673,7 +2858,7 @@
+@@ -2673,7 +2862,7 @@
* libc/machine/arm/strcpy.c: Add missing comma.
@@ -299,7 +303,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/machine/lm32/configure.in: Let
AC_CONFIG_SRCDIR point to setjmp.S instead of setjmp.s
-@@ -2859,24 +3044,24 @@
+@@ -2859,24 +3048,24 @@
* libc/string/wcstrings.tex: Ditto.
* libc/string/Makefile.in: Regenerated.
@@ -328,7 +332,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* configure.host: Let *rtems* default to c99-formats.
-@@ -3026,7 +3211,7 @@
+@@ -3026,7 +3215,7 @@
<linux/dirent.h>.
* libc/sys/linux/io64.c: Add weak alias for _stat64.
@@ -337,7 +341,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/posix/telldir.c: Use #if !defined() instead of #ifndef
to fix GCC warning.
-@@ -3198,17 +3383,17 @@
+@@ -3198,17 +3387,17 @@
* libc/unix/collate.c (__collate_err): simplify to remove unnecessary
strdup() and strlen() calls, also getting rid of a compiler warning.
@@ -358,7 +362,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/pthread.h: Remove prototypes for
pthread_attr_getcputime and pthread_attr_setcputime which
-@@ -5263,7 +5448,7 @@
+@@ -5263,7 +5452,7 @@
* libc/machine/spu/sprintf.c: Ditto.
* libc/machine/spu/sscanf.c: Ditto.
@@ -367,7 +371,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/tar.h: New.
-@@ -6455,7 +6640,7 @@
+@@ -6455,7 +6644,7 @@
* libc/include/sys/unistd.h: Define all _SC_xxx values as
required by SUSv3. Unify formatting.
@@ -376,7 +380,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/sys/errno.h: Add ECANCELED.
-@@ -7248,7 +7433,7 @@
+@@ -7248,7 +7437,7 @@
* libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
(sigaddset, sigemptyset): Add return code.
@@ -385,7 +389,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* acinclude.m4: New _NEWLIB_VERSION.
* acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
-@@ -7737,7 +7922,7 @@
+@@ -7737,7 +7926,7 @@
* libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
take a pointer to struct stat64 rather than struct stat.
@@ -394,7 +398,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/stdint.h: Prefer long over int for int32_t.
Use __have_long32 to set up int32_t.
-@@ -7766,7 +7951,7 @@
+@@ -7766,7 +7955,7 @@
* libc/include/sys/types.h: Remove the ifdef armour around
standard POSIX types.
@@ -403,7 +407,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
rtems_gxx_key_delete, rtems_gxx_getspecific,
-@@ -7845,7 +8030,7 @@
+@@ -7845,7 +8034,7 @@
* libc/sys/linux/sys/unistd.h (readlink, symlink): New
prototypes.
@@ -412,7 +416,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/stdint.h: Cleanup #if vs. #ifdef.
-@@ -8069,11 +8254,11 @@
+@@ -8069,11 +8258,11 @@
* libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
to ENOMEM on failure.
@@ -426,7 +430,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/stdint.h: Move magic to set __have_long* to the
beginning. Use #if __have* instead of #if defined(__have*).
-@@ -8089,14 +8274,14 @@
+@@ -8089,14 +8278,14 @@
* libc/sys/linux/include/stdint.h: Include <sys/types.h> and
incorporate Ralf's change below.
@@ -443,7 +447,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
handling GCC >= 4.
-@@ -8432,16 +8617,16 @@
+@@ -8432,16 +8621,16 @@
* configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
-DCOMPACT_CTYPE.
@@ -463,7 +467,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/machine/_types.h: New file.
* libc/include/sys/types.h: Do not check for __rtems__
-@@ -8450,7 +8635,7 @@
+@@ -8450,7 +8639,7 @@
* libc/sys/rtems/machine/_types.h: Removed. Replaced with
shared header file.
@@ -472,7 +476,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
L qualifier for these long constants.
-@@ -8466,13 +8651,13 @@
+@@ -8466,13 +8655,13 @@
* libc/time/strftime.c (strftime): Fix '%x' to deal with negative
years. Fix '%z' to use long, not int.
@@ -488,7 +492,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/sys/types.h [__rtems__]: Include new
header file machine/_types.h.
-@@ -8836,7 +9021,7 @@
+@@ -8836,7 +9025,7 @@
* libc/stdio/fread.c (fread): Fix return value for unbuffered
fread.
@@ -497,7 +501,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/include/machine/setjmp.h: Add AVR support.
* libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
-@@ -15068,7 +15253,7 @@
+@@ -15068,7 +15257,7 @@
* libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
@@ -506,7 +510,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
-@@ -15745,7 +15930,7 @@
+@@ -15745,7 +15934,7 @@
* libc/sys/linux/sys/utsname.h: Ditto.
* libc/sys/linux/sys/wait.h: Ditto.
@@ -515,7 +519,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
can be a relative path to $(top_srcdir)/install.sh so ensure the
-@@ -16650,7 +16835,7 @@
+@@ -16650,7 +16839,7 @@
* libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
section
@@ -526,7 +530,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog newlib-1.19.0/newlib/ChangeLog
* libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
diff -Naur newlib-1.19.0.orig/newlib/ChangeLog.rtems newlib-1.19.0/newlib/ChangeLog.rtems
--- newlib-1.19.0.orig/newlib/ChangeLog.rtems 1970-01-01 01:00:00.000000000 +0100
-+++ newlib-1.19.0/newlib/ChangeLog.rtems 2011-03-24 12:38:12.085577782 +0100
++++ newlib-1.19.0/newlib/ChangeLog.rtems 2011-03-24 13:21:38.864638267 +0100
@@ -0,0 +1,83 @@
+2011-01-07 Ralf Corsépius <ralf.corsepius@rtems.org>
+
@@ -613,7 +617,7 @@ diff -Naur newlib-1.19.0.orig/newlib/ChangeLog.rtems newlib-1.19.0/newlib/Change
+
diff -Naur newlib-1.19.0.orig/newlib/doc/makedoc.c newlib-1.19.0/newlib/doc/makedoc.c
--- newlib-1.19.0.orig/newlib/doc/makedoc.c 2009-03-25 22:16:04.000000000 +0100
-+++ newlib-1.19.0/newlib/doc/makedoc.c 2011-03-24 12:38:12.086577797 +0100
++++ newlib-1.19.0/newlib/doc/makedoc.c 2011-03-24 13:21:38.865638281 +0100
@@ -57,7 +57,7 @@
{
char *ptr;
@@ -654,7 +658,7 @@ diff -Naur newlib-1.19.0.orig/newlib/doc/makedoc.c newlib-1.19.0/newlib/doc/make
}
diff -Naur newlib-1.19.0.orig/newlib/libc/configure newlib-1.19.0/newlib/libc/configure
--- newlib-1.19.0.orig/newlib/libc/configure 2010-12-16 22:58:39.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/configure 2011-03-24 12:38:12.091577872 +0100
++++ newlib-1.19.0/newlib/libc/configure 2011-03-24 13:21:38.869638341 +0100
@@ -625,7 +625,10 @@
HAVE_XDR_DIR_TRUE
LIBC_XDR_DEF
@@ -714,7 +718,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/configure newlib-1.19.0/newlib/libc/co
Usually this means the macro was only invoked conditionally." "$LINENO" 5
diff -Naur newlib-1.19.0.orig/newlib/libc/configure.in newlib-1.19.0/newlib/libc/configure.in
--- newlib-1.19.0.orig/newlib/libc/configure.in 2010-04-23 01:32:40.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/configure.in 2011-03-24 12:38:12.091577872 +0100
++++ newlib-1.19.0/newlib/libc/configure.in 2011-03-24 13:21:38.869638341 +0100
@@ -41,17 +41,6 @@
dnl for the library and an automake conditional for whether we should
dnl build the library.
@@ -735,7 +739,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/configure.in newlib-1.19.0/newlib/libc
if test -n "${signal_dir}"; then
diff -Naur newlib-1.19.0.orig/newlib/libc/include/inttypes.h newlib-1.19.0/newlib/libc/include/inttypes.h
--- newlib-1.19.0.orig/newlib/libc/include/inttypes.h 2009-01-19 23:02:06.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/include/inttypes.h 2011-03-24 12:38:12.091577872 +0100
++++ newlib-1.19.0/newlib/libc/include/inttypes.h 2011-03-24 13:21:38.869638341 +0100
@@ -242,15 +242,17 @@
#define SCNxMAX __SCNMAX(x)
@@ -764,7 +768,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/inttypes.h newlib-1.19.0/newli
#define PRIdPTR __PRIPTR(d)
diff -Naur newlib-1.19.0.orig/newlib/libc/include/machine/_default_types.h newlib-1.19.0/newlib/libc/include/machine/_default_types.h
--- newlib-1.19.0.orig/newlib/libc/include/machine/_default_types.h 2008-06-12 00:14:54.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/machine/_default_types.h 2011-03-24 12:38:12.091577872 +0100
++++ newlib-1.19.0/newlib/libc/include/machine/_default_types.h 2011-03-24 13:21:38.869638341 +0100
@@ -54,14 +54,14 @@
#endif
#endif
@@ -787,7 +791,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/machine/_default_types.h newli
typedef unsigned short __uint32_t;
diff -Naur newlib-1.19.0.orig/newlib/libc/include/signal.h newlib-1.19.0/newlib/libc/include/signal.h
--- newlib-1.19.0.orig/newlib/libc/include/signal.h 2010-07-13 13:18:55.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/signal.h 2011-03-24 12:38:12.092577887 +0100
++++ newlib-1.19.0/newlib/libc/include/signal.h 2011-03-24 13:21:38.870638356 +0100
@@ -7,9 +7,6 @@
_BEGIN_STD_C
@@ -800,7 +804,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/signal.h newlib-1.19.0/newlib/
#define SIG_IGN ((_sig_func_ptr)1) /* Ignore action */
diff -Naur newlib-1.19.0.orig/newlib/libc/include/stdint.h newlib-1.19.0/newlib/libc/include/stdint.h
--- newlib-1.19.0.orig/newlib/libc/include/stdint.h 2009-04-24 23:55:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/stdint.h 2011-03-24 12:38:12.092577887 +0100
++++ newlib-1.19.0/newlib/libc/include/stdint.h 2011-03-24 13:21:38.870638356 +0100
@@ -33,7 +33,7 @@
/* Check if "long" is 64bit or 32bit wide */
#if __STDINT_EXP(LONG_MAX) > 0x7fffffff
@@ -879,7 +883,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/stdint.h newlib-1.19.0/newlib/
#endif
diff -Naur newlib-1.19.0.orig/newlib/libc/include/stdio.h newlib-1.19.0/newlib/libc/include/stdio.h
--- newlib-1.19.0.orig/newlib/libc/include/stdio.h 2010-02-26 10:41:43.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/include/stdio.h 2011-03-24 12:38:12.092577887 +0100
++++ newlib-1.19.0/newlib/libc/include/stdio.h 2011-03-24 13:21:38.870638356 +0100
@@ -308,7 +308,7 @@
* Routines in POSIX 1003.1:2001.
*/
@@ -891,7 +895,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/stdio.h newlib-1.19.0/newlib/l
#endif
diff -Naur newlib-1.19.0.orig/newlib/libc/include/stdlib.h newlib-1.19.0/newlib/libc/include/stdlib.h
--- newlib-1.19.0.orig/newlib/libc/include/stdlib.h 2010-07-19 20:21:11.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/stdlib.h 2011-03-24 12:38:12.093577902 +0100
++++ newlib-1.19.0/newlib/libc/include/stdlib.h 2011-03-24 13:21:38.870638356 +0100
@@ -38,7 +38,7 @@
long rem; /* remainder */
} ldiv_t;
@@ -1034,7 +1038,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/stdlib.h newlib-1.19.0/newlib/
#ifdef _LDBL_EQ_DBL
diff -Naur newlib-1.19.0.orig/newlib/libc/include/string.h newlib-1.19.0/newlib/libc/include/string.h
--- newlib-1.19.0.orig/newlib/libc/include/string.h 2008-06-18 17:27:27.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/string.h 2011-03-24 12:38:12.093577902 +0100
++++ newlib-1.19.0/newlib/libc/include/string.h 2011-03-24 13:21:38.871638371 +0100
@@ -9,6 +9,7 @@
#include "_ansi.h"
@@ -1113,7 +1117,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/string.h newlib-1.19.0/newlib/
#include <sys/string.h>
diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/cdefs.h newlib-1.19.0/newlib/libc/include/sys/cdefs.h
--- newlib-1.19.0.orig/newlib/libc/include/sys/cdefs.h 2002-06-20 21:51:24.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/sys/cdefs.h 2011-03-24 12:38:12.093577902 +0100
++++ newlib-1.19.0/newlib/libc/include/sys/cdefs.h 2011-03-24 13:21:38.871638371 +0100
@@ -58,6 +58,27 @@
#define __DOTS , ...
#define __THROW
@@ -1144,7 +1148,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/cdefs.h newlib-1.19.0/newl
diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/_default_fcntl.h newlib-1.19.0/newlib/libc/include/sys/_default_fcntl.h
--- newlib-1.19.0.orig/newlib/libc/include/sys/_default_fcntl.h 2010-01-14 19:49:13.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/include/sys/_default_fcntl.h 2011-03-24 12:38:12.093577902 +0100
++++ newlib-1.19.0/newlib/libc/include/sys/_default_fcntl.h 2011-03-24 13:21:38.871638371 +0100
@@ -51,8 +51,6 @@
#define O_BINARY _FBINARY
#define O_TEXT _FTEXT
@@ -1180,7 +1184,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/dir.h newlib-1.19.0/newlib
-#endif /*_SYS_DIR_H_*/
diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/features.h newlib-1.19.0/newlib/libc/include/sys/features.h
--- newlib-1.19.0.orig/newlib/libc/include/sys/features.h 2010-08-09 10:29:22.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/sys/features.h 2011-03-24 12:38:12.097577962 +0100
++++ newlib-1.19.0/newlib/libc/include/sys/features.h 2011-03-24 13:21:38.874638418 +0100
@@ -15,7 +15,7 @@
* OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
* SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
@@ -1205,7 +1209,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/features.h newlib-1.19.0/n
/* Per the permission given in POSIX.1-2008 section 2.2.1, define
diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/types.h newlib-1.19.0/newlib/libc/include/sys/types.h
--- newlib-1.19.0.orig/newlib/libc/include/sys/types.h 2010-12-08 15:44:06.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/include/sys/types.h 2011-03-24 12:38:12.097577962 +0100
++++ newlib-1.19.0/newlib/libc/include/sys/types.h 2011-03-24 13:21:38.875638433 +0100
@@ -98,6 +98,7 @@
typedef unsigned short ushort; /* System V compatibility */
@@ -1216,7 +1220,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/sys/types.h newlib-1.19.0/newl
#ifndef __clock_t_defined
diff -Naur newlib-1.19.0.orig/newlib/libc/include/wchar.h newlib-1.19.0/newlib/libc/include/wchar.h
--- newlib-1.19.0.orig/newlib/libc/include/wchar.h 2009-10-15 10:23:27.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/include/wchar.h 2011-03-24 12:38:12.097577962 +0100
++++ newlib-1.19.0/newlib/libc/include/wchar.h 2011-03-24 13:21:38.875638433 +0100
@@ -16,6 +16,9 @@
/* For _mbstate_t definition. */
#include <sys/_types.h>
@@ -1229,7 +1233,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/include/wchar.h newlib-1.19.0/newlib/l
#endif
diff -Naur newlib-1.19.0.orig/newlib/libc/machine/m68k/memcpy.S newlib-1.19.0/newlib/libc/machine/m68k/memcpy.S
--- newlib-1.19.0.orig/newlib/libc/machine/m68k/memcpy.S 2010-02-08 18:24:22.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/machine/m68k/memcpy.S 2011-03-24 12:38:12.097577962 +0100
++++ newlib-1.19.0/newlib/libc/machine/m68k/memcpy.S 2011-03-24 13:21:38.875638433 +0100
@@ -15,7 +15,7 @@
#include "m68kasm.h"
@@ -1241,7 +1245,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/machine/m68k/memcpy.S newlib-1.19.0/ne
# define MISALIGNED_OK 0
diff -Naur newlib-1.19.0.orig/newlib/libc/machine/mips/strlen.c newlib-1.19.0/newlib/libc/machine/mips/strlen.c
--- newlib-1.19.0.orig/newlib/libc/machine/mips/strlen.c 2002-03-14 03:41:43.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/machine/mips/strlen.c 2011-03-24 12:38:12.097577962 +0100
++++ newlib-1.19.0/newlib/libc/machine/mips/strlen.c 2011-03-24 13:21:38.875638433 +0100
@@ -60,6 +60,9 @@
" addiu $2,$4,1\n"
"\n"
@@ -1254,7 +1258,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/machine/mips/strlen.c newlib-1.19.0/ne
"\n"
diff -Naur newlib-1.19.0.orig/newlib/libc/machine/powerpc/Makefile.am newlib-1.19.0/newlib/libc/machine/powerpc/Makefile.am
--- newlib-1.19.0.orig/newlib/libc/machine/powerpc/Makefile.am 2007-05-24 19:33:35.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/machine/powerpc/Makefile.am 2011-03-24 12:38:12.097577962 +0100
++++ newlib-1.19.0/newlib/libc/machine/powerpc/Makefile.am 2011-03-24 13:21:38.875638433 +0100
@@ -10,7 +10,7 @@
AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib
@@ -1266,7 +1270,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/machine/powerpc/Makefile.am newlib-1.1
lib_a_LIBADD = @extra_objs@
diff -Naur newlib-1.19.0.orig/newlib/libc/machine/powerpc/Makefile.in newlib-1.19.0/newlib/libc/machine/powerpc/Makefile.in
--- newlib-1.19.0.orig/newlib/libc/machine/powerpc/Makefile.in 2010-12-16 22:58:53.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/machine/powerpc/Makefile.in 2011-03-24 12:38:12.098577977 +0100
++++ newlib-1.19.0/newlib/libc/machine/powerpc/Makefile.in 2011-03-24 13:21:38.875638433 +0100
@@ -51,7 +51,7 @@
LIBRARIES = $(noinst_LIBRARIES)
ARFLAGS = cru
@@ -1355,7 +1359,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/machine/powerpc/times.c newlib-1.19.0/
-}
diff -Naur newlib-1.19.0.orig/newlib/libc/Makefile.am newlib-1.19.0/newlib/libc/Makefile.am
--- newlib-1.19.0.orig/newlib/libc/Makefile.am 2010-05-07 01:25:16.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/Makefile.am 2011-03-24 12:38:12.086577797 +0100
++++ newlib-1.19.0/newlib/libc/Makefile.am 2011-03-24 13:21:38.865638281 +0100
@@ -36,6 +36,8 @@
if HAVE_XDR_DIR
@@ -1377,7 +1381,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/Makefile.am newlib-1.19.0/newlib/libc/
targetdep.tex $(SUBDEFS)
diff -Naur newlib-1.19.0.orig/newlib/libc/Makefile.in newlib-1.19.0/newlib/libc/Makefile.in
--- newlib-1.19.0.orig/newlib/libc/Makefile.in 2010-12-16 22:58:39.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/Makefile.in 2011-03-24 12:38:12.087577812 +0100
++++ newlib-1.19.0/newlib/libc/Makefile.in 2011-03-24 13:21:38.866638296 +0100
@@ -17,6 +17,7 @@
@@ -1516,7 +1520,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/Makefile.in newlib-1.19.0/newlib/libc/
@USE_LIBTOOL_FALSE@ rm -f $@
diff -Naur newlib-1.19.0.orig/newlib/libc/misc/__dprintf.c newlib-1.19.0/newlib/libc/misc/__dprintf.c
--- newlib-1.19.0.orig/newlib/libc/misc/__dprintf.c 2008-12-11 18:27:55.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/misc/__dprintf.c 2011-03-24 12:38:12.098577977 +0100
++++ newlib-1.19.0/newlib/libc/misc/__dprintf.c 2011-03-24 13:21:38.876638448 +0100
@@ -5,6 +5,7 @@
*/
@@ -1536,7 +1540,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/misc/__dprintf.c newlib-1.19.0/newlib/
case 'd' :
diff -Naur newlib-1.19.0.orig/newlib/libc/misc/ffs.c newlib-1.19.0/newlib/libc/misc/ffs.c
--- newlib-1.19.0.orig/newlib/libc/misc/ffs.c 2003-06-06 21:57:51.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/misc/ffs.c 2011-03-24 12:38:12.098577977 +0100
++++ newlib-1.19.0/newlib/libc/misc/ffs.c 2011-03-24 13:21:38.876638448 +0100
@@ -6,9 +6,11 @@
ffs
@@ -1560,7 +1564,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/misc/ffs.c newlib-1.19.0/newlib/libc/m
_DEFUN(ffs, (word),
diff -Naur newlib-1.19.0.orig/newlib/libc/posix/readdir.c newlib-1.19.0/newlib/libc/posix/readdir.c
--- newlib-1.19.0.orig/newlib/libc/posix/readdir.c 2003-06-06 21:57:51.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/posix/readdir.c 2011-03-24 12:38:12.098577977 +0100
++++ newlib-1.19.0/newlib/libc/posix/readdir.c 2011-03-24 13:21:38.876638448 +0100
@@ -37,6 +37,7 @@
static char sccsid[] = "@(#)readdir.c 5.7 (Berkeley) 6/1/90";
#endif /* LIBC_SCCS and not lint */
@@ -1580,7 +1584,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/posix/readdir.c newlib-1.19.0/newlib/l
#endif
diff -Naur newlib-1.19.0.orig/newlib/libc/search/db_local.h newlib-1.19.0/newlib/libc/search/db_local.h
--- newlib-1.19.0.orig/newlib/libc/search/db_local.h 2010-03-05 09:55:15.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/search/db_local.h 2011-03-24 12:38:12.098577977 +0100
++++ newlib-1.19.0/newlib/libc/search/db_local.h 2011-03-24 13:21:38.876638448 +0100
@@ -102,11 +102,11 @@
typedef struct __db {
DBTYPE type; /* Underlying db type. */
@@ -1600,7 +1604,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/search/db_local.h newlib-1.19.0/newlib
} DB;
diff -Naur newlib-1.19.0.orig/newlib/libc/search/extern.h newlib-1.19.0/newlib/libc/search/extern.h
--- newlib-1.19.0.orig/newlib/libc/search/extern.h 2002-06-20 21:51:31.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/search/extern.h 2011-03-24 12:38:12.099577992 +0100
++++ newlib-1.19.0/newlib/libc/search/extern.h 2011-03-24 13:21:38.876638448 +0100
@@ -43,7 +43,7 @@
int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *,
int, __uint32_t, SPLIT_RETURN *);
@@ -1612,7 +1616,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/search/extern.h newlib-1.19.0/newlib/l
int __expand_table(HTAB *);
diff -Naur newlib-1.19.0.orig/newlib/libc/search/hash_buf.c newlib-1.19.0/newlib/libc/search/hash_buf.c
--- newlib-1.19.0.orig/newlib/libc/search/hash_buf.c 2004-05-26 19:57:10.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/search/hash_buf.c 2011-03-24 12:38:12.099577992 +0100
++++ newlib-1.19.0/newlib/libc/search/hash_buf.c 2011-03-24 13:21:38.877638463 +0100
@@ -118,7 +118,7 @@
int newpage; /* If prev_bp set, indicates a new overflow page. */
{
@@ -1633,7 +1637,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/search/hash_buf.c newlib-1.19.0/newlib
int npages;
diff -Naur newlib-1.19.0.orig/newlib/libc/search/hash.h newlib-1.19.0/newlib/libc/search/hash.h
--- newlib-1.19.0.orig/newlib/libc/search/hash.h 2008-07-02 20:38:45.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/search/hash.h 2011-03-24 12:38:12.099577992 +0100
++++ newlib-1.19.0/newlib/libc/search/hash.h 2011-03-24 13:21:38.876638448 +0100
@@ -82,7 +82,7 @@
/* Hash Table Information */
@@ -1654,7 +1658,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/search/hash.h newlib-1.19.0/newlib/lib
int h_charkey; /* value of hash(CHARKEY) */
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fclose.c newlib-1.19.0/newlib/libc/stdio/fclose.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fclose.c 2007-07-13 22:37:53.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/fclose.c 2011-03-24 12:38:12.099577992 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fclose.c 2011-03-24 13:21:38.877638463 +0100
@@ -74,8 +74,6 @@
if (fp == NULL)
return (0); /* on NULL */
@@ -1682,7 +1686,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fclose.c newlib-1.19.0/newlib/li
#ifndef __SINGLE_THREAD__
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fflush.c newlib-1.19.0/newlib/libc/stdio/fflush.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fflush.c 2009-10-30 09:26:41.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/fflush.c 2011-03-24 12:38:12.100578007 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fflush.c 2011-03-24 13:21:38.877638463 +0100
@@ -67,37 +67,16 @@
/* Flush a single file, or (if fp is NULL) all files. */
@@ -1803,7 +1807,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fflush.c newlib-1.19.0/newlib/li
int
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgetc.c newlib-1.19.0/newlib/libc/stdio/fgetc.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fgetc.c 2009-04-25 00:52:51.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/fgetc.c 2011-03-24 12:38:12.100578007 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fgetc.c 2011-03-24 13:21:38.877638463 +0100
@@ -93,11 +93,9 @@
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
int result;
@@ -1818,7 +1822,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgetc.c newlib-1.19.0/newlib/lib
return _fgetc_r (_REENT, fp);
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgets.c newlib-1.19.0/newlib/libc/stdio/fgets.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fgets.c 2009-04-25 00:52:51.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/fgets.c 2011-03-24 12:38:12.100578007 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fgets.c 2011-03-24 13:21:38.877638463 +0100
@@ -98,7 +98,6 @@
CHECK_INIT(ptr, fp);
@@ -1866,7 +1870,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgets.c newlib-1.19.0/newlib/lib
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgetwc.c newlib-1.19.0/newlib/libc/stdio/fgetwc.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fgetwc.c 2009-04-25 00:52:52.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/fgetwc.c 2011-03-24 12:38:12.100578007 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fgetwc.c 2011-03-24 13:21:38.878638478 +0100
@@ -164,12 +164,10 @@
{
wint_t r;
@@ -1882,7 +1886,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgetwc.c newlib-1.19.0/newlib/li
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgetws.c newlib-1.19.0/newlib/libc/stdio/fgetws.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fgetws.c 2009-04-25 00:52:52.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/fgetws.c 2011-03-24 12:38:12.100578007 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fgetws.c 2011-03-24 13:21:38.878638478 +0100
@@ -93,7 +93,6 @@
const char *src;
unsigned char *nl;
@@ -1906,7 +1910,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fgetws.c newlib-1.19.0/newlib/li
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fmemopen.c newlib-1.19.0/newlib/libc/stdio/fmemopen.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fmemopen.c 2007-08-02 22:23:06.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/fmemopen.c 2011-03-24 12:38:12.101578022 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fmemopen.c 2011-03-24 13:21:38.878638478 +0100
@@ -281,7 +281,7 @@
if ((flags = __sflags (ptr, mode, &dummy)) == 0)
@@ -1927,7 +1931,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fmemopen.c newlib-1.19.0/newlib/
}
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fread.c newlib-1.19.0/newlib/libc/stdio/fread.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fread.c 2009-04-25 00:52:52.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/fread.c 2011-03-24 12:38:12.101578022 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fread.c 2011-03-24 13:21:38.878638478 +0100
@@ -146,7 +146,6 @@
CHECK_INIT(ptr, fp);
@@ -1977,7 +1981,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fread.c newlib-1.19.0/newlib/lib
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/freopen.c newlib-1.19.0/newlib/libc/stdio/freopen.c
--- newlib-1.19.0.orig/newlib/libc/stdio/freopen.c 2008-12-12 16:45:19.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/freopen.c 2011-03-24 12:38:12.101578022 +0100
++++ newlib-1.19.0/newlib/libc/stdio/freopen.c 2011-03-24 13:21:38.878638478 +0100
@@ -98,8 +98,6 @@
int flags, oflags;
int e = 0;
@@ -2013,7 +2017,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/freopen.c newlib-1.19.0/newlib/l
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fseek.c newlib-1.19.0/newlib/libc/stdio/fseek.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fseek.c 2009-12-17 20:43:43.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/fseek.c 2011-03-24 12:38:12.101578022 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fseek.c 2011-03-24 13:21:38.879638493 +0100
@@ -138,7 +138,6 @@
CHECK_INIT (ptr, fp);
@@ -2088,7 +2092,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fseek.c newlib-1.19.0/newlib/lib
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fwalk.c newlib-1.19.0/newlib/libc/stdio/fwalk.c
--- newlib-1.19.0.orig/newlib/libc/stdio/fwalk.c 2009-01-12 23:19:11.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/fwalk.c 2011-03-24 12:38:12.101578022 +0100
++++ newlib-1.19.0/newlib/libc/stdio/fwalk.c 2011-03-24 13:21:38.879638493 +0100
@@ -27,8 +27,8 @@
#include <errno.h>
#include "local.h"
@@ -2195,7 +2199,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/fwalk.c newlib-1.19.0/newlib/lib
-}
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/getc.c newlib-1.19.0/newlib/libc/stdio/getc.c
--- newlib-1.19.0.orig/newlib/libc/stdio/getc.c 2009-04-25 00:52:52.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/getc.c 2011-03-24 12:38:12.102578037 +0100
++++ newlib-1.19.0/newlib/libc/stdio/getc.c 2011-03-24 13:21:38.879638493 +0100
@@ -92,11 +92,9 @@
{
int result;
@@ -2222,7 +2226,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/getc.c newlib-1.19.0/newlib/libc
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/getdelim.c newlib-1.19.0/newlib/libc/stdio/getdelim.c
--- newlib-1.19.0.orig/newlib/libc/stdio/getdelim.c 2009-04-25 00:52:52.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/getdelim.c 2011-03-24 12:38:12.102578037 +0100
++++ newlib-1.19.0/newlib/libc/stdio/getdelim.c 2011-03-24 13:21:38.879638493 +0100
@@ -81,7 +81,6 @@
CHECK_INIT (_REENT, fp);
@@ -2241,7 +2245,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/getdelim.c newlib-1.19.0/newlib/
if (ptr == buf)
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/gets.c newlib-1.19.0/newlib/libc/stdio/gets.c
--- newlib-1.19.0.orig/newlib/libc/stdio/gets.c 2009-04-25 00:52:52.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/gets.c 2011-03-24 12:38:12.102578037 +0100
++++ newlib-1.19.0/newlib/libc/stdio/gets.c 2011-03-24 13:21:38.879638493 +0100
@@ -79,14 +79,12 @@
register int c;
register char *s = buf;
@@ -2267,7 +2271,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/gets.c newlib-1.19.0/newlib/libc
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/local.h newlib-1.19.0/newlib/libc/stdio/local.h
--- newlib-1.19.0.orig/newlib/libc/stdio/local.h 2009-04-22 10:30:03.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/local.h 2011-03-24 12:38:12.102578037 +0100
++++ newlib-1.19.0/newlib/libc/stdio/local.h 2011-03-24 13:21:38.879638493 +0100
@@ -54,6 +54,7 @@
va_list));
extern FILE *_EXFUN(__sfp,(struct _reent *));
@@ -2278,7 +2282,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/local.h newlib-1.19.0/newlib/lib
int));
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/open_memstream.c newlib-1.19.0/newlib/libc/stdio/open_memstream.c
--- newlib-1.19.0.orig/newlib/libc/stdio/open_memstream.c 2009-02-25 05:00:05.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/open_memstream.c 2011-03-24 12:38:12.102578037 +0100
++++ newlib-1.19.0/newlib/libc/stdio/open_memstream.c 2011-03-24 13:21:38.880638508 +0100
@@ -330,8 +330,10 @@
c->max *= sizeof(wchar_t);
if (c->max < 64)
@@ -2294,7 +2298,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/open_memstream.c newlib-1.19.0/n
if (!*buf)
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/refill.c newlib-1.19.0/newlib/libc/stdio/refill.c
--- newlib-1.19.0.orig/newlib/libc/stdio/refill.c 2008-12-11 00:43:12.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/refill.c 2011-03-24 12:38:12.102578037 +0100
++++ newlib-1.19.0/newlib/libc/stdio/refill.c 2011-03-24 13:21:38.880638508 +0100
@@ -102,9 +102,19 @@
* flush all line buffered output files, per the ANSI C
* standard.
@@ -2319,7 +2323,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/refill.c newlib-1.19.0/newlib/li
#ifndef __CYGWIN__
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/tmpnam.c newlib-1.19.0/newlib/libc/stdio/tmpnam.c
--- newlib-1.19.0.orig/newlib/libc/stdio/tmpnam.c 2004-04-23 22:01:55.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio/tmpnam.c 2011-03-24 12:38:12.103578052 +0100
++++ newlib-1.19.0/newlib/libc/stdio/tmpnam.c 2011-03-24 13:21:38.880638508 +0100
@@ -94,6 +94,7 @@
#include <_ansi.h>
#include <reent.h>
@@ -2348,7 +2352,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/tmpnam.c newlib-1.19.0/newlib/li
return filename;
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/vfscanf.c newlib-1.19.0/newlib/libc/stdio/vfscanf.c
--- newlib-1.19.0.orig/newlib/libc/stdio/vfscanf.c 2010-01-20 00:16:45.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/vfscanf.c 2011-03-24 12:38:12.104578066 +0100
++++ newlib-1.19.0/newlib/libc/stdio/vfscanf.c 2011-03-24 13:21:38.880638508 +0100
@@ -494,7 +494,6 @@
# define GET_ARG(n, ap, type) (va_arg (ap, type))
#endif
@@ -2381,7 +2385,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/vfscanf.c newlib-1.19.0/newlib/l
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/vfwscanf.c newlib-1.19.0/newlib/libc/stdio/vfwscanf.c
--- newlib-1.19.0.orig/newlib/libc/stdio/vfwscanf.c 2009-03-11 12:53:22.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdio/vfwscanf.c 2011-03-24 12:38:12.104578066 +0100
++++ newlib-1.19.0/newlib/libc/stdio/vfwscanf.c 2011-03-24 13:21:38.881638523 +0100
@@ -434,7 +434,6 @@
# define GET_ARG(n, ap, type) (va_arg (ap, type))
#endif
@@ -2414,7 +2418,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio/vfwscanf.c newlib-1.19.0/newlib/
diff -Naur newlib-1.19.0.orig/newlib/libc/stdio64/freopen64.c newlib-1.19.0/newlib/libc/stdio64/freopen64.c
--- newlib-1.19.0.orig/newlib/libc/stdio64/freopen64.c 2007-07-13 22:37:53.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdio64/freopen64.c 2011-03-24 12:38:12.104578066 +0100
++++ newlib-1.19.0/newlib/libc/stdio64/freopen64.c 2011-03-24 13:21:38.881638523 +0100
@@ -97,7 +97,6 @@
int flags, oflags;
int e = 0;
@@ -2449,7 +2453,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdio64/freopen64.c newlib-1.19.0/newl
diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/atof.c newlib-1.19.0/newlib/libc/stdlib/atof.c
--- newlib-1.19.0.orig/newlib/libc/stdlib/atof.c 2003-10-20 20:46:37.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdlib/atof.c 2011-03-24 12:38:12.105578080 +0100
++++ newlib-1.19.0/newlib/libc/stdlib/atof.c 2011-03-24 13:21:38.883638553 +0100
@@ -1,6 +1,6 @@
/*
FUNCTION
@@ -2516,7 +2520,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/atoff.c newlib-1.19.0/newlib/li
-}
diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/Makefile.am newlib-1.19.0/newlib/libc/stdlib/Makefile.am
--- newlib-1.19.0.orig/newlib/libc/stdlib/Makefile.am 2009-04-16 20:24:35.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/stdlib/Makefile.am 2011-03-24 12:38:12.104578066 +0100
++++ newlib-1.19.0/newlib/libc/stdlib/Makefile.am 2011-03-24 13:21:38.881638523 +0100
@@ -16,7 +16,6 @@
assert.c \
atexit.c \
@@ -2527,7 +2531,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/Makefile.am newlib-1.19.0/newli
calloc.c \
diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/Makefile.in newlib-1.19.0/newlib/libc/stdlib/Makefile.in
--- newlib-1.19.0.orig/newlib/libc/stdlib/Makefile.in 2010-12-16 22:59:03.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdlib/Makefile.in 2011-03-24 12:38:12.105578080 +0100
++++ newlib-1.19.0/newlib/libc/stdlib/Makefile.in 2011-03-24 13:21:38.883638553 +0100
@@ -69,8 +69,7 @@
lib_a-__ten_mu.$(OBJEXT) lib_a-_Exit.$(OBJEXT) \
lib_a-abort.$(OBJEXT) lib_a-abs.$(OBJEXT) \
@@ -2599,7 +2603,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/Makefile.in newlib-1.19.0/newli
diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/putenv_r.c newlib-1.19.0/newlib/libc/stdlib/putenv_r.c
--- newlib-1.19.0.orig/newlib/libc/stdlib/putenv_r.c 2004-11-24 23:34:14.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/stdlib/putenv_r.c 2011-03-24 12:38:12.105578080 +0100
++++ newlib-1.19.0/newlib/libc/stdlib/putenv_r.c 2011-03-24 13:21:38.883638553 +0100
@@ -24,6 +24,7 @@
#include <reent.h>
#include <stdlib.h>
@@ -2610,7 +2614,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/stdlib/putenv_r.c newlib-1.19.0/newlib
diff -Naur newlib-1.19.0.orig/newlib/libc/string/bcmp.c newlib-1.19.0/newlib/libc/string/bcmp.c
--- newlib-1.19.0.orig/newlib/libc/string/bcmp.c 2005-10-28 23:21:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/bcmp.c 2011-03-24 12:38:12.106578095 +0100
++++ newlib-1.19.0/newlib/libc/string/bcmp.c 2011-03-24 13:21:38.884638568 +0100
@@ -6,11 +6,11 @@
bcmp
@@ -2636,7 +2640,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/bcmp.c newlib-1.19.0/newlib/lib
_DEFUN (bcmp, (m1, m2, n),
diff -Naur newlib-1.19.0.orig/newlib/libc/string/bcopy.c newlib-1.19.0/newlib/libc/string/bcopy.c
--- newlib-1.19.0.orig/newlib/libc/string/bcopy.c 2002-05-23 20:46:04.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/bcopy.c 2011-03-24 12:38:12.106578095 +0100
++++ newlib-1.19.0/newlib/libc/string/bcopy.c 2011-03-24 13:21:38.884638568 +0100
@@ -3,7 +3,7 @@
<<bcopy>>---copy memory regions
@@ -2657,7 +2661,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/bcopy.c newlib-1.19.0/newlib/li
_DEFUN (bcopy, (b1, b2, length),
diff -Naur newlib-1.19.0.orig/newlib/libc/string/bzero.c newlib-1.19.0/newlib/libc/string/bzero.c
--- newlib-1.19.0.orig/newlib/libc/string/bzero.c 2002-05-23 20:46:04.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/bzero.c 2011-03-24 12:38:12.106578095 +0100
++++ newlib-1.19.0/newlib/libc/string/bzero.c 2011-03-24 13:21:38.884638568 +0100
@@ -6,11 +6,11 @@
bzero
@@ -2683,7 +2687,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/bzero.c newlib-1.19.0/newlib/li
_DEFUN (bzero, (b, length),
diff -Naur newlib-1.19.0.orig/newlib/libc/string/index.c newlib-1.19.0/newlib/libc/string/index.c
--- newlib-1.19.0.orig/newlib/libc/string/index.c 2000-02-17 20:39:48.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/index.c 2011-03-24 12:38:12.107578110 +0100
++++ newlib-1.19.0/newlib/libc/string/index.c 2011-03-24 13:21:38.884638568 +0100
@@ -6,11 +6,11 @@
index
@@ -2710,7 +2714,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/index.c newlib-1.19.0/newlib/li
_DEFUN (index, (s, c),
diff -Naur newlib-1.19.0.orig/newlib/libc/string/Makefile.am newlib-1.19.0/newlib/libc/string/Makefile.am
--- newlib-1.19.0.orig/newlib/libc/string/Makefile.am 2010-05-11 22:27:20.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/Makefile.am 2011-03-24 12:38:12.106578095 +0100
++++ newlib-1.19.0/newlib/libc/string/Makefile.am 2011-03-24 13:21:38.883638553 +0100
@@ -71,7 +71,8 @@
wmemcmp.c \
wmemcpy.c \
@@ -2723,7 +2727,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/Makefile.am newlib-1.19.0/newli
ELIX_2_SOURCES =
diff -Naur newlib-1.19.0.orig/newlib/libc/string/Makefile.in newlib-1.19.0/newlib/libc/string/Makefile.in
--- newlib-1.19.0.orig/newlib/libc/string/Makefile.in 2010-12-16 22:59:03.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/Makefile.in 2011-03-24 12:38:12.106578095 +0100
++++ newlib-1.19.0/newlib/libc/string/Makefile.in 2011-03-24 13:21:38.884638568 +0100
@@ -88,7 +88,7 @@
lib_a-wcsxfrm.$(OBJEXT) lib_a-wcwidth.$(OBJEXT) \
lib_a-wmemchr.$(OBJEXT) lib_a-wmemcmp.$(OBJEXT) \
@@ -2767,7 +2771,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/Makefile.in newlib-1.19.0/newli
diff -Naur newlib-1.19.0.orig/newlib/libc/string/memccpy.c newlib-1.19.0/newlib/libc/string/memccpy.c
--- newlib-1.19.0.orig/newlib/libc/string/memccpy.c 2010-09-22 05:15:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/memccpy.c 2011-03-24 12:38:12.107578110 +0100
++++ newlib-1.19.0/newlib/libc/string/memccpy.c 2011-03-24 13:21:38.884638568 +0100
@@ -35,13 +35,14 @@
*/
@@ -2786,7 +2790,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/memccpy.c newlib-1.19.0/newlib/
#define LITTLEBLOCKSIZE (sizeof (long))
diff -Naur newlib-1.19.0.orig/newlib/libc/string/memchr.c newlib-1.19.0/newlib/libc/string/memchr.c
--- newlib-1.19.0.orig/newlib/libc/string/memchr.c 2008-05-27 01:31:08.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/memchr.c 2011-03-24 12:38:12.107578110 +0100
++++ newlib-1.19.0/newlib/libc/string/memchr.c 2011-03-24 13:21:38.885638583 +0100
@@ -38,10 +38,11 @@
#include <_ansi.h>
@@ -2802,7 +2806,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/memchr.c newlib-1.19.0/newlib/l
#define LBLOCKSIZE (sizeof (long))
diff -Naur newlib-1.19.0.orig/newlib/libc/string/memcmp.c newlib-1.19.0/newlib/libc/string/memcmp.c
--- newlib-1.19.0.orig/newlib/libc/string/memcmp.c 2005-03-06 21:40:05.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/memcmp.c 2011-03-24 12:38:12.107578110 +0100
++++ newlib-1.19.0/newlib/libc/string/memcmp.c 2011-03-24 13:21:38.885638583 +0100
@@ -37,11 +37,11 @@
*/
@@ -2819,7 +2823,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/memcmp.c newlib-1.19.0/newlib/l
#define LBLOCKSIZE (sizeof (long))
diff -Naur newlib-1.19.0.orig/newlib/libc/string/memcpy.c newlib-1.19.0/newlib/libc/string/memcpy.c
--- newlib-1.19.0.orig/newlib/libc/string/memcpy.c 2010-09-22 05:15:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/memcpy.c 2011-03-24 12:38:12.107578110 +0100
++++ newlib-1.19.0/newlib/libc/string/memcpy.c 2011-03-24 13:21:38.885638583 +0100
@@ -34,11 +34,12 @@
*/
@@ -2836,7 +2840,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/memcpy.c newlib-1.19.0/newlib/l
#define BIGBLOCKSIZE (sizeof (long) << 2)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/memmove.c newlib-1.19.0/newlib/libc/string/memmove.c
--- newlib-1.19.0.orig/newlib/libc/string/memmove.c 2010-09-22 05:15:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/memmove.c 2011-03-24 12:38:12.107578110 +0100
++++ newlib-1.19.0/newlib/libc/string/memmove.c 2011-03-24 13:21:38.885638583 +0100
@@ -36,13 +36,14 @@
*/
@@ -2855,7 +2859,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/memmove.c newlib-1.19.0/newlib/
#define BIGBLOCKSIZE (sizeof (long) << 2)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/mempcpy.c newlib-1.19.0/newlib/libc/string/mempcpy.c
--- newlib-1.19.0.orig/newlib/libc/string/mempcpy.c 2010-09-22 05:15:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/mempcpy.c 2011-03-24 12:38:12.108578125 +0100
++++ newlib-1.19.0/newlib/libc/string/mempcpy.c 2011-03-24 13:21:38.885638583 +0100
@@ -34,10 +34,11 @@
#include <stddef.h>
#include <limits.h>
@@ -2871,7 +2875,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/mempcpy.c newlib-1.19.0/newlib/
#define BIGBLOCKSIZE (sizeof (long) << 2)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/memset.c newlib-1.19.0/newlib/libc/string/memset.c
--- newlib-1.19.0.orig/newlib/libc/string/memset.c 2008-05-27 20:44:40.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/memset.c 2011-03-24 12:38:12.108578125 +0100
++++ newlib-1.19.0/newlib/libc/string/memset.c 2011-03-24 13:21:38.885638583 +0100
@@ -34,9 +34,10 @@
*/
@@ -2886,7 +2890,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/memset.c newlib-1.19.0/newlib/l
_PTR
diff -Naur newlib-1.19.0.orig/newlib/libc/string/rindex.c newlib-1.19.0/newlib/libc/string/rindex.c
--- newlib-1.19.0.orig/newlib/libc/string/rindex.c 2000-02-17 20:39:48.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/rindex.c 2011-03-24 12:38:12.108578125 +0100
++++ newlib-1.19.0/newlib/libc/string/rindex.c 2011-03-24 13:21:38.885638583 +0100
@@ -10,7 +10,7 @@
char * rindex(const char *<[string]>, int <[c]>);
@@ -2908,7 +2912,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/rindex.c newlib-1.19.0/newlib/l
_DEFUN (rindex, (s, c),
diff -Naur newlib-1.19.0.orig/newlib/libc/string/stpcpy.c newlib-1.19.0/newlib/libc/string/stpcpy.c
--- newlib-1.19.0.orig/newlib/libc/string/stpcpy.c 2007-06-28 19:07:23.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/stpcpy.c 2011-03-24 12:38:12.108578125 +0100
++++ newlib-1.19.0/newlib/libc/string/stpcpy.c 2011-03-24 13:21:38.886638599 +0100
@@ -34,6 +34,7 @@
*/
@@ -2928,7 +2932,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/stpcpy.c newlib-1.19.0/newlib/l
#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/stpncpy.c newlib-1.19.0/newlib/libc/string/stpncpy.c
--- newlib-1.19.0.orig/newlib/libc/string/stpncpy.c 2007-06-28 19:07:23.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/stpncpy.c 2011-03-24 12:38:12.108578125 +0100
++++ newlib-1.19.0/newlib/libc/string/stpncpy.c 2011-03-24 13:21:38.886638599 +0100
@@ -40,6 +40,7 @@
*/
@@ -2948,7 +2952,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/stpncpy.c newlib-1.19.0/newlib/
#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcasecmp.c newlib-1.19.0/newlib/libc/string/strcasecmp.c
--- newlib-1.19.0.orig/newlib/libc/string/strcasecmp.c 2009-04-23 20:11:22.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/strcasecmp.c 2011-03-24 12:38:12.108578125 +0100
++++ newlib-1.19.0/newlib/libc/string/strcasecmp.c 2011-03-24 13:21:38.886638599 +0100
@@ -6,11 +6,11 @@
strcasecmp
@@ -2974,7 +2978,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcasecmp.c newlib-1.19.0/newl
int
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcat.c newlib-1.19.0/newlib/libc/string/strcat.c
--- newlib-1.19.0.orig/newlib/libc/string/strcat.c 2000-02-17 20:39:48.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/strcat.c 2011-03-24 12:38:12.108578125 +0100
++++ newlib-1.19.0/newlib/libc/string/strcat.c 2011-03-24 13:21:38.886638599 +0100
@@ -33,12 +33,13 @@
strcat ansi pure
*/
@@ -2992,7 +2996,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcat.c newlib-1.19.0/newlib/l
#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strchr.c newlib-1.19.0/newlib/libc/string/strchr.c
--- newlib-1.19.0.orig/newlib/libc/string/strchr.c 2008-05-22 04:31:46.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/strchr.c 2011-03-24 12:38:12.109578140 +0100
++++ newlib-1.19.0/newlib/libc/string/strchr.c 2011-03-24 13:21:38.886638599 +0100
@@ -33,11 +33,12 @@
strchr ansi pure
*/
@@ -3009,7 +3013,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strchr.c newlib-1.19.0/newlib/l
#define LBLOCKSIZE (sizeof (long))
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcmp.c newlib-1.19.0/newlib/libc/string/strcmp.c
--- newlib-1.19.0.orig/newlib/libc/string/strcmp.c 2000-02-17 20:39:48.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/strcmp.c 2011-03-24 12:38:12.109578140 +0100
++++ newlib-1.19.0/newlib/libc/string/strcmp.c 2011-03-24 13:21:38.886638599 +0100
@@ -35,12 +35,13 @@
strcmp ansi pure
*/
@@ -3027,7 +3031,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcmp.c newlib-1.19.0/newlib/l
#if LONG_MAX == 2147483647L
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcpy.c newlib-1.19.0/newlib/libc/string/strcpy.c
--- newlib-1.19.0.orig/newlib/libc/string/strcpy.c 2007-05-29 23:26:59.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/strcpy.c 2011-03-24 12:38:12.109578140 +0100
++++ newlib-1.19.0/newlib/libc/string/strcpy.c 2011-03-24 13:21:38.886638599 +0100
@@ -32,6 +32,7 @@
strcpy ansi pure
*/
@@ -3047,7 +3051,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strcpy.c newlib-1.19.0/newlib/l
#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strerror.c newlib-1.19.0/newlib/libc/string/strerror.c
--- newlib-1.19.0.orig/newlib/libc/string/strerror.c 2009-03-15 14:41:46.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/strerror.c 2011-03-24 12:38:12.109578140 +0100
++++ newlib-1.19.0/newlib/libc/string/strerror.c 2011-03-24 13:21:38.887638615 +0100
@@ -301,6 +301,17 @@
result string; therefore portable code cannot depend on the reentrancy
of this subroutine.
@@ -3078,7 +3082,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strerror.c newlib-1.19.0/newlib
QUICKREF
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strerror_r.c newlib-1.19.0/newlib/libc/string/strerror_r.c
--- newlib-1.19.0.orig/newlib/libc/string/strerror_r.c 2005-10-28 23:21:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/strerror_r.c 2011-03-24 12:38:12.109578140 +0100
++++ newlib-1.19.0/newlib/libc/string/strerror_r.c 2011-03-24 13:21:38.887638615 +0100
@@ -1,3 +1,4 @@
+/* GNU variant of strerror_r. */
/*
@@ -3167,7 +3171,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strerror_r.c newlib-1.19.0/newl
}
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strlen.c newlib-1.19.0/newlib/libc/string/strlen.c
--- newlib-1.19.0.orig/newlib/libc/string/strlen.c 2008-05-27 00:56:14.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/strlen.c 2011-03-24 12:38:12.109578140 +0100
++++ newlib-1.19.0/newlib/libc/string/strlen.c 2011-03-24 13:21:38.887638615 +0100
@@ -32,11 +32,12 @@
*/
@@ -3184,7 +3188,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strlen.c newlib-1.19.0/newlib/l
#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncasecmp.c newlib-1.19.0/newlib/libc/string/strncasecmp.c
--- newlib-1.19.0.orig/newlib/libc/string/strncasecmp.c 2009-04-23 20:11:22.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/strncasecmp.c 2011-03-24 12:38:12.110578155 +0100
++++ newlib-1.19.0/newlib/libc/string/strncasecmp.c 2011-03-24 13:21:38.887638615 +0100
@@ -6,11 +6,11 @@
strncasecmp
@@ -3210,7 +3214,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncasecmp.c newlib-1.19.0/new
int
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncat.c newlib-1.19.0/newlib/libc/string/strncat.c
--- newlib-1.19.0.orig/newlib/libc/string/strncat.c 2005-10-28 23:21:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/string/strncat.c 2011-03-24 12:38:12.110578155 +0100
++++ newlib-1.19.0/newlib/libc/string/strncat.c 2011-03-24 13:21:38.887638615 +0100
@@ -42,11 +42,12 @@
*/
@@ -3227,7 +3231,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncat.c newlib-1.19.0/newlib/
#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncmp.c newlib-1.19.0/newlib/libc/string/strncmp.c
--- newlib-1.19.0.orig/newlib/libc/string/strncmp.c 2000-02-17 20:39:48.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/strncmp.c 2011-03-24 12:38:12.110578155 +0100
++++ newlib-1.19.0/newlib/libc/string/strncmp.c 2011-03-24 13:21:38.887638615 +0100
@@ -36,12 +36,13 @@
strncmp ansi pure
*/
@@ -3245,7 +3249,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncmp.c newlib-1.19.0/newlib/
#if LONG_MAX == 2147483647L
diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncpy.c newlib-1.19.0/newlib/libc/string/strncpy.c
--- newlib-1.19.0.orig/newlib/libc/string/strncpy.c 2000-02-17 20:39:48.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/strncpy.c 2011-03-24 12:38:12.110578155 +0100
++++ newlib-1.19.0/newlib/libc/string/strncpy.c 2011-03-24 13:21:38.888638631 +0100
@@ -38,6 +38,7 @@
*/
@@ -3265,7 +3269,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/strncpy.c newlib-1.19.0/newlib/
#define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080)
diff -Naur newlib-1.19.0.orig/newlib/libc/string/xpg_strerror_r.c newlib-1.19.0/newlib/libc/string/xpg_strerror_r.c
--- newlib-1.19.0.orig/newlib/libc/string/xpg_strerror_r.c 1970-01-01 01:00:00.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/string/xpg_strerror_r.c 2011-03-24 12:38:12.110578155 +0100
++++ newlib-1.19.0/newlib/libc/string/xpg_strerror_r.c 2011-03-24 13:21:38.888638631 +0100
@@ -0,0 +1,25 @@
+/* POSIX variant of strerror_r. */
+#undef __STRICT_ANSI__
@@ -3294,7 +3298,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/string/xpg_strerror_r.c newlib-1.19.0/
+}
diff -Naur newlib-1.19.0.orig/newlib/libc/sys/linux/sys/signal.h newlib-1.19.0/newlib/libc/sys/linux/sys/signal.h
--- newlib-1.19.0.orig/newlib/libc/sys/linux/sys/signal.h 2002-07-24 20:18:07.000000000 +0200
-+++ newlib-1.19.0/newlib/libc/sys/linux/sys/signal.h 2011-03-24 12:38:12.110578155 +0100
++++ newlib-1.19.0/newlib/libc/sys/linux/sys/signal.h 2011-03-24 13:21:38.888638631 +0100
@@ -50,7 +50,6 @@
#ifndef _POSIX_SOURCE
@@ -3305,7 +3309,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/sys/linux/sys/signal.h newlib-1.19.0/n
#endif
diff -Naur newlib-1.19.0.orig/newlib/libc/sys/rtems/crt0.c newlib-1.19.0/newlib/libc/sys/rtems/crt0.c
--- newlib-1.19.0.orig/newlib/libc/sys/rtems/crt0.c 2009-12-16 19:28:14.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/sys/rtems/crt0.c 2011-03-24 12:38:12.111578170 +0100
++++ newlib-1.19.0/newlib/libc/sys/rtems/crt0.c 2011-03-24 13:21:38.888638631 +0100
@@ -24,8 +24,8 @@
/* RTEMS provides some of its own routines including a Malloc family */
RTEMS_STUB(void *,malloc(size_t s)) { return 0; }
@@ -3367,9 +3371,21 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/sys/rtems/crt0.c newlib-1.19.0/newlib/
#endif
RTEMS_STUB(_ssize_t, _write_r (struct _reent *r, int fd, const void *buf, size_t nbytes)) { return -1; }
+diff -Naur newlib-1.19.0.orig/newlib/libc/sys/rtems/sys/dirent.h newlib-1.19.0/newlib/libc/sys/rtems/sys/dirent.h
+--- newlib-1.19.0.orig/newlib/libc/sys/rtems/sys/dirent.h 2010-07-06 17:23:27.000000000 +0200
++++ newlib-1.19.0/newlib/libc/sys/rtems/sys/dirent.h 2011-03-24 13:21:38.888638631 +0100
+@@ -50,7 +50,7 @@
+
+ int scandir ( const char *dirname,
+ struct dirent *** namelist,
+- int (*select)(struct dirent *),
++ int (*select)(const struct dirent *),
+ int (*dcomp)(const struct dirent **, const struct dirent **)
+ );
+
diff -Naur newlib-1.19.0.orig/newlib/libc/xdr/xdr.c newlib-1.19.0/newlib/libc/xdr/xdr.c
--- newlib-1.19.0.orig/newlib/libc/xdr/xdr.c 2010-03-02 13:05:18.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/xdr/xdr.c 2011-03-24 12:38:12.111578170 +0100
++++ newlib-1.19.0/newlib/libc/xdr/xdr.c 2011-03-24 13:21:38.888638631 +0100
@@ -113,7 +113,7 @@
#elif INT_MAX == LONG_MAX
return xdr_long (xdrs, (long *) ip);
@@ -3390,7 +3406,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/xdr/xdr.c newlib-1.19.0/newlib/libc/xd
diff -Naur newlib-1.19.0.orig/newlib/libc/xdr/xdr_private.h newlib-1.19.0/newlib/libc/xdr/xdr_private.h
--- newlib-1.19.0.orig/newlib/libc/xdr/xdr_private.h 2010-03-02 13:05:18.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/xdr/xdr_private.h 2011-03-24 12:38:12.111578170 +0100
++++ newlib-1.19.0/newlib/libc/xdr/xdr_private.h 2011-03-24 13:21:38.889638646 +0100
@@ -25,6 +25,7 @@
#include <_ansi.h>
@@ -3401,7 +3417,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/xdr/xdr_private.h newlib-1.19.0/newlib
/* avoid including stdio header here */
diff -Naur newlib-1.19.0.orig/newlib/libc/xdr/xdr_rec.c newlib-1.19.0/newlib/libc/xdr/xdr_rec.c
--- newlib-1.19.0.orig/newlib/libc/xdr/xdr_rec.c 2010-03-02 13:05:18.000000000 +0100
-+++ newlib-1.19.0/newlib/libc/xdr/xdr_rec.c 2011-03-24 12:38:12.111578170 +0100
++++ newlib-1.19.0/newlib/libc/xdr/xdr_rec.c 2011-03-24 13:21:38.889638646 +0100
@@ -51,6 +51,7 @@
#include <assert.h>
#include <unistd.h>
@@ -3412,7 +3428,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libc/xdr/xdr_rec.c newlib-1.19.0/newlib/lib
#include <rpc/xdr.h>
diff -Naur newlib-1.19.0.orig/newlib/libm/common/modfl.c newlib-1.19.0/newlib/libm/common/modfl.c
--- newlib-1.19.0.orig/newlib/libm/common/modfl.c 2009-04-18 00:15:43.000000000 +0200
-+++ newlib-1.19.0/newlib/libm/common/modfl.c 2011-03-24 12:38:12.112578185 +0100
++++ newlib-1.19.0/newlib/libm/common/modfl.c 2011-03-24 13:21:38.889638646 +0100
@@ -36,7 +36,7 @@
long double
modfl (long double x, long double *iptr)
@@ -3424,7 +3440,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libm/common/modfl.c newlib-1.19.0/newlib/li
diff -Naur newlib-1.19.0.orig/newlib/libm/common/s_round.c newlib-1.19.0/newlib/libm/common/s_round.c
--- newlib-1.19.0.orig/newlib/libm/common/s_round.c 2009-03-25 20:13:01.000000000 +0100
-+++ newlib-1.19.0/newlib/libm/common/s_round.c 2011-03-24 12:38:12.112578185 +0100
++++ newlib-1.19.0/newlib/libm/common/s_round.c 2011-03-24 13:21:38.889638646 +0100
@@ -68,7 +68,7 @@
msw &= 0x80000000;
if (exponent_less_1023 == -1)
@@ -3436,7 +3452,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libm/common/s_round.c newlib-1.19.0/newlib/
else
diff -Naur newlib-1.19.0.orig/newlib/libm/complex/cproj.c newlib-1.19.0/newlib/libm/complex/cproj.c
--- newlib-1.19.0.orig/newlib/libm/complex/cproj.c 2010-10-19 00:40:24.000000000 +0200
-+++ newlib-1.19.0/newlib/libm/complex/cproj.c 2011-03-24 12:38:12.112578185 +0100
++++ newlib-1.19.0/newlib/libm/complex/cproj.c 2011-03-24 13:21:38.889638646 +0100
@@ -93,7 +93,7 @@
{
double_complex w = { .z = z };
@@ -3448,7 +3464,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libm/complex/cproj.c newlib-1.19.0/newlib/l
#else
diff -Naur newlib-1.19.0.orig/newlib/libm/complex/cprojf.c newlib-1.19.0/newlib/libm/complex/cprojf.c
--- newlib-1.19.0.orig/newlib/libm/complex/cprojf.c 2010-10-08 12:35:14.000000000 +0200
-+++ newlib-1.19.0/newlib/libm/complex/cprojf.c 2011-03-24 12:38:12.112578185 +0100
++++ newlib-1.19.0/newlib/libm/complex/cprojf.c 2011-03-24 13:21:38.890638661 +0100
@@ -55,7 +55,7 @@
{
float_complex w = { .z = z };
@@ -3460,7 +3476,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libm/complex/cprojf.c newlib-1.19.0/newlib/
#else
diff -Naur newlib-1.19.0.orig/newlib/libm/math/e_scalb.c newlib-1.19.0/newlib/libm/math/e_scalb.c
--- newlib-1.19.0.orig/newlib/libm/math/e_scalb.c 2000-02-17 20:39:51.000000000 +0100
-+++ newlib-1.19.0/newlib/libm/math/e_scalb.c 2011-03-24 12:38:12.112578185 +0100
++++ newlib-1.19.0/newlib/libm/math/e_scalb.c 2011-03-24 13:21:38.890638661 +0100
@@ -17,6 +17,7 @@
* should use scalbn() instead.
*/
@@ -3490,7 +3506,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libm/math/e_scalb.c newlib-1.19.0/newlib/li
}
diff -Naur newlib-1.19.0.orig/newlib/libm/math/wf_tgamma.c newlib-1.19.0/newlib/libm/math/wf_tgamma.c
--- newlib-1.19.0.orig/newlib/libm/math/wf_tgamma.c 2007-09-04 19:33:10.000000000 +0200
-+++ newlib-1.19.0/newlib/libm/math/wf_tgamma.c 2011-03-24 12:38:12.112578185 +0100
++++ newlib-1.19.0/newlib/libm/math/wf_tgamma.c 2011-03-24 13:21:38.890638661 +0100
@@ -43,3 +43,17 @@
return y;
#endif
@@ -3511,7 +3527,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libm/math/wf_tgamma.c newlib-1.19.0/newlib/
+#endif /* defined(_DOUBLE_IS_32BITS) */
diff -Naur newlib-1.19.0.orig/newlib/libm/math/w_tgamma.c newlib-1.19.0/newlib/libm/math/w_tgamma.c
--- newlib-1.19.0.orig/newlib/libm/math/w_tgamma.c 2002-06-07 23:59:56.000000000 +0200
-+++ newlib-1.19.0/newlib/libm/math/w_tgamma.c 2011-03-24 12:38:12.112578185 +0100
++++ newlib-1.19.0/newlib/libm/math/w_tgamma.c 2011-03-24 13:21:38.890638661 +0100
@@ -17,6 +17,8 @@
#include "fdlibm.h"
@@ -3529,7 +3545,7 @@ diff -Naur newlib-1.19.0.orig/newlib/libm/math/w_tgamma.c newlib-1.19.0/newlib/l
+#endif /* defined(_DOUBLE_IS_32BITS) */
diff -Naur newlib-1.19.0.orig/newlib/MAINTAINERS newlib-1.19.0/newlib/MAINTAINERS
--- newlib-1.19.0.orig/newlib/MAINTAINERS 2010-12-16 22:58:38.000000000 +0100
-+++ newlib-1.19.0/newlib/MAINTAINERS 2011-03-24 12:38:12.085577782 +0100
++++ newlib-1.19.0/newlib/MAINTAINERS 2011-03-24 13:21:38.864638267 +0100
@@ -6,7 +6,7 @@
The official maintainers of newlib:
@@ -3541,7 +3557,7 @@ diff -Naur newlib-1.19.0.orig/newlib/MAINTAINERS newlib-1.19.0/newlib/MAINTAINER
Various Domain Maintainers
diff -Naur newlib-1.19.0.orig/newlib/Makefile.am newlib-1.19.0/newlib/Makefile.am
--- newlib-1.19.0.orig/newlib/Makefile.am 2010-12-16 22:58:38.000000000 +0100
-+++ newlib-1.19.0/newlib/Makefile.am 2011-03-24 12:38:12.085577782 +0100
++++ newlib-1.19.0/newlib/Makefile.am 2011-03-24 13:21:38.864638267 +0100
@@ -81,7 +81,7 @@
libc.a
endif
@@ -3580,7 +3596,7 @@ diff -Naur newlib-1.19.0.orig/newlib/Makefile.am newlib-1.19.0/newlib/Makefile.a
+ -rm -rf targ-include
diff -Naur newlib-1.19.0.orig/newlib/Makefile.in newlib-1.19.0/newlib/Makefile.in
--- newlib-1.19.0.orig/newlib/Makefile.in 2010-12-16 22:58:38.000000000 +0100
-+++ newlib-1.19.0/newlib/Makefile.in 2011-03-24 12:38:12.085577782 +0100
++++ newlib-1.19.0/newlib/Makefile.in 2011-03-24 13:21:38.865638281 +0100
@@ -122,7 +122,7 @@
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \