mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Merge branch 'pull-request/1235'
* pull-request/1235: modify skeleton confirm_extname_compiled modify skeleton.c function
This commit is contained in:
commit
80bd148cc9
@ -37,16 +37,15 @@ PHP_FUNCTION(confirm_extname_compiled)
|
||||
{
|
||||
char *arg = NULL;
|
||||
size_t arg_len, len;
|
||||
char *strg;
|
||||
zend_string *strg;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &arg, &arg_len) == FAILURE) {
|
||||
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_STRINGL(strg, len);
|
||||
efree(strg);
|
||||
RETURN_STR(strg);
|
||||
}
|
||||
/* }}} */
|
||||
/* The previous line is meant for vim and emacs, so it can correctly fold and
|
||||
|
Loading…
Reference in New Issue
Block a user