Mercurial > hg > aboriginal
view sources/patches/toybox-patch.patch @ 1274:b41dbea3ba14
When building control images, the working directory should be in build/control-images.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 07 Nov 2010 15:54:37 -0600 |
parents | 68463eff052a |
children |
line wrap: on
line source
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;