Closed Bug 209226 Opened 21 years ago Closed 21 years ago

String constants in mork should be char arrays

Categories

(MailNews Core :: Database, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ataylor, Assigned: ataylor)

Details

(Keywords: memory-footprint)

Attachments

(1 file)

String constants in mork should be character arrays rather than character
pointers wherever possible.  This saves a pointer variable per string, plus a
relocation record for PIC code (at least on linux).
Here is a simple patch to convert the character pointer string constants into
character arrays.
Comment on attachment 125532 [details] [diff] [review]
Changes char pointers to char arrays

as always, nice work! r/sr=alecf
Attachment #125532 - Flags: superreview+
Patch checked in.
This is checked in, marking bug fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: