freebsd-ports/archivers/gtar/files/patch-src::compare.c
Maxim Sobolev 5942db774f Stage 1 of system GNU tar upgrade to a modern version:
Merge all applicable bugfixes, local hacks and new features from the ancient
base system tar into the port, so those two are interchangeable.

Bump PORTREVISION.
2002-06-02 10:18:14 +00:00

14 lines
333 B
C

$FreeBSD$
--- src/compare.c 2002/06/01 21:08:46 1.1
+++ src/compare.c 2002/06/01 21:09:16
@@ -565,7 +565,7 @@
size_t len = strlen (current_link_name);
char *linkbuf = alloca (len + 1);
- status = readlink (current_file_name, linkbuf, len + 1);
+ status = readlink (current_file_name, linkbuf, len);
if (status < 0)
{