changeset 1428:f5ba63db222d

Fix the busybox patch I sent upstream to work with hunks at the start of file.
author Rob Landley <rob@landley.net>
date Sat, 20 Aug 2011 12:26:25 -0500
parents 6c85cda8cfce
children 0c0072b5acc1
files sources/patches/busybox-fixpatch.patch
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/patches/busybox-fixpatch.patch	Tue Aug 16 13:48:35 2011 -0500
+++ b/sources/patches/busybox-fixpatch.patch	Sat Aug 20 12:26:25 2011 -0500
@@ -30,7 +30,7 @@
  		if (PATCH_DEBUG) fdprintf(2, "HUNK:%s\n", plist->data);
  	}
 -	matcheof = matcheof < TT.context;
-+	matcheof = !TT.context || matcheof < TT.context;
++	matcheof = !matcheof || matcheof < TT.context;
  
  	if (PATCH_DEBUG) fdprintf(2,"MATCHEOF=%c\n", matcheof ? 'Y' : 'N');