Closed
Bug 154052
Opened 23 years ago
Closed 21 years ago
macos(x) PR_GetEnv should (runtime) use getenv/putenv if they work and _MD_GetEnv/_MD_PutEnv otherwise
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
4.6
People
(Reporter: timeless, Assigned: wtc)
References
Details
bug 120866 comment 70 and bug 120866 comment 71 indicate that of course the
GetEnv doesn't get the environment in MacOS Carbon builds running under MacOSX.
Either getenv and setenv always work for MacOS8.1+ or they work at least under
macosx. If the latter, then at nspr init, we can do:
if (work){
_MD_GET_ENV = getenv;
_MD_SET_ENV = setenv;
} else {
_MD_GET_ENV = _MD_GetEnv;
_MD_SET_ENV = _MD_SetEnv;
}
getenv and setenv exist in
MPW-GM\Interfaces&Libraries\Interfaces\CIncludes\stdlib.h
http://developer.apple.com/technotes/tn/tn1176.html#stdclib
| Assignee | ||
Comment 1•21 years ago
|
||
Marked the bug WONTFIX. We don't do MacOS Carbon builds
any more.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Target Milestone: --- → 4.6
You need to log in
before you can comment on or make changes to this bug.
Description
•