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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)
Details
Attachments
(1 file)
|
1.19 KB,
patch
|
cls
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
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.
Attachment #323850 -
Flags: review?(cls) → review+
Attachment #323850 -
Flags: superreview?(roc)
Attachment #323850 -
Flags: superreview?(roc) → superreview+
pushed to mozilla-central in changeset:
http://hg.mozilla.org/mozilla-central/index.cgi/rev/1dbb84c9bf30
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•