Closed
Bug 795351
Opened 14 years ago
Closed 14 years ago
Replace LL_MAXINT, LL_MAXUINT and LL_MININT with INT64_MAX, UINT64_MAX and INT64_MIN
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: ehsan.akhgari, Assigned: isaac)
References
(Blocks 1 open bug)
Details
(Whiteboard: [mentor=ehsan][lang=c++])
Attachments
(2 files)
|
49.73 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
|
2.77 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
This is pretty similar to bug 791906, but for 64-bit values.
Isaac, interested in taking this as well? :-)
| Reporter | ||
Comment 1•14 years ago
|
||
We can also replace the function versions of these macros (LL_MaxInt, LL_MaxUint and LL_MinInt) with the stdint macros here as well (in a separate patch of course).
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → isaac.aggrey
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #666058 -
Flags: review?(ehsan)
| Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 666058 [details] [diff] [review]
Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions
Review of attachment 666058 [details] [diff] [review]:
-----------------------------------------------------------------
Looks great! Can you please test it on try?
Attachment #666058 -
Flags: review?(ehsan) → review+
| Assignee | ||
Comment 4•14 years ago
|
||
I should've stuck both patches in one try run; first patch's results are looking green but still in progress (https://tbpl.mozilla.org/?tree=Try&rev=1a991fd3a848) and the second patch (this one) just got pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=0083adfdec5f
Attachment #666081 -
Flags: review?(ehsan)
| Reporter | ||
Comment 5•14 years ago
|
||
Comment on attachment 666081 [details] [diff] [review]
Replace LL_MaxInt(), LL_MinInt(), LL_MaxUint() functions with stdint macros
Review of attachment 666081 [details] [diff] [review]:
-----------------------------------------------------------------
You are quick, sir! :-)
Attachment #666081 -
Flags: review?(ehsan) → review+
| Reporter | ||
Comment 6•14 years ago
|
||
I feel confident enough about these patches. I'll just push them to inbound, and have cancelled the try pushes.
| Reporter | ||
Comment 7•14 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/bd990a83194e
https://hg.mozilla.org/integration/mozilla-inbound/rev/70ab9f476d86
Target Milestone: --- → mozilla18
| Assignee | ||
Comment 8•14 years ago
|
||
(In reply to Ehsan Akhgari [:ehsan] from comment #6)
> I feel confident enough about these patches. I'll just push them to
> inbound, and have cancelled the try pushes.
Great, I was kinda hoping that would happen...I was feeling bad about wasting try server resources.
(In reply to Ehsan Akhgari [:ehsan] from comment #5)
> Comment on attachment 666081 [details] [diff] [review]
> Replace LL_MaxInt(), LL_MinInt(), LL_MaxUint() functions with stdint macros
>
> Review of attachment 666081 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> You are quick, sir! :-)
I try! Even with these simpler bugs, if I had known that I'd get such a kick out of contributing I would've started a long time ago!
Comment 9•14 years ago
|
||
Try run for 1a991fd3a848 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=1a991fd3a848
Results (out of 219 total builds):
exception: 70
success: 141
warnings: 6
failure: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/isaac.aggrey@gmail.com-1a991fd3a848
Comment 10•14 years ago
|
||
Try run for 0083adfdec5f is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=0083adfdec5f
Results (out of 95 total builds):
exception: 58
success: 37
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/isaac.aggrey@gmail.com-0083adfdec5f
Comment 11•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bd990a83194e
https://hg.mozilla.org/mozilla-central/rev/70ab9f476d86
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 12•14 years ago
|
||
Isaac, thanks a lot for your work! It's much appreciated.
| Assignee | ||
Comment 13•14 years ago
|
||
(In reply to :Ms2ger from comment #12)
> Isaac, thanks a lot for your work! It's much appreciated.
It's really my pleasure. Thank you, Ehsan, and others for creating a welcoming environment. :-)
| Reporter | ||
Comment 14•14 years ago
|
||
(In reply to comment #13)
> (In reply to :Ms2ger from comment #12)
> > Isaac, thanks a lot for your work! It's much appreciated.
>
> It's really my pleasure. Thank you, Ehsan, and others for creating a welcoming
> environment. :-)
My pleasure! :-)
| Reporter | ||
Updated•14 years ago
|
Blocks: dieprtypesdie
You need to log in
before you can comment on or make changes to this bug.
Description
•