Closed
Bug 795478
Opened 12 years ago
Closed 12 years ago
DeviceStorage: freeBytes is a very large number when I use up all the space on /sdcard
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: djf, Assigned: dougt)
Details
Attachments
(1 file)
1.08 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
If I fill up my sdcard by writing giant files with dd, device storage stat() reports some giant number of free bytes. If I leave just a tiny bit of free space, stat() seems to report that correctly. I'm guessing that since adb gives me root access, I'm able to actually use up reserved space on the partition and the OS is reporting negative free bytes, which are then getting converted to an giant unsigned value. Here's an example giant value: 18446744073709548000 It equals -3616, I think I don't want freeBytes to return a negative value. It should clamp to 0, I think.
Assignee | ||
Updated•12 years ago
|
blocking-basecamp: --- → ?
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #666432 -
Flags: review?
Reporter | ||
Comment 2•12 years ago
|
||
Doug, did you intentionally leave the requestee field blank? Your patch is r? but no one is listed to do the review.
Assignee | ||
Updated•12 years ago
|
Attachment #666432 -
Flags: review? → review?(benjamin)
Updated•12 years ago
|
blocking-basecamp: ? → +
Updated•12 years ago
|
Attachment #666432 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 3•12 years ago
|
||
djf, i was looking for a reviewer last night. I found bsmedberg. ;) I'll check-in tonight.
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ba388025ede9
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ba388025ede9
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•