Closed Bug 455355 Opened 16 years ago Closed 16 years ago

WinCE OGGZ file offset (no fstat in WinCE)

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Windows Mobile 6 Professional
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: wolfe, Unassigned)

References

Details

(Keywords: mobile)

Attachments

(1 file)

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).
Blocks: 432792
marking wont fix.  we will fix this in the shunt and support fstat()
Status: NEW → RESOLVED
Closed: 16 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.

Attachment

General

Created:
Updated:
Size: