Add routines to open an ISO-9660 image independent of being part of a

CD.
This commit is contained in:
rocky
2004-01-10 03:03:08 +00:00
parent 47599c3cd7
commit 3d6e147070
10 changed files with 365 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
/*
$Id: sample6.c,v 1.1 2003/12/24 11:09:26 uid67423 Exp $
$Id: sample6.c,v 1.2 2004/01/10 03:03:08 rocky Exp $
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -81,7 +81,8 @@ main(int argc, const char *argv[])
statbuf->lsn + (i / ISO_BLOCKSIZE),
false) )
{
fprintf(stderr, "Error reading ISO 9660 file\n");
fprintf(stderr, "Error reading ISO 9660 file at lsn %d\n",
statbuf->lsn + (i / ISO_BLOCKSIZE));
return 4;
}