diff options
Diffstat (limited to 'ext/exif/exif.c')
-rw-r--r-- | ext/exif/exif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c index e84322e751..fce8281d95 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -973,7 +973,7 @@ int ReadJpegFile(ImageInfoType *ImageInfo, Section_t *Sections, int ret; char *tmp; - infile = V_FOPEN(FileName, "rb"); /* Unix ignores 'b', windows needs it. */ + infile = VCWD_FOPEN(FileName, "rb"); /* Unix ignores 'b', windows needs it. */ if (infile == NULL) { php_error(E_ERROR, "Unable to open '%s'", FileName); @@ -1002,7 +1002,7 @@ int ReadJpegFile(ImageInfoType *ImageInfo, Section_t *Sections, { /* Store file date/time. */ struct stat st; - if (V_STAT(FileName, &st) >= 0) { + if (VCWD_STAT(FileName, &st) >= 0) { ImageInfo->FileDateTime = st.st_mtime; ImageInfo->FileSize = st.st_size; } else { |