diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2007-02-27 03:28:17 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2007-02-27 03:28:17 +0000 |
| commit | efad70c2cc2edd8416a18ea6daf06f8627d1d68d (patch) | |
| tree | 0a59c0e22bb3b224433600d86b8430276ed87b45 /ext/pcre | |
| parent | cc04404b28d10481f63be986fe815de1fe31088b (diff) | |
| download | php-git-efad70c2cc2edd8416a18ea6daf06f8627d1d68d.tar.gz | |
snprintf() -> slprintf()
Diffstat (limited to 'ext/pcre')
| -rw-r--r-- | ext/pcre/pcrelib/pcregrep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/pcregrep.c b/ext/pcre/pcrelib/pcregrep.c index 4db73485d6..e5ceec3ace 100644 --- a/ext/pcre/pcrelib/pcregrep.c +++ b/ext/pcre/pcrelib/pcregrep.c @@ -1188,7 +1188,7 @@ if ((sep = isdirectory(pathname)) != 0) while ((nextfile = readdirectory(dir)) != NULL) { int frc, blen; - blen = snprintf(buffer, sizeof(buffer), "%.512s%c%.128s", pathname, sep, nextfile); + blen = slprintf(buffer, sizeof(buffer), "%.512s%c%.128s", pathname, sep, nextfile); if (exclude_compiled != NULL && pcre_exec(exclude_compiled, NULL, buffer, blen, 0, 0, NULL, 0) >= 0) |
