Closed Bug 158266 Opened 23 years ago Closed 23 years ago

Mach-o build should use mac locale code

Categories

(Core :: Internationalization, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

Details

(Keywords: intl)

Attachments

(1 file, 1 obsolete file)

Currently the mach-o build is using the unix locale code. It should probably be using the Mac locale code.
Attached patch patch (obsolete) — Splinter Review
Tested that this compiles on mach-o and classic cfm builds. Not sure how to verify the functionality though.
Patch looks good, though it would be nice to be able to avoid the extra alloctions. Since we know we're appending 2 pascal strings + 2, a stack buffer of 514 bytes should always be enough.
Yes, that's true. I was trying to avoid wasting space. But since it's temporary and not all that large, it should be ok.
Attachment #91929 - Attachment is obsolete: true
code issue? QA -> yokoyama for now.
Keywords: intl
QA Contact: ruixu → yokoyama
Comment on attachment 92031 [details] [diff] [review] use a stack buffer sr=sfraser
Attachment #92031 - Flags: superreview+
Comment on attachment 92031 [details] [diff] [review] use a stack buffer r=pink
Attachment #92031 - Flags: review+
Comment on attachment 92031 [details] [diff] [review] use a stack buffer a=asa (on behalf of drivers) for checkin to 1.1
Attachment #92031 - Flags: approval+
Checked into the trunk. Do we want this on the Chimera branch now, or should we wait until the next time we move the branch?
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: