Open Bug 815674 Opened 13 years ago Updated 3 years ago

PR_GetError() does not return OS error

Categories

(NSPR :: NSPR, defect)

4.9.1
defect

Tracking

(Not tracked)

People

(Reporter: mreynolds, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120826 Firefox/10.0.7 Build ID: 20120826075125 Steps to reproduce: I tried to open a file with PR_Open() that the process did not have permission to. Actual results: Permission were wrong, and the file could not be opened. However, PR_GetError() reported no errors(0) Expected results: An error 13 should been returned. If I use PR_GetOSError(), the correct error is returned, but PR_GetError() should have returned an error.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.