Skip to content

[bug] Incorrect result when using fuzz #19

Description

@ayuckhulk

Given

Original file example.txt

A
B
C
Y
D
E
F
X

Patch example.patch

diff --git a/example.txt b/example.txt
index 4426901..7b77a8b 100644
--- a/example.txt
+++ b/example.txt
@@ -2,7 +2,7 @@
 A
 B
 C
-Y
+Z
 D
 E
 F

Execute command (1.17.4, hash 2354804):

patch_ng.py -f example.patch

Result (misplaced Z):

A
B
C
Y
Z
E
F
X

Expected result (with unix patch command):

A
B
C
Z
D
E
F
X

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions