Open Bug 749661 Opened 13 years ago Updated 1 year ago

Workaround yaffs2 readdir bug

Categories

(Core :: XPCOM, defect)

All
Android
defect

Tracking

()

REOPENED

People

(Reporter: mwu, Unassigned)

References

Details

Attachments

(1 file, 2 obsolete files)

Attached patch Workaround yaffs2 readdir bug (obsolete) — Splinter Review
yaffs2 has issues with readdir which can cause infinite loops when used with indexeddb. We can workaround this.
Attachment #619076 - Flags: review?(doug.turner)
mwu, instead can we use statfs() to determine if the directory to enumerate is on yaffs2?
This checks the filesystem type
Attachment #619076 - Attachment is obsolete: true
Attachment #619076 - Flags: review?(doug.turner)
Attachment #619546 - Flags: review?(doug.turner)
Comment on attachment 619546 [details] [diff] [review] Workaround yaffs2 readdir bug, v2 Review of attachment 619546 [details] [diff] [review]: ----------------------------------------------------------------- #ifdef ANDROID -> YAFFS2_WORKAROUND This is special cased only for the /data mount point. That is fine for now - just add a comment about that. Others might be running into this problem on non-android systems.
Attachment #619546 - Flags: review?(doug.turner) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla15 → ---
Not working on this, and the FFOX devices we're shipping on either don't have this FS or have the issue patched out. A fix would probably still be good for Firefox on Android, though.
Assignee: mwu → nobody
Severity: normal → S3
Attachment #9385022 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: