Opened 4 years ago
Last modified 4 years ago
#258 new todo
Review new implementation of `Win32OperatingSystem >> pathOfCommand:`
Reported by: | Jan Vrany | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | default | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | no |
Description
I have rewritten Win32OperatingSystem >> pathOfCommand:
but I'm not much
of a Windows expert. This patch should be reviewed.
Patrik, can you have a look?
Attachments (1)
Note: See
TracTickets for help on using
tickets.
I have taken a look. It is better than the previous implementations.
Here are my comments (of the patch):
search := Array with: Filename currentDirectory.
perhaps as it grows with the information from
PATH
(which could be rather large) and theHKEY_CURRENT_USER\Environment
theArray
should beOrderedCollection
:search := OrderedCollection with: Filename currentDirectory.
aboce
should beabove
OperatingSystem pathOfCommand:'cvs'
Other than these the code looks fine to me.