Closed Bug 3797 Opened 26 years ago Closed 26 years ago

getenv() should be PR_getenv()

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mcafee, Assigned: slogan)

Details

(Whiteboard: pending answer)

I'd just fix this, but tree's closed :-) gfx/gtk/nsDeviceContextSpecG.cpp:75 getenv() should be using PR_getenv(), this does things like lock the environment, etc.; and you should be able to remove the #include <stdlib.h> // Solaris line I had to add in the beginning of the file.
Target Milestone: M4
marking this M4
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
i went ahead and fixed this.
Whiteboard: pending answer
Not sure how to check for this fix. Could I get some help on what to do ?
Status: RESOLVED → VERIFIED
nothing, its a simple change. marking verified.
The test is to ensure the file to which postscript output is saved, if the user selects print to file, is based on PWD and HOME variables, in that order. Try the following: setenv PWD `pwd` start viewer go to the print dialog (i.e., File->Print...) File Name should be value of PWD variable/netscape.ps Quit setenv PWD /tmp start viewer go to the print dialog (i.e., File->Print...) File Name should be /tmp/netscape.ps Quit unset PWD echo $HOME (note result, should be your home directory) start viewer go to the print dialog (i.e., File->Print...) File Name should be value of HOME variable/netscape.ps
You need to log in before you can comment on or make changes to this bug.