Req #54318 [Fbk->Asn]: Non-portable grep option used in PDO pgsql configuration
| From: | aharvey@php.net | Date: | Tue, 22 Mar 2011 08:45:46 +0000 |
| Subject: | Req #54318 [Fbk->Asn]: Non-portable grep option used in PDO pgsql configuration | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159694@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: Feedback
+Status: Assigned
Type: Feature/Change Request
Package: PostgreSQL related
Operating System: Solaris
PHP Version: 5.3.6
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-03-21 14:21:11] bwalton at artsci dot utoronto dot ca
Sorry, I got turned around in the bug tracker and thought I had properly
submitted the patch. I've re-attached it now.
Thanks
-Ben
------------------------------------------------------------------------
[2011-03-21 04:49:04] aharvey@php.net
You may have forgotten to attach the patch. :)
------------------------------------------------------------------------
[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