ruby-changes:71234
From: Nobuyoshi <ko1@a...>
Date: Mon, 21 Feb 2022 16:22:52 +0900 (JST)
Subject: [ruby-changes:71234] 8f0e3a97f9 (master): rb_debug_rstring_null_ptr: add newlines in the message [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=8f0e3a97f9 From 8f0e3a97f9f3e2f5b35dd3d34ab8d7c09261916e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 21 Feb 2022 16:20:12 +0900 Subject: rb_debug_rstring_null_ptr: add newlines in the message [ci skip] The message should end with a newline, and break the long paragraph. --- string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string.c b/string.c index 37dca19aa7..b879e417b8 100644 --- a/string.c +++ b/string.c @@ -268,9 +268,9 @@ void https://github.com/ruby/ruby/blob/trunk/string.c#L268 rb_debug_rstring_null_ptr(const char *func) { 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, " - "and look at the passed string.", + "and look at the passed string.\n", func); } -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/