spring: develop de02ffd4 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
hoijui | hoijui | develop | 2010-01-20 12:03:48 | develop c47656bd |
Changeset | mockup of data-dir assembling code Windows: It should be equal to how it was so far, just more clear (better docu and function names) Linux: Fixes an issue where spring and unitsync.so did not deliver the same list of paths; in detail: For executables (eg. spring binary), fetching the base dir from within code is ugly and not portable; will probably fail on FreeBSD and older Linux versions. For modules (eg. libunitsync.so), fetching the base dir from within code is not possible. Additionally, we usually (but not always, eg. test compiles) have unitsync in a different dir then the spring binary. This makes it nearly impossible to have the two end up with an equal set of data-dirs, if bin base dirs were used. Therefore, and cause it is generally a bad idea under linux (guess the reasons for this are clear now): No binary base firs are used anymore under Linux! Mac OS X: should be as it was before. Would be nice if functions in Misc.cpp would get implemented. |
|||
mod - rts/System/FileSystem/DataDirLocater.cpp | [ Diff ] [ File ] |