Closed
Bug 125341
Opened 24 years ago
Closed 24 years ago
AIX bustage due the |char*|-->|const char*|-changes in bug
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: roland.mainz, Assigned: roland.mainz)
Details
Attachments
(1 file, 1 obsolete file)
|
601 bytes,
patch
|
roland.mainz
:
review+
|
Details | Diff | Splinter Review |
AIX tinderbox "torino" is RED
(http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Ports/1013543460.23067.gz)
due checkin of bug 120916 ("PostScript/Xprint module revamp"). It looks that the
AIX compiler is somehow very picky about the |char*|-->|const char*|-changes in
those patches.
Currently "torino" is down do other issues (machine broken ?!), I'll have to
wait until the machine is "up" again until I can checkin a fix.
Question:
- Who is right ? The AIX-compiler or {gcc, Sun Workshop, Mac compilers, etc.
...} ? Am I allowed to |delete my_const_char_ptr;| ?
fyi: torino was down due to a system issue.
It is now back up and running.
Summary: AIX bustage due the |char*|-->|const char*|-changes in bug → AIX bustage due the |char*|-->|const char*|-changes in bug
NOTE this was fixed back in revision 1.7 already so I think we just have
to make mNotice a char * and not a const char *
| Assignee | ||
Comment 3•24 years ago
|
||
Comment on attachment 69493 [details] [diff] [review]
quick patch to fix aix bustage
r=Roland.Mainz@informatik.med.uni-giessen.de
Could you add a comment in the line which says something like "don't try to
make this |const| or the AIX compiler will bite you...|, please ? :)
Attachment #69493 -
Flags: review+
Attachment #69493 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•24 years ago
|
||
Comment on attachment 69502 [details] [diff] [review]
updated patch, commented and with correct spaces
r=Roland.Mainz@informatik.med.uni-giessen.de
Attachment #69502 -
Flags: review+
| Assignee | ||
Comment 6•24 years ago
|
||
Fix checked in, marking bug as FIXED.
----
jdunn:
Can you verify, please ?
Status: NEW → RESOLVED
Closed: 24 years ago
QA Contact: sujay → jdunn
Resolution: --- → FIXED
Wouldn't it have made more sense to change:
mPSFontInfo->mNotice = GetAFMString();
// we really dont want to keep this around...
delete [] mPSFontInfo->mNotice;
mPSFontInfo->mNotice = 0;
to:
delete GetAFMString();
mPSFontInfo->mNotice = 0;
(Not that this code isn't full of leaks everywhere else...)
You need to log in
before you can comment on or make changes to this bug.
Description
•