Closed Bug 1350355 Opened 9 years ago Closed 9 years ago

fdlibm should provide definition for u_int32_t and u_int64_t

Categories

(Core :: JavaScript Engine, enhancement)

52 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: petr.sumbera, Assigned: petr.sumbera)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170316213829 Steps to reproduce: modules/fdlibm/src/math_private.h expects defined u_int32_t and u_int64_t. u_int32_t and u_int64_t are not stdint.h types as can be seen here: https://hg.mozilla.org/mozilla-central/rev/a446b4e60744 Another victim beside WINDOWS is also Solaris: https://github.com/lkinley/Net-SSH-Perl/pull/4 We should provide more general definition.
Attached patch Bug1350355.patchSplinter Review
Attachment #8851018 - Flags: review?(arai.unmht)
Comment on attachment 8851018 [details] [diff] [review] Bug1350355.patch Review of attachment 8851018 [details] [diff] [review]: ----------------------------------------------------------------- Thank you for your patch. the file is automatically generated from modules/fdlibm/patches/*.patch, that's applied by modules/fdlibm/update.sh, after importing files from upstream by modules/fdlibm/import.sh (called from update.sh) can you add the corresponding patch there, to make the change kept after the next update?
Attachment #8851018 - Flags: review?(arai.unmht) → feedback+
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Attached patch Bug1350355.patchSplinter Review
Attachment #8851018 - Attachment is obsolete: true
Attachment #8851536 - Flags: review?(arai.unmht)
Comment on attachment 8851536 [details] [diff] [review] Bug1350355.patch Review of attachment 8851536 [details] [diff] [review]: ----------------------------------------------------------------- Thank you again :) sorry I forgot to say that the patch also needs the actual change to the file, we can use the previous patch as Part 1, and this patch as Part 2. (if you want to fold them into single patch, let me know) I'll push this to try server shortly.
Attachment #8851536 - Flags: review?(arai.unmht) → review+
Attachment #8851018 - Flags: feedback+ → review+
Attachment #8851018 - Attachment is obsolete: false
Assignee: nobody → petr.sumbera
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
So what was the result? Can this be pushed please?
yes, you can add checkin-needed keyword to this bug :)
Keywords: checkin-needed
Attachment #8851018 - Attachment is obsolete: true
Attachment #8851018 - Attachment is obsolete: false
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b2893936478f fdlibm should provide definition for u_int32_t and u_int64_t. r=arai
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: