PR_Listen does not set error codes when it fails on Windows and OS/2

RESOLVED FIXED in 4.2

Status

NSPR
NSPR
P2
minor
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Wan-Teh Chang, Assigned: Wan-Teh Chang)

Tracking

4.1.2
x86
Windows 98

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

16 years ago
The "WIN95" and OS/2 implementations of PR_Listen() don't set
the error codes when PR_Listen() fails.

This is a minor problem, especially for client applications,
who don't usually call PR_Listen().
(Assignee)

Comment 1

16 years ago
Created attachment 66474 [details] [diff] [review]
Proposed patch for "WIN95"
(Assignee)

Comment 2

16 years ago
The "WIN95" patch has been tested and checked into the tip of NSPR.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → 4.2
Created attachment 66505 [details] [diff] [review]
patch for OS/2

How about this for OS/2?
(Assignee)

Comment 4

16 years ago
Javier,

Your patch looks good.  I checked it in after minor editing.
Thanks!
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
(Assignee)

Updated

16 years ago
Blocks: 129902
You need to log in before you can comment on or make changes to this bug.