On 2002-06-25 16:50:31 +0200, Joerg Schilling wrote:
> It even depends on things such as: do wwe need an extra sector in this
> directory due to rounding...

The waste of space due to rounding can be avoided using the patch
attached.

Eduardo P�rez
--- cdrtools-1.10/mkisofs/mkisofs.c     Tue Dec 11 21:39:45 2001
+++ cdrtools-1.10/mkisofs/mkisofs.c     Tue Dec 11 21:39:56 2001
@@ -2735,14 +2735,8 @@
        }
 
        /* Now assign addresses on the disc for the path table. */
-
        path_blocks = (path_table_size + (SECTOR_SIZE - 1)) >> 11;
-       if (path_blocks & 1)
-               path_blocks++;
-
        jpath_blocks = (jpath_table_size + (SECTOR_SIZE - 1)) >> 11;
-       if (jpath_blocks & 1)
-               jpath_blocks++;
 
        /*
         * Start to set up the linked list that we use to track the contents

Reply via email to