Open
Bug 749661
Opened 13 years ago
Updated 1 year ago
Workaround yaffs2 readdir bug
Categories
(Core :: XPCOM, defect)
Tracking
()
REOPENED
People
(Reporter: mwu, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
2.71 KB,
patch
|
dougt
:
review+
|
Details | Diff | 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)
Comment 1•13 years ago
|
||
mwu, instead can we use statfs() to determine if the directory to enumerate is on yaffs2?
Reporter | ||
Comment 2•13 years ago
|
||
This checks the filesystem type
Attachment #619076 -
Attachment is obsolete: true
Attachment #619076 -
Flags: review?(doug.turner)
Attachment #619546 -
Flags: review?(doug.turner)
Comment 3•13 years ago
|
||
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+
Reporter | ||
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Reporter | ||
Comment 5•13 years ago
|
||
Didn't stick.
https://hg.mozilla.org/mozilla-central/rev/6bffe5985546
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla15 → ---
Reporter | ||
Comment 6•12 years ago
|
||
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
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Attachment #9385022 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•