Closed
Bug 508879
Opened 15 years ago
Closed 15 years ago
version_win.pl returns float in daysFromBuildID() which causes mingw windres to fail
Categories
(Firefox Build System :: General, defect)
Tracking
(status1.9.1 .3-fixed)
RESOLVED
FIXED
mozilla1.9.3a1
Tracking | Status | |
---|---|---|
status1.9.1 | --- | .3-fixed |
People
(Reporter: cls, Assigned: cls)
Details
Attachments
(1 file)
590 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
In daysFromBuildID(), version_win.pl returns the value as: return (POSIX::mktime(00, 00, 00, $d, $m - 1, $y - 1900) - POSIX::mktime(00, 00, 00, 01, 00, 100)) / $secondstodays; The return value is treated as a float. This causes windres (2.19.1 at least) to fail with the error: i686-pc-mingw32-windres: /opt/cls/src/moz/main/obj-x-mingw-ff/xpcom/typelib/xpidl/module.rc:54: syntax error and module.rc contains: 1 VERSIONINFO FILEVERSION 1,9,0,3504.95833333333 PRODUCTVERSION 1,9,0,3504.95833333333 I see this in CVS & comm-central. The attached patch makes the function return an int.
Attachment #393017 -
Flags: review?(benjamin)
Updated•15 years ago
|
Attachment #393017 -
Flags: review?(benjamin) → review+
Checking in config/version_win.pl; /cvsroot/mozilla/config/version_win.pl,v <-- version_win.pl new revision: 3.18; previous revision: 3.17 done http://hg.mozilla.org/releases/mozilla-1.9.1/rev/21003db404c6
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 2•15 years ago
|
||
Comment on attachment 393017 [details] [diff] [review] v1.0 [Checkin: Comment 1+2 & 5] http://hg.mozilla.org/releases/mozilla-1.9.1/rev/e1c7b07da858 (Bv1) Keep /js/src/config/ in sync; bustage fix
Attachment #393017 -
Attachment description: v1.0 → v1.0
[Checkin: Comment 1+2]
Comment 3•15 years ago
|
||
(In reply to comment #0) > I see this in CVS & comm-central. I wonder why mozilla-central doesn't need this...
Assignee: nobody → cls
status1.9.1:
--- → .3-fixed
Flags: in-testsuite-
Version: unspecified → 1.9.1 Branch
(In reply to comment #3) > (In reply to comment #0) > > I see this in CVS & comm-central. > > I wonder why mozilla-central doesn't need this... I never explicitly tested the mozilla-central repo. I was under the impression from https://developer.mozilla.org/En/Developer_Guide/Source_Code/Mercurial that mozilla-central was pulled as part of comm-central .
http://hg.mozilla.org/mozilla-central/rev/83de9673213e
Version: 1.9.1 Branch → Trunk
Updated•15 years ago
|
Attachment #393017 -
Attachment description: v1.0
[Checkin: Comment 1+2] → v1.0
[Checkin: Comment 1+2 & 5]
Comment 6•15 years ago
|
||
(In reply to comment #4) > I was under the impression > from https://developer.mozilla.org/En/Developer_Guide/Source_Code/Mercurial > that mozilla-central was pulled as part of comm-central . Ah: "By pulling comm-central you also get mozilla-central (or mozilla-1.9.1)". I'll rewrite it to be more explicit: m-1.9.1 by default, currently. (In reply to comment #5) > http://hg.mozilla.org/mozilla-central/rev/83de9673213e And I guess you want it on m-1.9.2 too now...
Target Milestone: --- → mozilla1.9.3
Updated•15 years ago
|
Target Milestone: mozilla1.9.3 → mozilla1.9.3a1
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•