5942db774f
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.
14 lines
333 B
C
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)
|
|
{
|