Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0bcbaaaa
Commit
0bcbaaaa
authored
Jun 09, 2009
by
Chong Yidong
Browse files
* process.c (status_message): Fix handling of multibyte signal
string (Bug#3499).
parent
1f80c7e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/process.c
src/process.c
+3
-1
No files found.
src/ChangeLog
View file @
0bcbaaaa
2009-06-09 Dmitry Dzhus <dima@sphinx.net.ru> (tiny change)
* process.c (status_message): Fix handling of multibyte signal
string (Bug#3499).
2009-06-09 Jim Meyering <meyering@redhat.com>
* xfaces.c (Fx_load_color_file): Avoid array bounds error if the
...
...
src/process.c
View file @
0bcbaaaa
...
...
@@ -464,13 +464,15 @@ 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);
string2 = build_string (coredump ? " (core dumped)\n" : "\n");
SSET (string, 0, DOWNCASE (SREF (string, 0)));
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