Re: cvs: php-src(PHP_5_1) /ext/iconv config.m4
| From: | Antony Dovgal | Date: | Thu, 13 Oct 2005 20:52:25 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_1) /ext/iconv config.m4 | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-34589@lists.php.net to get a copy of this message | ||
On 14.10.2005 00:48, Jani Taskinen wrote:
On Thu, 13 Oct 2005, Antony Dovgal wrote:So.. Are you going to change all the -o's to || everywhere ? -- Wbr, Antony DovgalOn 13.10.2005 23:28, Jani Taskinen wrote:Just curious: what's the problem with -o ? There are a lot of -o all over the sources: find . -name "config.m4" | xargs grep -nH "\-o" | wc -l 51- for i in /usr /usr/local; do - if test -f "$i/include/iconv.h" -o test -f "$i/include/giconv.h"; then + for i in /usr/local /usr; do + if test -f "$i/include/iconv.h" || test -f "$i/include/giconv.h"; thenSomeone claimed -o is not supported in all 'test' implementations. Using || is a bit clearer too and definately supported.