$NetBSD: patch-cf,v 1.2 2007/03/16 22:04:54 bad Exp $

--- mkisofs/tree.c.orig	2006-11-25 16:49:32.000000000 +0100
+++ mkisofs/tree.c
@@ -1562,7 +1562,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;
