Problem/Motivation
Now we use the construction: dirname(dirname(dirname(dirname(__DIR__)))). Much better and nicer is to have: dirname(__DIR__, 4).
Proposed resolution
Change multiple dirname()'s into a single dirname() with the use of the second parameter of dirname().
Now we have something like: dirname(dirname(dirname(dirname(__DIR__)))).
It is better and nicer to have it change to: dirname(__DIR__, 4).
Remaining tasks
TBD
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
None
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff.txt | 3.32 KB | Lal_ |
| #6 | 3129508-5.patch | 20.36 KB | Lal_ |
Comments
Comment #2
Lal_Comment #3
daffie commented@Lal_ Did you use the 9.1.x branch for your patch and did you do a "git pull" before you start making your patch?
Comment #4
daffie commentedThe changes in the patch look good. Just one nitpick:
Please add a space between the comma and to number 2.
Comment #5
suresh prabhu parkala commentedThere was an error while applying the patch for 9.1.x. Here is the updated patch. Please review!
Comment #6
Lal_Comment #7
Lal_@suresh I missed few places adding the interdiff wrt to #2 and #6
Comment #8
daffie commentedAll code changes look good.
Tested that all double or more usages are changed.
For me it is RTBC.
Comment #11
catchCommitted/pushed to 9.1.x and 9.0.x, thanks!
Does not apply to 8.9.x, since it's functionally the same I think it's OK if we don't backport, but it could go into 8.9.x during beta if people really want to.