$NetBSD: patch-cf,v 1.1 2006/02/04 12:05:17 wiz Exp $

--- mkisofs/tree.c.orig	2004-06-12 13:16:37.000000000 +0000
+++ mkisofs/tree.c
@@ -1577,7 +1577,7 @@ insert_file_entry(this_dir, whole_path, 
 	/*
 	 * >= is required by the large file summit standard.
 	 */
-	if (S_ISREG(lstatbuf.st_mode) && (lstatbuf.st_size >= (off_t)0x7FFFFFFF)) {
+	if (S_ISREG(lstatbuf.st_mode) && (lstatbuf.st_size >= (off_t)0x0FFFFFFFF)) {
 #endif
 #ifdef	EOVERFLOW
 		errno = EOVERFLOW;
