Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2009 at 18:11 UTC
Updated:
5 Nov 2009 at 03:40 UTC
Jump to comment: Most recent file
ereg_* functions give deprecation warnings under PHP 5.3. This patch replaces them with the equivalent preg_* function. I hope this is as straightforward as it looked.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | ereg-2.patch | 2.33 KB | thisgeek |
| ereg.patch | 2.23 KB | ludovicofischer |
Comments
Comment #1
moshe weitzman commentedAnyone available to review this. Especially check that the log_messages changes work properly.
Comment #2
designerbrent commentedThis patch seems to work for me
Comment #3
thisgeek commentedDefinitely an improvement, but now I get a warning in place of the error:
It seems to be unhappy with line 423 of the same file:
$files = drush_scan_directory($path, '\.drush\.inc$');Comment #4
moshe weitzman commentedcan someone comment on this error report?
Comment #5
droplet commentedconvert that to
Comment #6
moshe weitzman commentedcan anyone confirm?
Comment #7
thisgeek commenteddroplet seems to have fixed the problem I was having. I didn't run a full test, but all of the tasks I usually run work as I expect them to.
Comment #8
thisgeek commentedComment #9
moshe weitzman commentedcommitted. thanks.
Comment #10
moshe weitzman commented