Busybox patch won't apply patch created by busybox diff
William Haddon
william at haddonthethird.net
Wed Oct 16 15:09:15 UTC 2013
Steps to reproduce:
Download haddonthethird.net/loginrec-old.c and
haddonthethird.net/loginrec-new.c
busybox diff loginrec-old.c loginrec-new.c > diff.patch
cp loginrec-old.c loginrec-patched.c
busybox patch loginrec-patched.c < diff.patch
diff loginrec-old.c loginrec-new.c
diff loginrec-old.c loginrec-patched.c
diff loginrec-patched.c loginrec-new.c
All three files differ. This happens in both Busybox 1.21.1 and the
latest commit in git.
-- William Haddon
More information about the busybox
mailing list