[Debburn-changes] r398 - nonameyet/trunk/mkisofs
Eduard Bloch
blade at alioth.debian.org
Sun Nov 19 18:07:23 CET 2006
Author: blade
Date: 2006-11-19 18:07:23 +0100 (Sun, 19 Nov 2006)
New Revision: 398
Modified:
nonameyet/trunk/mkisofs/mkisofs.c
Log:
Alternative non-scg sector read
Modified: nonameyet/trunk/mkisofs/mkisofs.c
===================================================================
--- nonameyet/trunk/mkisofs/mkisofs.c 2006-11-15 15:12:23 UTC (rev 397)
+++ nonameyet/trunk/mkisofs/mkisofs.c 2006-11-19 17:07:23 UTC (rev 398)
@@ -3019,7 +3019,12 @@
* This is the first ISO directory entry in the root dir.
*/
c = isonum_733((unsigned char *)mrootp->extent);
+#ifdef USE_SCG
readsecs(c, sector, 1);
+#else
+ lseek(fileno(in_image), c*2048, SEEK_SET);
+ read(fileno(in_image), sector, sizeof (sector));
+#endif
c = rr_flags((struct iso_directory_record *)sector);
if (c & RR_FLAG_XA)
fprintf(stderr, "XA signatures found\n");
More information about the Debburn-changes
mailing list