Closed
Bug 3797
Opened 26 years ago
Closed 26 years ago
getenv() should be PR_getenv()
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
M4
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.
Reporter | ||
Updated•26 years ago
|
Target Milestone: M4
Reporter | ||
Comment 1•26 years ago
|
||
marking this M4
Updated•26 years ago
|
Whiteboard: pending answer
Comment 3•26 years ago
|
||
Not sure how to check for this fix. Could I get some help on what to do ?
Updated•26 years ago
|
Status: RESOLVED → 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.
Description
•