tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
authorLuke Leighton <lkcl@samba.org>
Wed, 14 Oct 1998 07:16:00 +0000 (07:16 +0000)
committerLuke 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

index c0990b62b11e1e9b523be52c4cdaac17ffbf510d..d9ff6daa05cf491218f18569a4d1c452ca5c5be8 100644 (file)
@@ -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);