Req #54318 [Opn->Fbk]: Non-portable grep option used in PDO pgsql configuration
| From: | aharvey@php.net | Date: | Mon, 21 Mar 2011 03:49:04 +0000 |
| Subject: | Req #54318 [Opn->Fbk]: Non-portable grep option used in PDO pgsql configuration | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159658@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54318&edit=1
ID: 54318
Updated by: aharvey@php.net
Reported by: bwalton at artsci dot utoronto dot ca
Summary: Non-portable grep option used in PDO pgsql
configuration
-Status: Open
+Status: Feedback
Type: Feature/Change Request
-Package: *Configuration Issues
+Package: PostgreSQL related
Operating System: Solaris
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
You may have forgotten to attach the patch. :)
Previous Comments:
------------------------------------------------------------------------
[2011-03-19 17:54:24] bwalton at artsci dot utoronto dot ca
Description:
------------
The PDO/pgsql extension relies on grep -q, which isn't portable. As per
the
autoconf recommendations, the patch supplied replaces this check with
one that
discards stdout/stderr and then tests the exit status instead.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54318&edit=1