From 4ccfa1e9f8c99d28863b7de6f10eaf718cac49c7 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 18 Nov 2008 06:51:19 +0000 Subject: * re.c (rb_reg_desc): re might be NULL. * regerror.c (onig_error_code_to_format): message updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regerror.c') diff --git a/regerror.c b/regerror.c index d5d1f4008e..780ba94a0e 100644 --- a/regerror.c +++ b/regerror.c @@ -51,7 +51,7 @@ onig_error_code_to_format(int code) case ONIG_NO_SUPPORT_CONFIG: p = "no support in this configuration"; break; case ONIGERR_MEMORY: - p = "fail to memory allocation"; break; + p = "failed to allocate memory"; break; case ONIGERR_MATCH_STACK_LIMIT_OVER: p = "match-stack limit over"; break; case ONIGERR_TYPE_BUG: -- cgit v1.2.3