Closed Bug 455355 Opened 12 years ago Closed 12 years ago
CE OGGZ file offset (no fstat in Win CE)
Replace file stat structure usage with a simple fseek to find out the file size on WinCE builds, because stat structure is not defined under WinMobile.
Attachment #338681 - Flags: review?(doug.turner)
Comment on attachment 338681 [details] [diff] [review] Change to fseek to find out size of file, no stat structure in WinCE we should use the stub that provides a stat structure. This code doesn't need to change, does it?
Attachment #338681 - Flags: review?(doug.turner) → review-
It will take a lot longer to fill out a stat structure for the simple "how big is this file?" query, and all other information will be abandoned. The other alternative is to provide a stat structure that ONLY has the size (cbSize structure member) filled out correctly. I have a tendency to lean toward the former, since there is no confusion and no need to create a dummy stat structure and no need to create a fileno() function and a partial fstat() function (that only fills in the cbSize member).
marking wont fix. we will fix this in the shunt and support fstat()
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
sounds like this is not an issue anymore, marking as verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.