Closed Bug 487255 Opened 11 years ago Closed 11 years ago

sdb.c uses POSIX file IO Functions on WinCE, which doesn't have them

Categories

(NSS :: Libraries, defect, P1, blocker)

3.12.3
ARM
Windows Mobile 6 Professional
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.12.4

People

(Reporter: wolfe, Assigned: rrelyea)

Details

(Keywords: mobile, Whiteboard: FIPS)

Attachments

(1 file)

WinCE has not POSIX File IO functions, and has no "chmod" function - since file attributes are handled differently from LINUX systems.

security/nss.lib/softoken/sdb.c calls the "chmod() function API.

This call to chmod needs to be #ifdef'ed out of WinCE builds, or we receive a "function not found" error during linking nss3.dll
Attachment #371488 - Flags: review?(bugmail)
this appears to be from bug 463452
Assignee: nobody → rrelyea
Severity: normal → blocker
Priority: -- → P1
Summary: WinCE has no POSIX File IO Functions (sdb.c broken) → sdb.c uses POSIX file IO Functions on WinCE, which doesn't have them
Whiteboard: FIPS
Target Milestone: --- → 3.12.4
Version: unspecified → 3.12.3
Attachment #371488 - Flags: review?(bugmail) → review?(rrelyea)
Comment on attachment 371488 [details] [diff] [review]
v1.0 patch in HG format

John, please request review from NSS peers.  
Thanks.
Attachment #371488 - Flags: review?(rrelyea) → review+
Comment on attachment 371488 [details] [diff] [review]
v1.0 patch in HG format

r+ rrelyea
I presume Jon will need an NSS team member to check this in.

bob
Yes, please do the checkins for all today's new WinCE bugs.
Checking in util/nssutil.h;     new revision: 1.3;  previous revision: 1.2
Checking in softoken/sdb.c;     new revision: 1.12; previous revision: 1.11
Checking in softoken/sftkmod.c; new revision: 1.5;  previous revision: 1.4
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.