Edit report at http://bugs.php.net/bug.php?id=54318&edit=1
ID: 54318 Updated by: ahar...@php.net Reported by: bwalton at artsci dot utoronto dot ca Summary: Non-portable grep option used in PDO pgsql configuration -Status: Assigned +Status: Closed -Type: Feature/Change Request +Type: Bug Package: PostgreSQL related Operating System: Solaris PHP Version: 5.3.6 Assigned To: aharvey Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for the patch, Ben! Previous Comments: ------------------------------------------------------------------------ [2011-03-22 10:12:03] ahar...@php.net Automatic comment from SVN on behalf of aharvey Revision: http://svn.php.net/viewvc/?view=revision&revision=309545 Log: Fix bug #54318 (Non-portable grep option used in PDO pgsql configuration). Patch by Ben Walton <bwalton at artsci dot utoronto dot ca>. ------------------------------------------------------------------------ [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] ahar...@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