summaryrefslogtreecommitdiff
path: root/sysutils/mkisofs-devel/files/patch-ad
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1999-05-14 11:54:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1999-05-14 11:54:55 +0000
commitb919b8311bc5d38e5731d40525c88c54816f4530 (patch)
tree35bbb3a9293cb7a160571b1bceb1ca2a52507a18 /sysutils/mkisofs-devel/files/patch-ad
parentDespite what I said before, this is the official INDEX file for (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_2_0'.release/3.2.0
Notes
Notes: svn path=/head/; revision=18827 svn path=/tags/RELEASE_3_2_0/; revision=18828; tag=release/3.2.0
Diffstat (limited to 'sysutils/mkisofs-devel/files/patch-ad')
-rw-r--r--sysutils/mkisofs-devel/files/patch-ad32
1 files changed, 0 insertions, 32 deletions
diff --git a/sysutils/mkisofs-devel/files/patch-ad b/sysutils/mkisofs-devel/files/patch-ad
deleted file mode 100644
index de43f3cd91f5..000000000000
--- a/sysutils/mkisofs-devel/files/patch-ad
+++ /dev/null
@@ -1,32 +0,0 @@
---- multi.c.orig Mon Jun 1 20:00:25 1998
-+++ multi.c Fri Oct 30 22:36:03 1998
-@@ -296,7 +296,7 @@
- idr = (struct iso_directory_record *) &dirbuff[i];
- if(idr->length[0] == 0)
- {
-- i = (i + SECTOR_SIZE - 1) & ~(SECTOR_SIZE - 1);
-+ i = ROUND_UP(i);
- continue;
- }
- (*nent)++;
-@@ -324,7 +324,7 @@
- idr = (struct iso_directory_record *) &dirbuff[i];
- if(idr->length[0] == 0)
- {
-- i = (i + SECTOR_SIZE - 1) & ~(SECTOR_SIZE - 1);
-+ i = ROUND_UP(i);
- continue;
- }
- *pnt = (struct directory_entry *) e_malloc(sizeof(**rtn));
-@@ -436,8 +436,9 @@
- */
- if( tt_extent != 0 && tt_size != 0 )
- {
-- tt_buf = (unsigned char *) e_malloc(tt_size);
-- readsecs(tt_extent, tt_buf, tt_size/SECTOR_SIZE);
-+ tt_buf = (unsigned char *) e_malloc(ROUND_UP(tt_size));
-+ memset(tt_buf, 0, tt_size);
-+ readsecs(tt_extent, tt_buf, (tt_size + SECTOR_SIZE - 1) / SECTOR_SIZE);
-
- /*
- * Loop through the file, examine each entry, and attempt to