Re: cvs: peclweb /public_html release-upload.php
| From: | Andrey Hristov | Date: | Fri, 10 Sep 2004 08:51:20 +0000 |
| Subject: | Re: cvs: peclweb /public_html release-upload.php | ||
| References: | 1 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-1808@lists.php.net to get a copy of this message | ||
Won't this break extensions that are written in C++.
pecl/rar has not even one .c file, everything is .cpp
Andrey
Wez Furlong wrote:
wez Fri Sep 10 04:42:43 2004 EDTModified files: /peclweb/public_html release-upload.php Log:use the actual filename... http://cvs.php.net/diff.php/peclweb/public_html/release-upload.php?r1=1.33&r2=1.34&ty=u Index: peclweb/public_html/release-upload.php diff -u peclweb/public_html/release-upload.php:1.33 peclweb/public_html/release-upload.php:1.34 --- peclweb/public_html/release-upload.php:1.33 Fri Sep 10 04:41:23 2004 +++ peclweb/public_html/release-upload.php Fri Sep 10 04:42:42 2004 @@ -15,7 +15,7 @@+----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+- $Id: release-upload.php,v 1.33 2004/09/10 08:41:23 wez Exp $ + $Id: release-upload.php,v 1.34 2004/09/10 08:42:42 wez Exp $ */ auth_require(); @@ -84,7 +84,7 @@ $tar = new Archive_Tar($distfile); $contains_C = false; foreach ($tar->listContent() as $file_in_tar) { - if (substr($file_in_tar, -2) == ".c") { + if (substr($file_in_tar['filename'], -2) == ".c") { $contains_C = true; break; }