changeset 39284:27f628743baa

Fix last change.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 13 Sep 2001 14:05:44 +0000
parents ba947b6fd6ae
children ed6d73267f1d
files src/filelock.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelock.c	Thu Sep 13 14:05:17 2001 +0000
+++ b/src/filelock.c	Thu Sep 13 14:05:44 2001 +0000
@@ -435,6 +435,7 @@
     {
       bufsize *= 2;
       lfinfo = (char *) xrealloc (lfinfo, bufsize);
+      errno = 0;
       len = readlink (lfname, lfinfo, bufsize);
 #ifdef ERANGE
       /* HP-UX reports ERANGE if the buffer is too small.  */