1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/sysutils/mkisofs-devel/files/patch-bb

14 lines
579 B
Plaintext
Raw Normal View History

--- 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)