[TYPO3-core] RFC #12547: Bug: Default paths for Windows are not properly defined
Francois Suter
fsu-lists at cobweb.ch
Thu Nov 19 00:12:19 CET 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=12547
Branches:
Trunk (4.2?)
Problem:
This bug appeared for someone while looking at the new "Installed
services" report. In the list of binary search paths on a Windows
server, paths like /usr/bin/ and /perl/bin/ are searched for (and not
found, obviously).
This is actually a Core bug, which comes from method
t3lib_exec::_getPaths() which had a TODO mentioning that proper default
paths for Windows should be defined.
Solution:
The attached patch defines C:/Windows/ and C:/WINDOWS/System32/ as
default paths for Windows. Open questions are:
1) should other paths be added for this platform?
2) are there issues with case-sensitivity?
As I don't have a Windows machine I can't test in more details.
Notes:
I don't know if this patch should be applied to older branches. I leave
that up to the respective RMs. It's definitely not critical, so I
wouldn't bother.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug12547.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091119/90cc2a64/attachment.asc>
More information about the TYPO3-team-core
mailing list