Closed
Bug 97461
Opened 24 years ago
Closed 24 years ago
[PATCH]Print will crash with printer thats not ready
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.5
People
(Reporter: dcone, Assigned: dcone)
Details
(Keywords: topembed)
Attachments
(4 files)
|
6.77 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.59 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.33 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.36 KB,
patch
|
Details | Diff | Splinter Review |
If you print.. and dont have a driver.. or get a null string back from the
printer, if the printer is not ready, you get a crash.
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
there are some formating changes.. so the patch seems large, but its really not.
The thing to look for is the new line
if (0 != devnames){
}
Comment 3•24 years ago
|
||
Don, could you attach a patch with no whitespace changes (cvs diff -u -w will do
it) - thanks.
| Assignee | ||
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
Thansk Don - SR=attinasi
| Assignee | ||
Comment 7•24 years ago
|
||
I dont think so. I am checking a value returned from a windows call, which
returns true or false.. PR_TRUE is a Netscape value.. and we can define those
anyway we want..for our own calls. Also.. that is not part of the patch.
The 0 is also a value returned by a windows call.. nsnull is not guarenteed to
be 0, its just a value to check against Netscape calls. I believe that is the
correct way to use these values.
| Assignee | ||
Updated•24 years ago
|
Summary: Print will crash with printer thats not ready → [PATCH]Print will crash with printer thats not ready
Comment 8•24 years ago
|
||
r=rods, but change the 0 to NULL because that's what the documentation says the
value could come back as.
| Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.4
| Assignee | ||
Comment 10•24 years ago
|
||
| Assignee | ||
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
a=chofmann for 0.9.4
Comment 13•24 years ago
|
||
Set milestone to mozilla0.9.5 added nsbranch keyword
Keywords: nsbranch
Target Milestone: mozilla0.9.4 → mozilla0.9.5
| Assignee | ||
Comment 15•24 years ago
|
||
Checked into the 9.2 branch also
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•