com php-src: modify skeleton confirm_extname_compiled: ext/skeleton/skeleton.c

From: Date: Sun, 12 Apr 2015 12:59:11 +0000
Subject: com php-src: modify skeleton confirm_extname_compiled: ext/skeleton/skeleton.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86382@lists.php.net to get a copy of this message
Commit: 73a0c96ac3369e301e69c1cf65c1c77d0ad22837 Author: 王星星 <xingxingwang@anjuke.com> Sun, 12 Apr 2015 20:59:11 +0800 Parents: 22bef96315fb2616745aeae0bede5167b011df33 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=73a0c96ac3369e301e69c1cf65c1c77d0ad22837 Log: modify skeleton confirm_extname_compiled Changed paths: M ext/skeleton/skeleton.c Diff: diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c index 6ff69a5..1fe049c 100644 --- a/ext/skeleton/skeleton.c +++ b/ext/skeleton/skeleton.c @@ -43,10 +43,9 @@ PHP_FUNCTION(confirm_extname_compiled) return; } - len = spprintf(&strg, 0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg); + strg = strpprintf(0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg); - RETVAL_STRING(strg, len); - efree(strg); + RETURN_STR(strg); } /* }}} */ /* The previous line is meant for vim and emacs, so it can correctly fold and

« previous php.cvs (#86382) next »