Closed
Bug 93331
Opened 23 years ago
Closed 23 years ago
Printing broken on OpenVMS
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: colin, Assigned: dcone)
Details
(Whiteboard: awaiting super-review)
Attachments
(3 files)
1.02 KB,
patch
|
Details | Diff | Splinter Review | |
1.02 KB,
patch
|
Details | Diff | Splinter Review | |
1.20 KB,
patch
|
Details | Diff | Splinter Review |
A recent change in nsPostScriptObj.cpp broke printing on OpenVMS (the OpenVMS
code got put into an else clause that never gets executed).
I have a patch and will submit it. Can someone check it in to the trunk?
Reporter | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
can you paste in the snippet of code.. not the diffs so I can see what
happened.. I can tell from that diff.. and the patch utility, well I have never
been able to get that to work consistently.. because of all different versions..
etc..
Reporter | ||
Comment 3•23 years ago
|
||
The {} for the else got added around the VMS ifdef. That's the problem!
Assignee | ||
Comment 4•23 years ago
|
||
r=dcone
Reporter | ||
Comment 5•23 years ago
|
||
Attaching new (identical) patch for the trunk. Note that the only functional
change is to move the closing paren; the rest of the changes are just playing
with the indentation.
Will mail Brendan for a super-review.
Reporter | ||
Comment 6•23 years ago
|
||
Reporter | ||
Updated•23 years ago
|
Whiteboard: awaiting super-review
Comment 7•23 years ago
|
||
Use PR_snprintf() to avoid buffer overrun.
Reporter | ||
Comment 8•23 years ago
|
||
Comment 9•23 years ago
|
||
Thanks, only one more question...do we leak |mPrintSetup->filename| on every
platform but OpenVMS? Or are we free()-ing it twice here? ;-)
Reporter | ||
Comment 10•23 years ago
|
||
On OpenVMS, if we're dealing with a real printer, then filename gets set to
an address that comes back from tempnam(). This needs free'ing. On other
platforms the contents of filename shouldn't be free'd.
Reporter | ||
Comment 11•23 years ago
|
||
Chris, could I trouble you for an sr= on this one?
Thanks, Colin.
Comment 12•23 years ago
|
||
gotcha, sr=waterson
Reporter | ||
Comment 13•23 years ago
|
||
Checked in. Marking fixed.
For the record, its fixed on the trunk (M0.9.4). I fixed my local M0.9.3 build
before submitting the OpenVMS M0.9.3 build to Mozilla/Compaq.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 14•23 years ago
|
||
Colin, can you verify this and mark this bug VERIFIED? thanks..
You need to log in
before you can comment on or make changes to this bug.
Description
•