$NetBSD: patch-cf,v 1.3 2007/09/18 23:07:27 wiz Exp $

--- mkisofs/tree.c.orig	2007-08-20 16:34:53.000000000 +0000
+++ mkisofs/tree.c
@@ -1632,7 +1632,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;
