From ab94af5c6f93c3b81af95888197f60522e2eb144 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 6 Aug 2001 12:23:50 +0000 Subject: [PATCH] Correct over-zealous edit for UNICOS. --- flist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flist.c b/flist.c index 27025df3..bb6149e7 100644 --- a/flist.c +++ b/flist.c @@ -149,7 +149,8 @@ int readlink_stat(const char *Path, STRUCT_STAT *Buffer, char *Linkbuf) return -1; } if (S_ISLNK(Buffer->st_mode)) { - if (readlink((char *) Path, Linkbuf, MAXPATHLEN-1) == -1) { + int l; + if ((l = readlink((char *) Path, Linkbuf, MAXPATHLEN-1))== -1) { return -1; } Linkbuf[l] = 0; -- 2.34.1