Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
66bd43d1
Commit
66bd43d1
authored
Jun 15, 2009
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(status_message): Fix previous change. Be sure to
decode a localized string.
parent
cb5ca9c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
src/ChangeLog
src/ChangeLog
+5
-0
src/process.c
src/process.c
+14
-5
No files found.
src/ChangeLog
View file @
66bd43d1
2009-06-15 Kenichi Handa <handa@m17n.org>
* process.c (status_message): Fix previous change. Be sure to
decode a localized string.
2009-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* xterm.c (x_delete_terminal): Put previous change in #if 0 and
...
...
src/process.c
View file @
66bd43d1
...
...
@@ -464,15 +464,24 @@ status_message (p)
if (EQ (symbol, Qsignal) || EQ (symbol, Qstop))
{
char *signame;
int c;
synchronize_system_messages_locale ();
signame = strsignal (code);
if (signame == 0)
signame = "unknown";
string = build_string (signame);
string = build_string ("unknown");
else
{
int c1, c2;
string = make_unibyte_string (signame, strlen (signame));
if (! NILP (Vlocale_coding_system))
string = (code_convert_string_norecord
(string, Vlocale_coding_system, 0));
c1 = STRING_CHAR ((char *) SDATA (string), 0);
c2 = DOWNCASE (c1);
if (c1 != c2)
Faset (string, 0, make_number (c2));
}
string2 = build_string (coredump ? " (core dumped)\n" : "\n");
c = STRING_CHAR ((char *) SDATA (string), 0);
Faset (string, 0, make_number (DOWNCASE (c)));
return concat2 (string, string2);
}
else if (EQ (symbol, Qexit))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment