From a4160e15ec866005f3ad30c967bc4829fbb1c8e3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 16 Aug 2010 01:33:57 +0200 Subject: patch: add -N and a test for it (fails for now) Signed-off-by: Denys Vlasenko --- editors/patch.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'editors/patch.c') diff --git a/editors/patch.c b/editors/patch.c index 693af5b..eb16bca 100644 --- a/editors/patch.c +++ b/editors/patch.c @@ -245,14 +245,16 @@ struct globals { //bbox had: "p:i:RN" -#define FLAG_STR "Rup:i:x" +#define FLAG_STR "Rup:i:Nx" /* FLAG_REVERSE must be == 1! Code uses this fact. */ #define FLAG_REVERSE (1 << 0) #define FLAG_u (1 << 1) #define FLAG_PATHLEN (1 << 2) #define FLAG_INPUT (1 << 3) +// -N: not supported yet +#define FLAG_IGNORE (1 << 4) //non-standard: -#define FLAG_DEBUG (1 << 4) +#define FLAG_DEBUG (1 << 5) // Dispose of a line of input, either by writing it out or discarding it. -- cgit v1.1