Mercurial > hg > aboriginal
view sources/patches/toybox-patch.patch @ 1228:8a88cae14011
Remove RW_SYSTEM_IMAGE option. The gentoo-stage1 build shows how to setup a writeable chroot, and the FAQ says how to build a writeable system image. I'm not shipping two different system iamges, then I'd have to explain it and it's not worth the confusion.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 24 Aug 2010 02:53:11 -0500 |
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;