summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-09 20:33:37 +0000
committerJeremy Allison <jra@samba.org>1998-11-09 20:33:37 +0000
commite4f974c611c179a5e7827ec8325e01811db6540b (patch)
treeeb86d4e8b53c4ee052645cd86acd08f76f75d5b5 /source3/smbwrapper
parent748fe7a383e50079493648839cf0ab69aa2223a0 (diff)
downloadsamba-e4f974c611c179a5e7827ec8325e01811db6540b.tar.gz
samba-e4f974c611c179a5e7827ec8325e01811db6540b.tar.bz2
samba-e4f974c611c179a5e7827ec8325e01811db6540b.zip
Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.
client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/smbw.c4
-rw-r--r--source3/smbwrapper/smbw_dir.c2
-rw-r--r--source3/smbwrapper/smbw_stat.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 26dec4646e..42979bcf00 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -1014,7 +1014,7 @@ static int smbw_settime(const char *fname, time_t t)
struct smbw_server *srv;
fstring server, share;
pstring path;
- uint32 mode;
+ uint16 mode;
if (!fname) {
errno = EINVAL;
@@ -1083,7 +1083,7 @@ int smbw_chown(const char *fname, uid_t owner, gid_t group)
struct smbw_server *srv;
fstring server, share;
pstring path;
- uint32 mode;
+ uint16 mode;
if (!fname) {
errno = EINVAL;
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index 4b8381176b..95b2ac4b64 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -361,7 +361,7 @@ int smbw_chdir(const char *name)
struct smbw_server *srv;
fstring server, share;
pstring path;
- uint32 mode = aDIR;
+ uint16 mode = aDIR;
char *cwd;
int len;
diff --git a/source3/smbwrapper/smbw_stat.c b/source3/smbwrapper/smbw_stat.c
index 443c898eb5..c84140f362 100644
--- a/source3/smbwrapper/smbw_stat.c
+++ b/source3/smbwrapper/smbw_stat.c
@@ -65,7 +65,7 @@ try to do a QPATHINFO and if that fails then do a getatr
this is needed because win95 sometimes refuses the qpathinfo
*******************************************************/
BOOL smbw_getatr(struct smbw_server *srv, char *path,
- uint32 *mode, size_t *size,
+ uint16 *mode, size_t *size,
time_t *c_time, time_t *a_time, time_t *m_time,
SMB_INO_T *ino)
{
@@ -130,7 +130,7 @@ int smbw_fstat(int fd, struct stat *st)
struct smbw_file *file;
time_t c_time, a_time, m_time;
size_t size;
- uint32 mode;
+ uint16 mode;
SMB_INO_T ino = 0;
smbw_busy++;
@@ -178,7 +178,7 @@ int smbw_stat(const char *fname, struct stat *st)
pstring path;
time_t m_time=0, a_time=0, c_time=0;
size_t size=0;
- uint32 mode=0;
+ uint16 mode=0;
SMB_INO_T ino = 0;
ZERO_STRUCTP(st);