Closed
Bug 793523
Opened 13 years ago
Closed 13 years ago
Bookmarks Search doesn't work on big endian after 64-bit folder ID change
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: spectre, Assigned: spectre)
References
()
Details
Attachments
(1 file)
857 bytes,
patch
|
mak
:
review+
Gavin
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
"TenFourFox: I Like Big Endian and I Cannot Lie"
Upstreamed from http://code.google.com/p/tenfourfox/issues/detail?id=177
After bug 702639, bookmarks search stopped working on big endian, including TenFourFox and derivatives on PowerPC. NSPR logging showed that the parent IDs were all appearing as zero in the generated SQL. This is probably an endian issue since the same code worked when they were 32-bit. Simply changing the %d to %lld in the attached patch should suffice for this instance, although there are probably others.
Attachment #663847 -
Flags: review?
Assignee | ||
Updated•13 years ago
|
Attachment #663847 -
Flags: review? → review?(mak77)
Comment 1•13 years ago
|
||
Comment on attachment 663847 [details] [diff] [review]
Use %lld when nsPrintfCString'ing the parent ID
Review of attachment 663847 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you, this was indeed wrong :(
If you need help pushing this just let me know.
Attachment #663847 -
Flags: review?(mak77) → review+
Updated•13 years ago
|
Assignee | ||
Comment 2•13 years ago
|
||
I don't have checkin or try permissions -- does this need a try run? Otherwise, yes, please. Thank you!
Status: NEW → ASSIGNED
Comment 3•13 years ago
|
||
Target Milestone: --- → mozilla18
Comment 4•13 years ago
|
||
Comment on attachment 663847 [details] [diff] [review]
Use %lld when nsPrintfCString'ing the parent ID
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 702639
User impact if declined: bookmarks not working properly on big-endian platforms
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): Trivial change, no risk
String or UUID changes made by this patch: none
note: while this doesn't meet usual approval regarding priority, it's so trivial and risk free I think may be worth to get it earlier.
Attachment #663847 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #663847 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•