summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-08-08 05:30:24 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-08-08 05:30:24 +0000
commite77496d7383155763e005b3f4f655e1f74799046 (patch)
tree3a741ce55190595c9f2a58fd8683799af898be70
parent7cf32228659ba80d262268ace29e1600d3235f8f (diff)
ino_t will never be smaller than 32 bits again; prep for when it's 64 bits.
simplification and ok kettenis@
-rw-r--r--gnu/usr.sbin/mkhybrid/src/mkisofs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.sbin/mkhybrid/src/mkisofs.h b/gnu/usr.sbin/mkhybrid/src/mkisofs.h
index 6afe66e8c09..71d35767eda 100644
--- a/gnu/usr.sbin/mkhybrid/src/mkisofs.h
+++ b/gnu/usr.sbin/mkhybrid/src/mkisofs.h
@@ -20,7 +20,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/*
- * $Id: mkisofs.h,v 1.2 2001/10/01 17:05:05 drahn Exp $
+ * $Id: mkisofs.h,v 1.3 2013/08/08 05:30:23 guenther Exp $
*/
/* APPLE_HYB James Pearson j.pearson@ge.ucl.ac.uk 12/3/99 */
@@ -485,10 +485,10 @@ extern void * DECL(e_malloc,(size_t));
#define NEED_CE 8
#define NEED_SP 16
-#define PREV_SESS_DEV (sizeof(dev_t) >= 4 ? 0x7ffffffd : 0x7ffd)
-#define TABLE_INODE (sizeof(ino_t) >= 4 ? 0x7ffffffe : 0x7ffe)
-#define UNCACHED_INODE (sizeof(ino_t) >= 4 ? 0x7fffffff : 0x7fff)
-#define UNCACHED_DEVICE (sizeof(dev_t) >= 4 ? 0x7fffffff : 0x7fff)
+#define PREV_SESS_DEV (sizeof(dev_t) >= 4 ? 0x7ffffffd : 0x7ffd)
+#define TABLE_INODE (sizeof(ino_t) >= 8 ? 0x7ffffffffffffffe : 0x7ffffffe)
+#define UNCACHED_INODE (sizeof(ino_t) >= 8 ? 0x7fffffffffffffff : 0x7fffffff)
+#define UNCACHED_DEVICE (sizeof(dev_t) >= 4 ? 0x7fffffff : 0x7fff)
#ifdef VMS
#define STAT_INODE(X) (X.st_ino[0])