diff options
author | Anatol Belski <ab@php.net> | 2014-08-30 00:24:41 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-31 14:02:28 +0200 |
commit | 312181bc13d99ce089aeb16542db9f6c8a11f108 (patch) | |
tree | f1f645cab6a8e13aa13b045a77f23d328ff53f03 | |
parent | c59292570cd6dc8ba83de305526becd70e3db992 (diff) | |
download | php-git-312181bc13d99ce089aeb16542db9f6c8a11f108.tar.gz |
fix iptcembed()
-rw-r--r-- | ext/standard/iptc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c index e5e9f04483..e815c6bfb1 100644 --- a/ext/standard/iptc.c +++ b/ext/standard/iptc.c @@ -201,7 +201,7 @@ PHP_FUNCTION(iptcembed) } if (spool < 2) { - fstat(fileno(fp), &sb); + zend_fstat(fileno(fp), &sb); poi = spoolbuf = safe_emalloc(1, iptcdata_len + sizeof(psheader) + sb.st_size + 1024, 1); memset(poi, 0, iptcdata_len + sizeof(psheader) + sb.st_size + 1024 + 1); |