Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdded environment variable resolution to the include directive in a config file #200
Conversation
@@ -138,7 +138,11 @@ | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Unicode|Win32'"> | |||
<Link> | |||
<AdditionalDependencies>Qt5Cored.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
<AdditionalLibraryDirectories>C:\Qt\5.6.0\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
wilx
Oct 6, 2016
Contributor
Do not add the changes to the Visual Studio project files to the pull request.
Do not add the changes to the Visual Studio project files to the pull request.
@@ -140,6 +140,7 @@ namespace log4cplus { | |||
|
|||
// Methods | |||
void init(log4cplus::tistream& input); | |||
bool substitueEnvVariables(tstring &fileName, tstring &modFileName); |
wilx
Oct 6, 2016
Contributor
Please remote all tabs from the source.
Please remote all tabs from the source.
@@ -786,7 +768,6 @@ Global | |||
{7EFABA06-71CD-498F-BF10-C41A7D2DCF3B} = {92DEA81D-81ED-4283-BBC7-41975647F69E} | |||
{AE4CF05D-9770-4BF2-BB73-1DA37E2A1508} = {92DEA81D-81ED-4283-BBC7-41975647F69E} | |||
{C0C6F651-99D8-404E-B2EC-507B261E820C} = {DAFB5F7D-6AF3-4D4F-B6D3-C1049A1259DA} | |||
{18B64AA1-A2F7-46BE-8D48-7882AA471FA9} = {DAFB5F7D-6AF3-4D4F-B6D3-C1049A1259DA} |
wilx
Oct 6, 2016
Contributor
Do not add the changes to the Visual Studio project files to the pull request.
Do not add the changes to the Visual Studio project files to the pull request.
{ | ||
tstring included (buffer, 8) ; | ||
trim_ws (included); | ||
else if (buffer.compare(0, 7, LOG4CPLUS_TEXT("include")) == 0 |
wilx
Oct 6, 2016
•
Contributor
Remove tabs.
Remove tabs.
|
||
init (file); | ||
} | ||
} | ||
} | ||
|
||
bool | ||
Properties::substitueEnvVariables(tstring &fileName, tstring &modFileName) |
wilx
Oct 6, 2016
Contributor
I am not sure that we need a new function for this. There is already a function substVars()
in configurator.cxx
. It seems it should be used here as well. If so, you can probably move it from anonymous namespace into internal
namespace and make it visible to the property.cxx
and use it there.
I am not sure that we need a new function for this. There is already a function substVars()
in configurator.cxx
. It seems it should be used here as well. If so, you can probably move it from anonymous namespace into internal
namespace and make it visible to the property.cxx
and use it there.
Sorry about the changes in the visual studio projects. I’m new to Git, and it’s a little different from other CMS packages. I’ll look into your suggestion about substVars() log4cplus/src/configurator.cxx Line 102 in 078ee67 For now, just reject the pull request. Regards, From: Václav Haisman [mailto:[email protected]] @wilx requested changes on this pull request. In msvc14/Qt5DebugAppender.vcxprojhttps://github.com//pull/200#pullrequestreview-3201271:
Do not add the changes to the Visual Studio project files to the pull request. In include/log4cplus/helpers/property.hhttps://github.com//pull/200#pullrequestreview-3201271:
Please remote all tabs from the source. In msvc14/log4cplus.slnhttps://github.com//pull/200#pullrequestreview-3201271:
Do not add the changes to the Visual Studio project files to the pull request. In src/property.cxxhttps://github.com//pull/200#pullrequestreview-3201271:
Remove tabs. In src/property.cxxhttps://github.com//pull/200#pullrequestreview-3201271:
} +bool +Properties::substitueEnvVariables(tstring &fileName, tstring &modFileName) I am not sure that we need a new function for this. There is already a function substVars() log4cplus/src/configurator.cxx Line 102 in 078ee67 — |
Added environment variable resolution to the include directive in a config file