Re: Patch 2.2.10 is wrong

David Schleef (ds@stm.lbl.gov)
Mon, 14 Jun 1999 15:23:21 -0700


Has anyone else noticed that the -D option to patch-2.5 is
completely broken? For example, take the following two
files, do a diff -u, then do a patch -D. The result is bogus.
It would be a nice little feature, if it worked.

---file: old---
AAA
test delete
BBB
CCC
test replace (old)
DDD
---------------

---file: new---
AAA
BBB
test add
CCC
test replace (new)
DDD
---------------

result after patch -D:

AAA
#ifdef XXX
test delete
#endif /* XXX */
BBB
#ifdef XXX
test add
#endif /* XXX */
CCC
#ifdef XXX
test replace (old)
#else
test replace (new)
#endif /* XXX */
DDD

dave...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/