Closed
Bug 507506
Opened 15 years ago
Closed 15 years ago
ntmisc.c _MD_WindowsGetSysInfo needs to handle Windows CE
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
4.8.1
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
(Whiteboard: [nv])
Attachments
(3 files)
1012 bytes,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
1.03 KB,
patch
|
robert.strong.bugs
:
review+
nelson
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Whiteboard: [nv]
Assignee | ||
Updated•15 years ago
|
Assignee: wtc → robert.bugzilla
Status: NEW → ASSIGNED
Assignee | ||
Updated•15 years ago
|
Attachment #391726 -
Flags: review?(wtc)
Updated•15 years ago
|
Attachment #391726 -
Flags: review?(wtc) → review+
Comment 2•15 years ago
|
||
Comment on attachment 391726 [details] [diff] [review] patch rev1 r=wtc. Thanks for the patch.
Comment 3•15 years ago
|
||
Remember, the reference copy of NSPR is in CVS, and all other repositories are downstream. This fix must be applied to CVS first, then ...
Comment 4•15 years ago
|
||
I checked this in to NSPR CVS HEAD for you: Checking in pr/src/md/windows/ntmisc.c; /cvsroot/mozilla/nsprpub/pr/src/md/windows/ntmisc.c,v <-- ntmisc.c new revision: 3.26; previous revision: 3.25 done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•15 years ago
|
||
Thanks Ted
Comment 6•15 years ago
|
||
This commit broke my build with VC6: c:/security/securitytip/builds/20090730.1/nssw2000s_WIN/mozilla/nsprpub/pr/src/md/windows/ntmisc.c(843) : error C2065: 'VER_PLATFORM_WIN32_CE' : undeclared identifier c:/security/securitytip/builds/20090730.1/nssw2000s_WIN/mozilla/nsprpub/pr/src/md/windows/ntmisc.c(843) : error C2051: case expression not constant make[6]: *** [ntmisc.obj] Error 2 Please back out this change.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•15 years ago
|
||
Either VER_PLATFORM_WIN32_CE could be defined locally or the new code can be ifdef WINCE which I kind of prefer since this is only used by WINCE and VER_PLATFORM_WIN32_CE had better be available when compiling WINCE
Attachment #391940 -
Flags: review?(wtc)
Comment 8•15 years ago
|
||
Comment on attachment 391940 [details] [diff] [review] followup patch r=wtc. You can also consider just testing the macro in question: #ifdef VER_PLATFORM_WIN32_CE
Attachment #391940 -
Flags: review?(wtc) → review+
Comment 9•15 years ago
|
||
Here is an example of my suggested change: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/nsprpub/pr/src/md/unix/unix_errors.c&rev=3.28&mark=75-76,95-96,100-101#44
Assignee | ||
Comment 11•15 years ago
|
||
Ted or someone else with access to NSPR CVS... could you please check this in for me? Thanks
Assignee | ||
Comment 12•15 years ago
|
||
btw: since I don't have a NSPR repo the original patch should be reversed before applying the new patch.
Comment 13•15 years ago
|
||
Comment on attachment 392028 [details] [diff] [review] followup patch 2 with Wan-Teh suggestion Checked in on CVS trunk Checking in ntmisc.c; new revision: 3.27; previous revision: 3.26 Robert, in NSPR and NSS, we do not follow the practice (used elsewhere in Firefox) of "carrying forward" r+ from prior reviews. But in this case, I gave it r+ an committed it for you.
Attachment #392028 -
Flags: review+
Assignee | ||
Comment 14•15 years ago
|
||
Thanks for the checkin and info Nelson
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Target Milestone: --- → 4.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•