summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-15 01:39:35 +0000
committerluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-15 01:39:35 +0000
commitfb390c865774882d5babf1eba8c29e77d042a338 (patch)
tree2ab91e0b389e538326b1548bfbe17cabe80dcb1a
parent3e1a0167eeb76f0fcdd6b986db77448c85f94fd1 (diff)
downloadATCD-fb390c865774882d5babf1eba8c29e77d042a338.tar.gz
Fri Jul 14 20:38:44 2000 Luther J Baker <luther@cs.wustl.edu>
-rw-r--r--PACE/ChangeLog6
-rw-r--r--PACE/pace/win32/dirent.inl12
2 files changed, 17 insertions, 1 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index b8690008b3d..b06261e5950 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,3 +1,9 @@
+Fri Jul 14 20:38:44 2000 Luther J Baker <luther@cs.wustl.edu>
+
+ * pace/win32/dirent.inl:
+
+ Added (POSIX_HAS_POSIX_FS_UOF) protection to emulation funcs.
+
Fri Jul 14 20:18:46 2000 Luther J Baker <luther@cs.wustl.edu>
* pace/config/utility.h:
diff --git a/PACE/pace/win32/dirent.inl b/PACE/pace/win32/dirent.inl
index a4afdc2723f..0ecb44260f3 100644
--- a/PACE/pace/win32/dirent.inl
+++ b/PACE/pace/win32/dirent.inl
@@ -16,6 +16,7 @@
#include "pace/string.h"
#include "pace/stdlib.h"
+#if (PACE_HAS_POSIX_FS_UOF)
int
pace_win32_emulate_closedir (PACE_DIR * dirp)
{
@@ -27,7 +28,10 @@ pace_win32_emulate_closedir (PACE_DIR * dirp)
dirp->started_reading_ = 0;
return 1;
}
+#endif /* PACE_HAS_POSIX_FS_UOF */
+#if (PACE_HAS_POSIX_FS_UOF)
+#endif /* PACE_HAS_POSIX_FS_UOF */
PACE_DIR *
pace_win32_emulate_opendir (const char * dirname)
{
@@ -39,7 +43,9 @@ pace_win32_emulate_opendir (const char * dirname)
dirp->started_reading_ = 0;
return dirp;
}
+#endif /* PACE_HAS_POSIX_FS_UOF */
+#if (PACE_HAS_POSIX_FS_UOF)
pace_dirent *
pace_win32_emulate_readdir (PACE_DIR * dirp)
{
@@ -89,7 +95,9 @@ pace_win32_emulate_readdir (PACE_DIR * dirp)
return (pace_dirent*)0;
}
}
+#endif /* PACE_HAS_POSIX_FS_UOF */
+#if (PACE_HAS_POSIX_FS_UOF)
int
pace_win32_emulate_readdir_r (PACE_DIR * dirp,
pace_dirent * entry,
@@ -100,7 +108,9 @@ pace_win32_emulate_readdir_r (PACE_DIR * dirp,
PACE_UNUSED_ARG (result);
PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
+#endif /* PACE_HAS_POSIX_FS_UOF */
+#if (PACE_HAS_POSIX_FS_UOF)
void
pace_win32_emulate_rewinddir (PACE_DIR * dirp)
{
@@ -108,6 +118,7 @@ pace_win32_emulate_rewinddir (PACE_DIR * dirp)
PACE_ERRNO_NO_SUPPORT ();
return;
}
+#endif /* PACE_HAS_POSIX_FS_UOF */
#if (PACE_HAS_POSIX_FS_UOF)
PACE_INLINE
@@ -156,4 +167,3 @@ pace_closedir (PACE_DIR * dirp)
return pace_win32_emulate_closedir (dirp);
}
#endif /* PACE_HAS_POSIX_FS_UOF */
-