Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 300266 Details for
Bug 440436
access into large isos (>4GB) is broken
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch which fixes support for isos > 4GB
fuseiso-largeiso.patch (text/plain), 2.34 KB, created by
Thomas Bittermann
on 2008-04-03 15:29:23 UTC
(
hide
)
Description:
patch which fixes support for isos > 4GB
Filename:
MIME Type:
Creator:
Thomas Bittermann
Created:
2008-04-03 15:29:23 UTC
Size:
2.34 KB
patch
obsolete
>Index: src/isofs.c >=================================================================== >--- src/isofs.c (Revision 5) >+++ src/isofs.c (Arbeitskopie) >@@ -178,7 +178,7 @@ > context.data_size = isonum_723(context.pd.logical_block_size); > > if(!context.block_size) { >- fprintf(stderr, "init: wrong block data size %d, using default 2048\n", context.data_size); >+ fprintf(stderr, "init: wrong block data size %Lu, using default 2048\n", context.data_size); > context.data_size = 2048; > }; > >@@ -324,7 +324,7 @@ > > if(context.block_size != 2048) { > // report unusual data block size >- printf("Data block size: %d\n", context.block_size); >+ printf("Data block size: %Lu\n", context.block_size); > }; > > char buf[129]; >@@ -479,7 +479,7 @@ > }; > size_t len = read(context.fd, buf, context.data_size); > if(len != context.data_size) { >- fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %d required; errno %d, message %s\n", >+ fprintf(stderr, "isofs_read_raw_block: can`t read full block, read only %d bytes from offset %d, %Lu required; errno %d, message %s\n", > len, (int) off, context.data_size, errno, strerror(errno)); > fprintf(stderr, "isofs_read_raw_block: huh? reading zeros beyond file end? someone want to save a penny?\n"); > memset(buf + len, 0, context.data_size - len); >Index: src/isofs.h >=================================================================== >--- src/isofs.h (Revision 5) >+++ src/isofs.h (Arbeitskopie) >@@ -38,9 +38,9 @@ > struct iso_directory_record *root; > int file_offset; // offset to begin of useful data (for .nrg files) > int id_offset; // offset to CD001 inside file >- size_t block_size; // raw block size >- size_t block_offset; // offset from block start to data >- size_t data_size; // data size inside block >+ off_t block_size; // raw block size >+ off_t block_offset; // offset from block start to data >+ off_t data_size; // data size inside block > int susp; // parse susp entries > int susp_skip; // skip bytes from susp SP entry > int joliet_level; // joliet extension level (1, 2 or 3)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 440436
: 300266