diff options
Diffstat (limited to 'sysutils/mkisofs-devel/files/patch-bb')
-rw-r--r-- | sysutils/mkisofs-devel/files/patch-bb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sysutils/mkisofs-devel/files/patch-bb b/sysutils/mkisofs-devel/files/patch-bb index 489189a7c10e..b37ea2f81308 100644 --- a/sysutils/mkisofs-devel/files/patch-bb +++ b/sysutils/mkisofs-devel/files/patch-bb @@ -1,13 +1,13 @@ ---- mkisofs/tree.c.orig Mon Jan 10 23:17:25 2000 -+++ mkisofs/tree.c Sun Feb 13 21:44:15 2000 -@@ -446,8 +446,8 @@ - table->de_flags |= INHIBIT_JOLIET_ENTRY; - /* table->name = strdup("<translation table>");*/ - table->name = strdup(trans_tbl); -- table->table = (char *) e_malloc(ROUND_UP(tablesize)); -- memset(table->table, 0, ROUND_UP(tablesize)); -+ table->table = (char *) e_malloc(ROUND_UP(tablesize+1)); -+ memset(table->table, 0, ROUND_UP(tablesize+1)); - iso9660_file_length (trans_tbl, table, 0); - - if(use_RockRidge) +--- mkisofs/tree.c.orig Thu Apr 27 11:44:57 2000 ++++ mkisofs/tree.c Sat Apr 29 11:34:23 2000 +@@ -538,8 +538,8 @@ + table->de_flags |= INHIBIT_JOLIET_ENTRY; + /* table->name = strdup("<translation table>");*/ + table->name = strdup(trans_tbl); +- table->table = (char *) e_malloc(ISO_ROUND_UP(tablesize)); +- memset(table->table, 0, ISO_ROUND_UP(tablesize)); ++ table->table = (char *) e_malloc(ISO_ROUND_UP(tablesize+1)); ++ memset(table->table, 0, ISO_ROUND_UP(tablesize+1)); + iso9660_file_length(trans_tbl, table, 0); + + if (use_RockRidge) { |