summaryrefslogtreecommitdiff
path: root/source/smbd/predict.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-01 20:11:54 +0000
committerJeremy Allison <jra@samba.org>1998-09-01 20:11:54 +0000
commit28aa182dbffaa4ffd86047e608400de4b26e80eb (patch)
tree789ac30eed5ef242b4cd9ffd6cbb84a7c640e0f4 /source/smbd/predict.c
parent8bd2cf0eb7533c3ec2d5767163ffdaf20b01bbff (diff)
downloadsamba-28aa182dbffaa4ffd86047e608400de4b26e80eb.tar.gz
More abstraction of file system data types, to move to a 64
bit file interface for the NT SMB's. Created a new define, SMB_STRUCT_STAT that currently is defined to be struct stat - this wil change to a user defined type containing 64 bit info when the correct wrappers are written for 64 bit stat(), fstat() and lstat() calls. Also changed all sys_xxxx() calls that were previously just wrappers to the same call prefixed by a dos_to_unix() call into dos_xxxx() calls. This makes it explicit when a pathname translation is being done, and when it is not. Now, all sys_xxx() calls are meant to be wrappers to mask OS differences, and not silently converting filenames on the fly. Jeremy.
Diffstat (limited to 'source/smbd/predict.c')
-rw-r--r--source/smbd/predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/predict.c b/source/smbd/predict.c
index 6f6a4ca655c..6e423c8efff 100644
--- a/source/smbd/predict.c
+++ b/source/smbd/predict.c
@@ -66,7 +66,7 @@ int read_predict(int fd,int offset,char *buf,char **ptr,int num)
if (ret == num) {
predict_skip = True;
} else {
- struct stat rp_stat;
+ SMB_STRUCT_STAT rp_stat;
/* Find the end of the file - ensure we don't
read predict beyond it. */