comparison src/sysdep.c @ 5189:af88471e6799

(closedir): Test BROKEN_CLOSEDIR, not INTERRUPTIBLE_CLOSE.
author Richard M. Stallman <rms@gnu.org>
date Fri, 26 Nov 1993 10:40:27 +0000
parents 6ac5c999a7cc
children 1846f03ac8f3
comparison
equal deleted inserted replaced
5188:403fae0cb21b 5189:af88471e6799
2987 2987
2988 #ifdef SYSV_SYSTEM_DIR 2988 #ifdef SYSV_SYSTEM_DIR
2989 2989
2990 #include <dirent.h> 2990 #include <dirent.h>
2991 2991
2992 #if defined(INTERRUPTIBLE_CLOSE) || !defined(HAVE_CLOSEDIR) 2992 #if defined(BROKEN_CLOSEDIR) || !defined(HAVE_CLOSEDIR)
2993 2993
2994 int 2994 int
2995 closedir (dirp) 2995 closedir (dirp)
2996 register DIR *dirp; /* stream from opendir */ 2996 register DIR *dirp; /* stream from opendir */
2997 { 2997 {
3007 #endif 3007 #endif
3008 xfree ((char *) dirp); 3008 xfree ((char *) dirp);
3009 3009
3010 return rtnval; 3010 return rtnval;
3011 } 3011 }
3012 #endif /* INTERRUPTIBLE_CLOSE or not HAVE_CLOSEDIR */ 3012 #endif /* BROKEN_CLOSEDIR or not HAVE_CLOSEDIR */
3013 #endif /* SYSV_SYSTEM_DIR */ 3013 #endif /* SYSV_SYSTEM_DIR */
3014 3014
3015 #ifdef NONSYSTEM_DIR_LIBRARY 3015 #ifdef NONSYSTEM_DIR_LIBRARY
3016 3016
3017 DIR * 3017 DIR *