diff options
| author | Marcus Boerger <helly@php.net> | 2007-03-06 00:56:42 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2007-03-06 00:56:42 +0000 |
| commit | 03bccc1b15f0d78c0fbc3086f5fd152e969a40ec (patch) | |
| tree | 92d6cea9ef20ec5126212d5b07c3726f82be19c5 /ext/mbstring | |
| parent | ff3e8250834b2118ba259e2791fffffdb855c315 (diff) | |
| download | php-git-03bccc1b15f0d78c0fbc3086f5fd152e969a40ec.tar.gz | |
- MFH Revert back to sprintf (we could define snprintf for windows but we don't)
Diffstat (limited to 'ext/mbstring')
| -rw-r--r-- | ext/mbstring/oniguruma/regposerr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/oniguruma/regposerr.c b/ext/mbstring/oniguruma/regposerr.c index 26f89f223f..ca09f2f4fe 100644 --- a/ext/mbstring/oniguruma/regposerr.c +++ b/ext/mbstring/oniguruma/regposerr.c @@ -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; } |
