summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-14 07:16:00 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-14 07:16:00 +0000
commit5a9a3ab3445ff60fa89f496613899d432164712c (patch)
treeec96a16b5a6a65ca2d18f45d249a8f6bbaaf740a /source3
parentc09647c3e1faa54e36c383958d9ea6def911f77d (diff)
downloadsamba-5a9a3ab3445ff60fa89f496613899d432164712c.tar.gz
samba-5a9a3ab3445ff60fa89f496613899d432164712c.tar.bz2
samba-5a9a3ab3445ff60fa89f496613899d432164712c.zip
tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort this out properly... (This used to be commit aa9dd697d41ed5bed1bddab519ea80df9e6f21f1)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbwrapper/smbw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index c0990b62b1..d9ff6daa05 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -1414,10 +1414,12 @@ struct kernel_stat {
void xstat_convert(int vers, struct stat *st, struct kernel_stat *kbuf)
{
+#ifdef _STAT_VER_LINUX_OLD
if (vers == _STAT_VER_LINUX_OLD) {
memcpy(st, kbuf, sizeof(*st));
return;
}
+#endif
ZERO_STRUCTP(st);