Empty files are not patchable #35
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Activity
@mohamed-omara39 Hello, and sorry for the silence. I'm not sure about that scenario.
As far as I tested,
patch-ngcan patch an empty file/dev/nullby adding a new file.Could you please elaborate on what steps were followed to reach your scenario? Please add more details about your context. Regards!
- added a commit that references this issue
on Oct 3, 2025 - added a commit that references this issue
on Oct 3, 2025
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
How can I patch an empty file ? when I use the library to patch a file that is empty in both ways . I am using patch-ng 1.18.0 . is this version fixed in a newer version ?