summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools/patches/patch-cf
blob: 008d494a1675afc4194396cac0fb1c11ef26440e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-cf,v 1.1.1.1 2006/01/05 23:27:59 wiz Exp $

--- mkisofs/tree.c.orig	2004-06-12 15:16:37.000000000 +0200
+++ 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;