-/* $OpenBSD: dir.c,v 1.16 2013/04/24 13:46:27 deraadt Exp $ */
+/* $OpenBSD: dir.c,v 1.17 2014/05/21 17:52:26 krw Exp $ */
/* $NetBSD: dir.c,v 1.5 2000/01/28 16:01:46 bouyer Exp $ */
/*
if ((firstblk = malloc(sblock.e2fs_bsize)) == NULL) {
fprintf(stderr, "out of memory\n");
exit(8);
- }
+ }
memcpy(firstblk, bp->b_un.b_buf, sblock.e2fs_bsize);
bp = getdirblk(newblk, sblock.e2fs_bsize);
if (bp->b_errs) {
-/* $OpenBSD: inode.c,v 1.19 2013/04/24 13:46:27 deraadt Exp $ */
+/* $OpenBSD: inode.c,v 1.20 2014/05/21 17:52:26 krw Exp $ */
/* $NetBSD: inode.c,v 1.8 2000/01/28 16:01:46 bouyer Exp $ */
/*
inosize(struct ext2fs_dinode *dp)
{
u_int64_t size = fs2h32(dp->e2di_size);
-
+
if ((fs2h16(dp->e2di_mode) & IFMT) == IFREG)
size |= (u_int64_t)fs2h32(dp->e2di_dacl) << 32;
if (size >= 0x80000000U)
-/* $OpenBSD: main.c,v 1.19 2013/04/25 06:43:20 otto Exp $ */
+/* $OpenBSD: main.c,v 1.20 2014/05/21 17:52:26 krw Exp $ */
/* $NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $ */
/*
__progname);
exit(1);
}
-