mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
- MFH Revert back to sprintf (we could define snprintf for windows but we don't)
This commit is contained in:
parent
ff3e825083
commit
03bccc1b15
@ -76,7 +76,7 @@ regerror(int posix_ecode, const regex_t* reg, char* buf, size_t size)
|
||||
s = "";
|
||||
}
|
||||
else {
|
||||
snprintf(tbuf, sizeof(tbuf), "undefined error code (%d)", posix_ecode);
|
||||
sprintf(tbuf, sizeof(tbuf), "undefined error code (%d)", posix_ecode);
|
||||
s = tbuf;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user