git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b9c0ba
)
tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
author
Luke Leighton
<lkcl@samba.org>
Wed, 14 Oct 1998 07:16:00 +0000
(07:16 +0000)
committer
Luke Leighton
<lkcl@samba.org>
Wed, 14 Oct 1998 07:16:00 +0000
(07:16 +0000)
that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort
this out properly...
source/smbwrapper/smbw.c
patch
|
blob
|
history
diff --git
a/source/smbwrapper/smbw.c
b/source/smbwrapper/smbw.c
index c0990b62b11e1e9b523be52c4cdaac17ffbf510d..d9ff6daa05cf491218f18569a4d1c452ca5c5be8 100644
(file)
--- a/
source/smbwrapper/smbw.c
+++ b/
source/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);