зеркало из https://github.com/github/ruby.git
rb_debug_rstring_null_ptr: add newlines in the message [ci skip]
The message should end with a newline, and break the long paragraph.
This commit is contained in:
Родитель
f92f08ff23
Коммит
8f0e3a97f9
4
string.c
4
string.c
|
@ -268,9 +268,9 @@ void
|
||||||
rb_debug_rstring_null_ptr(const char *func)
|
rb_debug_rstring_null_ptr(const char *func)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s is returning NULL!! "
|
fprintf(stderr, "%s is returning NULL!! "
|
||||||
"SIGSEGV is highly expected to follow immediately. "
|
"SIGSEGV is highly expected to follow immediately.\n"
|
||||||
"If you could reproduce, attach your debugger here, "
|
"If you could reproduce, attach your debugger here, "
|
||||||
"and look at the passed string.",
|
"and look at the passed string.\n",
|
||||||
func);
|
func);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче