From: foobar Date: Sat, 23 Jun 2001 11:26:24 +0000 (+0000) Subject: fix build. X-Git-Tag: PRE_TSRM_MERGE_PATCH~368 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=087398621fb7ba06cf26c9b372f604191f3b9fb0;p=php fix build. --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index e27081c33c..fd264aadf3 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -1022,7 +1022,7 @@ int ReadJpegFile(ImageInfoType *ImageInfo, Section_t *Sections, memset(ImageInfo, 0, sizeof(*ImageInfo)); memset(Sections, 0, sizeof(*Sections)); - tmp = php_basename(FileName,strlen(FileName)); + tmp = php_basename(FileName,strlen(FileName),NULL,0); strlcpy(ImageInfo->FileName, tmp, sizeof(ImageInfo->FileName)); efree(tmp); ImageInfo->FocalLength = 0;