Closed Bug 15143 Opened 27 years ago Closed 27 years ago

PR_GetSystemInfo() on NT says Win95

Categories

(NSPR :: NSPR, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 15738

People

(Reporter: phil, Assigned: wtc)

Details

While filing a bug, I happened to notice that bugzilla thinks that I'm on Win95, when I'm really on NT. Fishing through the code, it looks like nsIOService::GetUserAgent() gets this from NSPR, which uses a #define for _PR_SI_SYSNAME. On Windows, we probably need to consult runtime information to find out what rev of Windows we're running. Not sure if this is really an NSPR bug, or a misuse of NSPR by nsIOService, but I'll start with warren.
This is a known problem of PR_GetSystemInfo(). See Judson Valeski's comments at 09/13/99 11:41 in Bugzilla bug #10465. This bug can probably be resolved as a duplicate of bug #10465. Alternatively, since there isn't a bug report for this PR_GetSystemInfo() problem yet, you can change the "Product" to "NSPR" and modify the "Summary" accordingly.
Assignee: warren → valeski
Judson should look at this.
Assignee: valeski → wtc
Component: Necko → NSPR
Product: Browser → NSPR
Summary: UserAgent for NT says Win95 → PR_GetSystemInfo() on NT says Win95
made appropriate changes and assigned to wan-teh.
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 15738 ***
Status: RESOLVED → VERIFIED
Vefified as a dup.
You need to log in before you can comment on or make changes to this bug.