Closed Bug 437373 Opened 18 years ago Closed 18 years ago

Unable to debug firefox with "./firefox -g -d dbx" in Chinese locale

Categories

(Core Graveyard :: Cmd-line Features, defect)

x86
OpenSolaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

Attachments

(1 file)

Use Chinese locale, and run ./firefox -g -d dbx I got an error message "Could not find a debugger on your system."
In bourne shell, if I do "type dbx" in Chinese locale. I got "dbx是/opt/SUNWspro/bin/dbx" "是“ means "is". In Chinese, we don't add whitespace between words. So "type ${d} | awk '{print $3;}' | sed -e 's/\.$//'" would fail. I suggest we add "LC_MESSAGES=C" before "type". It also works for bash and Linux.
Attached patch patch — — Splinter Review
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #323850 - Flags: review?(cls)
Attachment #323850 - Flags: review?(cls) → review+
Attachment #323850 - Flags: superreview?(roc)
Attachment #323850 - Flags: superreview?(roc) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: