summaryrefslogtreecommitdiffstats
path: root/network/elinks/patches/0007-gopher-move_null.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/elinks/patches/0007-gopher-move_null.patch')
-rw-r--r--network/elinks/patches/0007-gopher-move_null.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/network/elinks/patches/0007-gopher-move_null.patch b/network/elinks/patches/0007-gopher-move_null.patch
deleted file mode 100644
index 01751c497a..0000000000
--- a/network/elinks/patches/0007-gopher-move_null.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-###################################################################
-# Move the added null terminator one char forwards
-# dave@slackbuilds.org
-###################################################################
-diff -Naur a/src/protocol/gopher/gopher.c b/src/protocol/gopher/gopher.c
---- a/src/protocol/gopher/gopher.c 2020-01-08 06:52:23.491455711 +0000
-+++ b/src/protocol/gopher/gopher.c 2020-01-08 06:51:41.160210431 +0000
-@@ -638,7 +638,7 @@
- assert(line < end);
-
- /* Just to be safe NUL terminate the line */
-- end[-2] = 0;
-+ end[-1] = 0;
-
- return line[0] == '.' && !line[1] ? NULL : line;
- }