From e1def8a98713beef25e048c5333d418624f7d192 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 23 Jul 2007 09:39:30 +0000 Subject: * include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes some memory violation. [ruby-dev:31070] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regerror.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regerror.c') diff --git a/regerror.c b/regerror.c index d23b2b030d..b0cc71d18d 100644 --- a/regerror.c +++ b/regerror.c @@ -2,7 +2,7 @@ regerror.c - Oniguruma (regular expression library) **********************************************************************/ /*- - * Copyright (c) 2002-2006 K.Kosako + * Copyright (c) 2002-2007 K.Kosako * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -317,7 +317,7 @@ onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist) va_list args; va_init_list(args, fmt); - n = vsnprintf((char* )buf, bufsize, (const char* )fmt, args); + n = xvsnprintf((char* )buf, bufsize, (const char* )fmt, args); va_end(args); need = (pat_end - pat) * 4 + 4; -- cgit v1.2.1