diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-03 18:40:31 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-03 18:40:31 +0000 |
commit | 14500936c321d15995c963766aac67bf1f4e3824 (patch) | |
tree | d6334d89735aa240aa8950c6c37a70b35b0ea181 /source/smbd/dir.c | |
parent | d252d331015b7606618ba1422bb669da003da293 (diff) | |
download | samba-14500936c321d15995c963766aac67bf1f4e3824.tar.gz samba-14500936c321d15995c963766aac67bf1f4e3824.tar.xz samba-14500936c321d15995c963766aac67bf1f4e3824.zip |
Ok - this is the 64 bit widening check in. It changes the configure
to check for stat64 and friends, and then changes much of Samba
to use the data type SMB_OFF_T for file size information.
stat/fstat/lstat/lseek/ftruncate have now become sys_stat etc. to hide
the 64 bit calls if needed.
Note that this still does not expose 64 bit functionality to the
client, as the changes to the reply_xxx smb's are not yet done.
This code change should make these changes possible.
Still to do before full 64 bit-ness to the client:
fcntl lock code.
statfs code
widening of dev_t and ino_t (now possible due to SMB_DEV_T and SMB_OFF_T
types being in place).
Let me know if wierd things happen after this check-in and I'll
fix them :-).
Jeremy.
Diffstat (limited to 'source/smbd/dir.c')
-rw-r--r-- | source/smbd/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/dir.c b/source/smbd/dir.c index 7c81b826d1a..73db2955481 100644 --- a/source/smbd/dir.c +++ b/source/smbd/dir.c @@ -418,7 +418,8 @@ BOOL dir_check_ftype(connection_struct *conn,int mode,SMB_STRUCT_STAT *st,int di /**************************************************************************** get a directory entry ****************************************************************************/ -BOOL get_dir_entry(connection_struct *conn,char *mask,int dirtype,char *fname,int *size,int *mode,time_t *date,BOOL check_descend) +BOOL get_dir_entry(connection_struct *conn,char *mask,int dirtype,char *fname, + SMB_OFF_T *size,int *mode,time_t *date,BOOL check_descend) { char *dname; BOOL found = False; |