diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-16 01:33:57 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-16 01:33:57 +0200 |
commit | a4160e15ec866005f3ad30c967bc4829fbb1c8e3 (patch) | |
tree | 327595a838d2f707149c03fdaea2377c595f779f /editors | |
parent | 6373bb7740c6256154f6b1728321fd636e4f5a2a (diff) | |
download | busybox-w32-a4160e15ec866005f3ad30c967bc4829fbb1c8e3.tar.gz busybox-w32-a4160e15ec866005f3ad30c967bc4829fbb1c8e3.tar.bz2 busybox-w32-a4160e15ec866005f3ad30c967bc4829fbb1c8e3.zip |
patch: add -N and a test for it (fails for now)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/patch.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/patch.c b/editors/patch.c index 693af5b7d..eb16bca12 100644 --- a/editors/patch.c +++ b/editors/patch.c | |||
@@ -245,14 +245,16 @@ struct globals { | |||
245 | 245 | ||
246 | 246 | ||
247 | //bbox had: "p:i:RN" | 247 | //bbox had: "p:i:RN" |
248 | #define FLAG_STR "Rup:i:x" | 248 | #define FLAG_STR "Rup:i:Nx" |
249 | /* FLAG_REVERSE must be == 1! Code uses this fact. */ | 249 | /* FLAG_REVERSE must be == 1! Code uses this fact. */ |
250 | #define FLAG_REVERSE (1 << 0) | 250 | #define FLAG_REVERSE (1 << 0) |
251 | #define FLAG_u (1 << 1) | 251 | #define FLAG_u (1 << 1) |
252 | #define FLAG_PATHLEN (1 << 2) | 252 | #define FLAG_PATHLEN (1 << 2) |
253 | #define FLAG_INPUT (1 << 3) | 253 | #define FLAG_INPUT (1 << 3) |
254 | // -N: not supported yet | ||
255 | #define FLAG_IGNORE (1 << 4) | ||
254 | //non-standard: | 256 | //non-standard: |
255 | #define FLAG_DEBUG (1 << 4) | 257 | #define FLAG_DEBUG (1 << 5) |
256 | 258 | ||
257 | // Dispose of a line of input, either by writing it out or discarding it. | 259 | // Dispose of a line of input, either by writing it out or discarding it. |
258 | 260 | ||