summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-29 19:23:27 +0000
committerluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-08-29 19:23:27 +0000
commit75e9b66ff61ad82c100cb55554ca801738e45bf9 (patch)
tree6686cb707a30ed24f0599667e1a37ce66155ed60
parentb0fc9fea4b0e5fe3c4d235bf5520cfa67907b793 (diff)
downloadATCD-75e9b66ff61ad82c100cb55554ca801738e45bf9.tar.gz
Tue Aug 29 14:14:45 2000 Luther J Baker <luther@cs.wustl.edu>
-rw-r--r--PACE/ChangeLog11
-rw-r--r--PACE/pace/posix/stat.inl4
-rw-r--r--PACE/pace/sys/stat.h4
-rw-r--r--PACE/pace/win32/stat.inl9
4 files changed, 21 insertions, 7 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index 5428f407d38..fde37b73a3c 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,3 +1,14 @@
+Tue Aug 29 14:14:45 2000 Luther J Baker <luther@cs.wustl.edu>
+
+ * pace/stat.h (pace_fstat):
+ * pace/stat.h (pace_fchmod):
+ * pace/posix/stat.inl (pace_fchmod):
+ * pace/posix/stat.inl (pace_fstat):
+ * pace/win32/stat.inl (pace_fchmod):
+ * pace/win32/stat.inl (pace_fstat):
+
+ Changed argument 1 from an int to a PACE_HANDLE.
+
Tue Aug 29 13:07:55 2000 Luther J Baker <luther@cs.wustl.edu>
* pace/win32/fcntl.inl (pace_creat):
diff --git a/PACE/pace/posix/stat.inl b/PACE/pace/posix/stat.inl
index 399d92158f6..fa9b1e61714 100644
--- a/PACE/pace/posix/stat.inl
+++ b/PACE/pace/posix/stat.inl
@@ -25,7 +25,7 @@ pace_chmod (const char * path, pace_mode_t mode)
#if (PACE_HAS_POSIX_NONUOF_FUNCS)
PACE_INLINE
int
-pace_fchmod (int fildes, pace_mode_t mode)
+pace_fchmod (PACE_HANDLE fildes, pace_mode_t mode)
{
return fchmod (fildes, mode);
}
@@ -34,7 +34,7 @@ pace_fchmod (int fildes, pace_mode_t mode)
#if (PACE_HAS_POSIX_FS_UOF)
PACE_INLINE
int
-pace_fstat (int fildes, pace_stat_s * buf)
+pace_fstat (PACE_HANDLE fildes, pace_stat_s * buf)
{
return fstat (fildes, buf);
}
diff --git a/PACE/pace/sys/stat.h b/PACE/pace/sys/stat.h
index 68d638b5ef8..0cdf982d04a 100644
--- a/PACE/pace/sys/stat.h
+++ b/PACE/pace/sys/stat.h
@@ -37,11 +37,11 @@ extern "C" {
#endif /* PACE_HAS_POSIX_FA_UOF */
#if (PACE_HAS_POSIX_NONUOF_FUNCS)
- PACE_INLINE int pace_fchmod (int fildes, pace_mode_t mode);
+ PACE_INLINE int pace_fchmod (PACE_HANDLE fildes, pace_mode_t mode);
#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */
#if (PACE_HAS_POSIX_FS_UOF)
- PACE_INLINE int pace_fstat (int fildes, pace_stat_s * buf);
+ PACE_INLINE int pace_fstat (PACE_HANDLE fildes, pace_stat_s * buf);
#endif /* PACE_HAS_POSIX_FS_UOF */
#if (PACE_HAS_POSIX_FS_UOF)
diff --git a/PACE/pace/win32/stat.inl b/PACE/pace/win32/stat.inl
index e7ceb01baf0..6a87faf13c5 100644
--- a/PACE/pace/win32/stat.inl
+++ b/PACE/pace/win32/stat.inl
@@ -27,7 +27,7 @@ pace_chmod (const char * path, pace_mode_t mode)
#if (PACE_HAS_POSIX_NONUOF_FUNCS)
PACE_INLINE
int
-pace_fchmod (int fildes, pace_mode_t mode)
+pace_fchmod (PACE_HANDLE fildes, pace_mode_t mode)
{
PACE_UNUSED_ARG (fildes);
PACE_UNUSED_ARG (mode);
@@ -38,9 +38,12 @@ pace_fchmod (int fildes, pace_mode_t mode)
#if (PACE_HAS_POSIX_FS_UOF)
PACE_INLINE
int
-pace_fstat (int fildes, pace_stat_s * buf)
+pace_fstat (PACE_HANDLE fildes, pace_stat_s * buf)
{
- return _fstat (fildes, buf);
+ PACE_UNUSED_ARG (fildes);
+ PACE_UNUSED_ARG (buf);
+ PACE_ERRNO_NO_SUPPORT_RETURN (-1);
+ /* return _fstat (fildes, buf); */
}
#endif /* PACE_HAS_POSIX_FS_UOF */