Merge from vendor branch TNF:
[pkgsrc.git] / security / tripwire / patches / patch-ad
1 $NetBSD$
2
3 On NetBSD, st_size is a 64-bit quantity.
4
5 --- src/utils.c 1994/07/25 16:23:16     1.23
6 +++ src/utils.c 2000/07/14 08:53:49
7 @@ -697,8 +697,13 @@
8  
9         print_perm((uint32)statbuf.st_mode);
10  
11 +#if (defined(BSD) && BSD >= 199306)
12 +       (void) printf(" %-9.9s %7lld %s", owner, statbuf.st_size,
13 +                                               a_time + 4);
14 +#else
15         (void) printf(" %-9.9s %7d %s", owner, statbuf.st_size,
16                                                 a_time + 4);
17 +#endif
18         printf(" %s\n", name);
19  
20  }