changeset 1088:68463eff052a

Yeah, I need to do another toybox release for yet another patch bug...
author Rob Landley <rob@landley.net>
date Fri, 21 May 2010 21:50:40 -0500
parents 92dff880e322
children b7efc55a3b09
files sources/patches/toybox-patch.patch
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/toybox-patch.patch	Fri May 21 21:50:40 2010 -0500
@@ -0,0 +1,12 @@
+diff -r 633a5bf9509d toys/patch.c
+--- a/toys/patch.c	Wed Jan 06 05:29:53 2010 -0600
++++ b/toys/patch.c	Tue Jan 26 01:01:20 2010 -0600
+@@ -272,7 +272,7 @@
+ 			for (s = patchline+4; *s && *s!='\t'; s++)
+ 				if (*s=='\\' && s[1]) s++;
+ 			i = atoi(s);
+-			if (i && i<=1970)
++			if (i>1900 && i<=1970)
+ 				*name = xstrdup("/dev/null");
+ 			else {
+ 				*s = 0;