Closed Bug 15738 Opened 27 years ago Closed 27 years ago

PR_GetSystemInfo does not return the name of runtime OS

Categories

(NSPR :: NSPR, defect, P3)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: srinivas, Assigned: srinivas)

References

Details

The SYSNAME command of the PR_GetSystemInfo function returns the name of the OS on which the NSPR library was built, instead of returning the name of the runtime OS.
There is another bug; for Windows platforms, the PR_SI_RELEASE command is not processed. The input buffer is returned unmodified. NSPR is now modified to call GetVersionEx to obtain the system name and release number on Windows platforms. The system name is now reported by the Win32 version of NSPR as "Windows_NT", "Windows_98" and "Windows_95" for NT, Win98 and Win95 platforms, repsectively Files modified: include/md/_pcos.h, rev 2.8 include/md/_unixos.h, rev 2.35 include/private/primpl.h, rev 2.61 src/md/unix/unix.c, rev 2.66 src/md/windows/ntmisc.c, rev 2.14 src/misc/prsystem.c, rev 2.5
*** Bug 15143 has been marked as a duplicate of this bug. ***
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
The fix is checked into the mozilla tip.
Blocks: 10465
You need to log in before you can comment on or make changes to this bug.