lkml.org 
[lkml]   [1999]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Patch 2.2.10 is wrong

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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans