Marc-André Moreau
8ef4c14a6d
libwinpr-environment: fix extended functions
2014-10-10 19:16:51 -04:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Bernhard Miklautz
02c4e261d1
winpr-env: update Get/SetEnvironmentVariableA
...
* set last error to ERROR_ENVVAR_NOT_FOUND in GetEnvironmentVariableA
if not found
* remove unused variables in SetEnvironmentVariableA
* add more test cases
2014-04-17 11:48:50 +02:00
Martin Haimberger
a6c34c114e
using setenv instead of putenv to prevent memleaks
2014-04-11 02:17:43 -07:00
Bernhard Miklautz
297247042d
winpr-env: fix in GetEnvironmentVariableEBA
...
* also fix cases where the provided env block is NULL
2014-02-20 18:29:16 +01:00
Bernhard Miklautz
591a8192e0
winpr-env: fix in GetEnvironmentVariableEBA
...
GetEnvironmentVariableEBA didn't do exact matching of the requested variable name. If a variable
with similar but shorter name was set in the environment block it was returned.
For example if HOME was set in the environment block and HOMEX was requested the value of HOME was
returned.
2014-02-14 11:12:21 +01:00
Bernhard Miklautz
ee5814cbc2
winpr-env: extended GetSetEB ctest
...
Check if Get function only returns values for the exact variable name
2014-02-14 11:12:21 +01:00
Bernhard Miklautz
909800eca0
winpr: fixed problems Set/GetEnvironmentVariableEBA
...
* valgrind: fixed invalid read
* invalid or damaged environment blocked caused endless loop
* envblock created in SetEnvironmentVariableEBA lacked a trailing '\0'
which could lead to a damaged environment block
2014-02-13 14:31:11 +01:00
Marc-André Moreau
62199fc46a
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-12-10 11:54:03 -05:00
Bernhard Miklautz
2b6b4a6685
updated file headers
2013-12-04 11:44:22 +01:00
Marc-André Moreau
cea8c08328
ifreerdp: fix iOS/OSX platform detection
2013-12-03 15:19:58 -05:00
Marc-André Moreau
d5f18e88cc
libwinpr-environment: fix usage of environ on OS X
2013-12-03 00:52:02 -05:00
Marc-André Moreau
938d423ec9
freerdp: fix build on Windows
2013-10-30 17:56:44 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
fb4ac3b5dd
Merge pull request #13 from MartinHaimberger/EnvMerge
...
added merge function for environmentblocks
2013-10-24 11:04:09 -07:00
Martin Haimberger
8479462b5e
changed the interface of SetEnvironmentVariableEBA
2013-10-23 03:43:06 -07:00
Martin Haimberger
fdacd898f5
MergeEnvironmentStrings works also for a null original env
2013-10-23 03:00:22 -07:00
Martin Haimberger
97ef519a54
added Set/GetEnvironmentVariableEBA
...
did some bugfixing within the MergeEnvironmentVariable
added Tests
2013-10-23 02:27:31 -07:00
Martin Haimberger
87ce6f28cf
added merge function for environmentblocks
2013-10-23 00:58:33 -07:00
Marc-André Moreau
ebc096f2b2
libwinpr-nt: fix conflict for NtCreateFile on Windows
2013-10-22 21:38:16 -04:00
Marc-André Moreau
3d2754e8ed
libwinpr-environment: implement required functions for CreateProcess
2013-09-23 14:44:59 -04:00
Marc-André Moreau
c65ee0c2f4
wfreerdp: fix build on Windows
2013-03-29 00:33:15 -04:00
Marc-André Moreau
edf6e7258d
libwinpr-path: add path detection functions
2013-03-22 00:42:09 -04:00
Marc-André Moreau
06fa85f31c
cmake: refactoring of MONOLITHIC_BUILD
2012-10-13 17:30:59 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
fcc9f91302
cmake: add support for solution groups
2012-09-30 22:58:59 -04:00
Marc-André Moreau
90ffa6ea86
libwinpr: stubbed Path API
2012-09-22 22:02:55 -04:00