From 9d107370922222c55277474cac854dc72ff20360 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sun, 28 Jun 1998 18:15:26 +0200
Subject: [PATCH] Fixed bug in readdir_r() check.

Rev: src/modules/files/efuns.c:1.52
---
 src/modules/files/efuns.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/modules/files/efuns.c b/src/modules/files/efuns.c
index 30f6102c3a..da0ec71a4c 100644
--- a/src/modules/files/efuns.c
+++ b/src/modules/files/efuns.c
@@ -22,7 +22,7 @@
 #include "file_machine.h"
 #include "file.h"
 
-RCSID("$Id: efuns.c,v 1.51 1998/06/22 20:07:08 grubba Exp $");
+RCSID("$Id: efuns.c,v 1.52 1998/06/28 16:15:26 grubba Exp $");
 
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
@@ -390,8 +390,8 @@ void f_mkdir(INT32 args)
 }
 
 #undef HAVE_READDIR_R
-#if defined(HAVE_SOLARIS_READDIR_R) || defined(HAVE_SOLARIS_HPUX_R) || \
-    defined(HAVE_POSIX_R)
+#if defined(HAVE_SOLARIS_READDIR_R) || defined(HAVE_HPUX_READDIR_R) || \
+    defined(HAVE_POSIX_READDIR_R)
 #define HAVE_READDIR_R
 #endif
 
@@ -441,7 +441,6 @@ void f_get_dir(INT32 args)
 
       while(1)
       {
-	/* Should have code for the POSIX variant here also */
 #ifdef HAVE_SOLARIS_READDIR_R
 	/* Solaris readdir_r returns the second arg on success,
 	 * and returns NULL on error or at end of dir.
-- 
GitLab