Norbert Federa
9370d98575
winpr/pipe: fix CreateNamedPipe test
...
GetLastError() was not always checked for ERROR_PIPE_CONNECTED which
indicates success if ConnectNamePipe returns FALSE.
TestPipe now also succeeds on Win32
2016-05-26 13:52:30 +02:00
Norbert Federa
1b231f9dd9
winpr/thread: fix TestThreadCreateProcess
...
On WIN32 TestThread now works and is expected to succeed
2016-05-25 15:47:58 +02:00
Norbert Federa
aded51f38f
winpr/synch: fix tests
...
TestSynchTimerQueue:
- fixed race condition
TestSynchWaitableTimerAPC:
- Use WaitForSingleObjectEx since the thread must be in an alterable state
TestSynch is now expected to succeed on WIN32
2016-05-24 22:33:27 +02:00
Norbert Federa
386d290015
winpr/synch: fix mutex implementation
...
- Mutex is recursive on Windows; as a consequence we have to use
the pthread PTHREAD_MUTEX_RECURSIVE type
- Adapt MutexCloseHandle accordingly
- ReleaseMutex returned TRUE even if pthread_mutex_unlock failed
- Fixed and improved the TestSynchMutex ctest
2016-05-24 15:10:57 +02:00
Bernhard Miklautz
5d030534db
winpr/event: fix file descriptor leak
...
SetEventFileDescriptor overrides the internal file descriptor of the
event but didn't close it. Now if the descriptor is closed if it isn't
marked as attached.
2016-05-23 13:04:44 +02:00
Hardening
4e66df7228
Merge pull request #3333 from akallabeth/memleak_fixes
...
Memleak fixes
2016-05-13 11:32:48 +02:00
Robert Corrigan
73e13b0b29
KB3153731: May 2016 DST update for Azerbaijan, Chile, Haiti and Morocco
2016-05-12 13:24:21 -04:00
Armin Novak
eacf2b542e
Fixed memory leaks.
2016-05-12 10:01:30 +02:00
Marc-André Moreau
6b73757085
Merge branch 'master' of github.com:awakecoding/FreeRDP
2016-05-11 13:13:02 -04:00
Marc-André Moreau
d4c809c4ae
winpr: fix definitions of synchronization barrier and interlocked functions
2016-05-11 13:12:44 -04:00
Marc-André Moreau
915b9a15b1
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
winpr/libwinpr/bcrypt/CMakeLists.txt
2016-05-11 11:05:17 -04:00
Bernhard Miklautz
81d30cc480
Disable comm tests per default
...
comm tests require a serial device for testing. If the test environment
isn't available the tests will return errors therefore the tests are
now disabled per default. They can be (re-)enabled by using the cmake
option BUILD_COMM_TESTS.
2016-05-02 16:59:25 +02:00
Armin Novak
ee186bec73
ListDictionary handle NULL list argument.
2016-04-26 09:34:12 +02:00
Robert Corrigan
f8c42da561
KB3148851: Updates to Russian Time Zones for 2016
2016-04-13 14:44:30 -04:00
Marc-André Moreau
a192967a5b
libwinpr-path: fix missing shlwapi.lib import
2016-03-30 10:58:36 -04:00
Marc-André Moreau
8fcc2aabf1
Merge branch 'master' of github.com:awakecoding/FreeRDP
2016-03-30 10:47:01 -04:00
Marc-André Moreau
cedf6d98e2
freerdp: more UWP porting
2016-03-29 20:34:52 -04:00
Marc-André Moreau
4d629a7999
freerdp: UWP porting
2016-03-29 16:03:15 -04:00
Bernhard Miklautz
9e8c6c99b6
First shot on fixing over linking
...
If a target is linked against libraries with cmake
(target_link_libraries) and the libraries are not marked as PRIVATE
they are "exported" and in case a other target is linked against this
target it is also linked against *all* (not private) libraries.
Without declaring private libraries PRIVATE a lot of over linking
(linking against unneeded libraries) was done.
2016-03-29 18:14:34 +02:00
Bernhard Miklautz
b184f58c1b
winpr/TestFileGetStdHandle: rename variable stdout
...
stdout shouldn't be used as variable name (can't even be used on
windows).
2016-03-29 18:14:16 +02:00
Marc-André Moreau
2201ac5266
winpr: fix PathFileExists on UWP
2016-03-25 12:20:51 -04:00
Martin Fleisz
80cd64732f
Merge pull request #3164 from akallabeth/windows_UnixChangeFileMode
...
Implemented UnixChangeFileMode for windows.
2016-03-16 15:19:11 +01:00
akallabeth
0c99d6a4fe
Merge pull request #3226 from rjcorrig/#3198
...
winpr: Updates time zones and fixes bias values
2016-03-16 13:32:51 +01:00
Robert Corrigan
a4f0089d45
winpr_detect_windows_time_zone should have void argument
2016-03-16 08:29:21 -04:00
Armin Novak
3d23a772f6
Updated ConvertToUnicode return check.
2016-03-16 13:08:06 +01:00
Bernhard Miklautz
1b1563658e
Merge pull request #3214 from hardening/fix_systemd_appender
...
Make systemd appender honor layout and logs off
2016-03-16 11:58:31 +01:00
Marc-André Moreau
9211f44e46
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-15 20:19:15 -04:00
Robert Corrigan
16796b9c9d
winpr: Updates time zones and fixes bias values
2016-03-14 11:38:31 -04:00
Martin Fleisz
0249b09677
winpr: Fix definition of PathFileExists on Win32
2016-03-14 14:08:48 +01:00
Hardening
19494bd75a
Make systemd appender honor layout and log off
2016-03-10 23:41:12 +01:00
Martin Fleisz
30325f189f
Merge pull request #3181 from akallabeth/wlog_filter_fix
...
Respecting filter in WLog_GetLogLevel
2016-03-08 10:05:57 +01:00
Marc-André Moreau
c78a142388
Merge branch 'master' of github.com:awakecoding/FreeRDP
2016-03-07 21:21:17 -05:00
Marc-André Moreau
d61c2d4535
winpr: fix ini utils leak
2016-03-07 21:21:06 -05:00
Marc-André Moreau
ceefc4b099
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-07 10:19:50 -05:00
Armin Novak
34b12362cb
Fixed FreeBSD support for filetime settings.
2016-03-06 15:01:58 +01:00
Norbert Federa
ef4b29e5b3
ConvertFromUnicode fixes and misc hardening
...
- Added missing ConvertFromUnicode checks
- If ConvertToUnicode allocates memory, guarantee the null termination
similar to ConvertFromUnicode's implementation
- Fixed some TestUnicodeConversion.c CTest return values
- Added some CTests for ConvertFromUnicode and ConvertToUnicode
- Misc code and protocol hardening fixes in the surrounding code regions
that have been touched
2016-03-03 16:56:19 +01:00
Armin Novak
ee2839fc7f
Caching log filter after first use.
...
Reduce runtime penalty for log level checks by
remembering the log level found during first call.
2016-03-03 12:43:39 +01:00
Armin Novak
0ea7aea6d9
Remember filter log level.
2016-03-02 19:07:32 +01:00
Bernhard Miklautz
7075353417
winpr: fix regression in timezone detection
...
ConvertToUnicode can't be used if the destination is a static buffer.
StandardName and DaylightName were invalid and timezone
redirection didn't work.
This regression was introduced with PR #3151
2016-03-02 18:44:17 +01:00
Armin Novak
41fdac2667
Respecting filter in WLog_GetLogLevel
2016-03-02 14:11:15 +01:00
Martin Fleisz
857c37393b
Merge pull request #3163 from akallabeth/set_file_time
...
Implemented SetFileTime
2016-03-02 09:43:46 +01:00
Armin Novak
c74e37dbfd
Implemented UnixChangeFileMode for windows.
2016-03-02 09:41:47 +01:00
Armin Novak
65cddbc3fb
Removed obsolete log message.
2016-03-02 09:16:59 +01:00
Armin Novak
227ecc4bd5
Fixed uninitialized variable.
2016-03-02 09:16:49 +01:00
Bernhard Miklautz
e02af8287e
Merge pull request #3160 from akallabeth/stream_fixes
...
Stream fixes
2016-03-01 16:44:19 +01:00
Armin Novak
a79072a87c
Added tests for remaining stream functions.
2016-03-01 12:58:09 +01:00
Bernhard Miklautz
014f31db35
Merge pull request #3171 from akallabeth/crypto_simplification
...
Crypto simplification
2016-02-29 17:10:53 +01:00
Armin Novak
c182be093d
Removed module.def from build config.
2016-02-29 15:24:07 +01:00
Armin Novak
68c402ac58
Removed windows module.def files.
...
All symbols exported from libraries are declared
using *_API defines.
2016-02-29 15:18:47 +01:00
Armin Novak
4e4d2e11d4
Fixed crypto tests.
2016-02-29 14:45:03 +01:00
Armin Novak
19568c6e9b
Fixed indentation.
2016-02-29 11:12:32 +01:00
Armin Novak
7e6501374d
Fixed memory leak.
2016-02-29 11:10:15 +01:00
Armin Novak
b429d230cb
Refactored crypto *_New functions.
2016-02-29 09:00:02 +01:00
Armin Novak
92c15783dc
Updated RC4 API, fixed crashing bug.
2016-02-28 11:19:29 +01:00
Armin Novak
238ff3b315
Unified encryption functions.
2016-02-27 23:28:49 +01:00
Armin Novak
1036f1e296
Fixed default visibility.
...
When nothing is declared, only export symbols defined
with WINPR_API or FREERDP_API defined.
Override this setting if BUILD_TESTING to allow tests
access to internal functions usually not exposed.
2016-02-26 19:44:14 +01:00
Armin Novak
98d4a9347a
Added support for android SetFileTime.
...
Deactivated libjpeg support for android.
2016-02-26 12:27:59 +01:00
Armin Novak
5537230298
Fixed missing iOS UTIME_OMIT.
2016-02-26 11:43:54 +01:00
Armin Novak
436be2441a
Implemented SetFileTime
2016-02-26 11:00:17 +01:00
Martin Fleisz
4f22682ed2
Merge pull request #3151 from akallabeth/timezone_refactor
...
Timezone refactor
2016-02-26 09:57:35 +01:00
Armin Novak
fe8f5dee82
Fixed indentation.
2016-02-26 09:32:17 +01:00
Armin Novak
f997421098
Unified hmac functions.
2016-02-24 21:50:08 +01:00
Armin Novak
6e8ea34f06
Updated cryto wrapper API.
2016-02-24 20:32:20 +01:00
Armin Novak
0bfe5bad85
Fixed naming of static functions.
2016-02-24 20:16:19 +01:00
Armin Novak
7795ebdc15
Fixed return value for DST.
2016-02-24 09:43:53 +01:00
Armin Novak
495df6d6ec
Readded read timezone from link.
2016-02-24 09:42:12 +01:00
Armin Novak
1cd6697bca
Implemented timezone detection for android
...
Refactored version of patch from pxx02134
2016-02-24 09:28:30 +01:00
Armin Novak
447ac23aee
Refactored timezone functions.
2016-02-24 09:28:30 +01:00
akallabeth
7c5fcc9ee2
Merge pull request #3149 from bmiklautz/feb22
...
Misc fixes
2016-02-23 20:23:52 +01:00
Martin Fleisz
1b881e47d3
winpr/file: Add missing include (io.h) for windows builds
2016-02-23 09:55:55 +01:00
Bernhard Miklautz
e6f013eac7
fix spelling
...
replace occured with occurred
Fixes #3142
2016-02-22 17:01:43 +01:00
Hardening
2a3e9996b3
Merge pull request #2710 from akallabeth/cert_temp_accept_v2
...
Extended certificate callbacks.
2016-02-15 13:52:47 +01:00
Bernhard Miklautz
cf6ea23576
Merge pull request #3123 from nfedera/fix-keyboardtype-7
...
Several fixes for keyboard type 7 (japanese)
2016-02-12 10:43:25 +01:00
Hardening
cbd1ffa571
Merge pull request #3110 from akallabeth/mac_os_ssl_warning_fix
...
Mac os ssl warning fix
2016-02-11 22:21:33 +01:00
Norbert Federa
92aa21c45b
Several fixes for keyboard type 7 (japanese)
2016-02-11 21:40:50 +01:00
Marc-André Moreau
0547a31832
winpr: fix ini loader on Windows
2016-02-10 10:51:33 -05:00
Marc-André Moreau
2f568aad79
winpr: fix GetComputerNameEx for UWP
2016-02-08 10:19:36 -05:00
Marc-André Moreau
d0f413db12
winpr: initial port to Universal Windows Platform (UWP)
2016-02-05 16:28:45 -05:00
Marc-André Moreau
bfca674f2d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-02-05 11:39:45 -05:00
Armin Novak
6b406bdcda
Not building GetLine on android and ios.
2016-02-05 02:05:37 +01:00
Armin Novak
5e46a6e4be
Replaced getline with custom GetLine.
2016-02-05 02:05:37 +01:00
Martin Fleisz
56a0c4c336
Merge pull request #3097 from akallabeth/android_api_upgrade_v4
...
Android api upgrade and restructuring
2016-02-04 16:20:59 +01:00
Armin Novak
b6b0f57a88
Fixed compiler warning about cast.
2016-02-04 12:57:21 +01:00
Armin Novak
f835744a88
Removed unused variable.
2016-02-03 12:45:49 +01:00
Armin Novak
40519f0912
Fixed initialization warning.
2016-02-03 12:45:31 +01:00
Armin Novak
d1c59f7574
Fixed invalid boolean check.
2016-02-03 11:23:41 +01:00
Armin Novak
a1617c734c
Fixed unused check.
2016-02-03 11:22:27 +01:00
Armin Novak
61633a1c66
Fixed android build issues.
2016-02-01 15:21:07 +01:00
MartinHaimberger
83b706c4be
Merge pull request #3092 from akallabeth/get_build_config
...
Added get_build_config functions.
2016-01-28 15:23:24 +01:00
Armin Novak
035f127081
Added get_build_config functions.
2016-01-28 14:26:50 +01:00
Armin Novak
c2515340c3
Fixed return value of WLog_FileAppender_WriteImageMessage
2016-01-28 12:08:57 +01:00
Martin Fleisz
7294a7f27d
Merge pull request #3078 from akallabeth/wlog_cmd_options
...
Added new command line options for logger.
2016-01-28 10:33:17 +01:00
clangm
62a559ad03
fix typo
...
Pretty sure that's supposed to be __MACOSX__, not __MAXOSX__
2016-01-27 15:40:08 -07:00
David PHAM-VAN
3d22cbe2b8
Fix png image loading that needed write access
2016-01-27 11:02:16 -08:00
Armin Novak
06adbc971a
Fixed realloc check, renamed filter variable.
2016-01-27 11:21:04 +01:00
Armin Novak
46a079fcb6
Added new command line options for logger.
...
The new command line options /log-level:<level> and
/log-filters:<filter>:<level> allow setting default log
level and log module filter to be set.
2016-01-23 15:16:13 +01:00
davewheel
a971f9e4bc
Handle more NTLM attributes
...
This patch adds the management of more NTLM attributes.
Sponsored by: Wheel Systems (http://www.wheelsystems.com )
2016-01-20 22:21:05 +01:00
Martin Fleisz
3e19791bb7
Merge pull request #3014 from bmiklautz/winpr_nt_file
...
winpr: create a specific winpr nt file handle
2016-01-19 09:28:40 +01:00
Armin Novak
d2ab27626a
Fix memory leak in lodepng_zlib_compress
2016-01-15 10:16:08 +01:00
Armin Novak
9b160d4570
Fixed uninitialized value.
2016-01-15 09:33:21 +01:00
Bernhard Miklautz
3232be51b0
Use major version only for SOVERSION
...
For 2.0+ major will be increased if ABI/API isn't compatible anymore.
2016-01-14 10:47:57 +01:00
Bernhard Miklautz
7c03db342c
add parameter buildconfig
...
Extend winpr and client/common to support a new option "/buildconfig".
When used build the following build specific information is print:
* cmake options
* cflags
* compiler
* target architecture
* cmake build type
2016-01-12 17:32:33 +01:00
Bernhard Miklautz
aa2709a999
winpr: create a specific winpr nt file handle
...
There exist two definitions of WINPR_FILE: in file/ and in nt/.
Both are different definitions used differently. Therefore split them
into WINPR_FILE and WINPR_NT_FILE.
2016-01-12 16:10:25 +01:00
Bernhard Miklautz
d03b38765a
Merge pull request #2816 from akallabeth/known_hosts_locking
...
Known hosts locking
2015-12-16 19:03:15 +01:00
Bernhard Miklautz
06307f1ac1
winpr/file: disable buffering
...
When FILE streams are used per default buffering is enabled but
WriteFile/ReadFile shouldn't do any extra buffering.
2015-12-16 18:47:42 +01:00
Armin Novak
5b2f4f50a0
Fixed FILE* leak and EndOfFile settings.
2015-12-16 17:35:59 +01:00
Armin Novak
03a1ff814d
Fixed unused warnings.
2015-12-16 15:15:46 +01:00
Armin Novak
6ed43cd6ec
Updated pdb file locations.
...
Now supporting generators NMake and Visual Studio.
2015-12-15 12:08:35 +01:00
Armin Novak
cb958ba9c6
Added pdb files to package target.
...
Fixed name collision with freerdp-shadow targets.
2015-12-15 12:07:21 +01:00
Armin Novak
6010932984
Fixed possible race on file creation.
2015-12-14 09:32:42 +01:00
Armin Novak
f0e3a2d845
Added extended file seek tests.
2015-12-10 10:40:14 +01:00
Armin Novak
fe51dd1e10
Fixed logging, added file name.
2015-12-10 10:39:37 +01:00
Armin Novak
400d1b8b96
Fixed open mode for fdopen.
2015-12-10 10:37:44 +01:00
Armin Novak
19744f3bb8
Added additional file functions and tests.
2015-12-09 18:29:16 +01:00
Armin Novak
d0e3528c8e
Added winpr_strerror function.
2015-12-09 18:27:37 +01:00
Xiaodong Qi
602d2715a2
Fix compilation error under Visual Studio 2010
...
Visual Studio 2010 use a compiler that supports only C89, which
only supports declaring variable at top of a local scope. Moving
scope variable to the top of function should solve this problem.
2015-11-29 00:14:29 +08:00
Marc-André Moreau
c0c9c9353e
winpr: more Win32 fixes
2015-11-25 14:41:32 -05:00
Marc-André Moreau
2f5d159448
winpr: fix WinXP backwards compatibility
2015-11-25 13:46:10 -05:00
Hardening
be8f8f7238
Merge pull request #2970 from bmiklautz/prep_2.0
...
2.0 preparations
2015-11-11 12:54:34 +01:00
Bernhard Miklautz
bff63b3ee2
wlog: cleanup API includes
...
Only include necessary header files.
2015-11-10 16:29:09 +01:00
Bernhard Miklautz
be0845b46c
wlog/journald: don't set a default identifier
...
Don't set the identifier to "winpr" as default value because journald
will use the programs name as default if no identifier is set.
This way a program using WLog doesn't need to set an identifier (except
it want something different then it's name).
2015-11-10 13:40:52 +01:00
Bernhard Miklautz
34c707304b
wlog: change variable naming and fix documentation
...
* change State to active and make it BOOL since it's only got two
used values
* fix some typos in the documentation
2015-11-10 12:05:23 +01:00
Hardening
aff69ab163
Merge pull request #2962 from akallabeth/client_build_fixes
...
Allow client build to be disabled
2015-11-10 09:59:45 +01:00
Bernhard Miklautz
25137988fe
wlog: fix build on windows
2015-11-09 19:47:51 +01:00
Bernhard Miklautz
57f952bbbc
wlog: fix android build
2015-11-09 19:37:02 +01:00
Bernhard Miklautz
0cdb4f7924
Fix compiler warnings
...
gcc (Debian 4.9.2-10) 4.9.2
winpr/libwinpr/thread/argv.c: In function ‘CommandLineToArgvA’:
winpr/libwinpr/thread/argv.c:94:6: warning: unused variable ‘index’ [-Wunused-variable]
int index;
winpr/libwinpr/file/test/TestFileGetStdHandle.c: In function ‘TestFileGetStdHandle’:
winpr/libwinpr/file/test/TestFileGetStdHandle.c:44:2: warning: implicit
declaration of function ‘CloseHandle’ [-Wimplicit-function-declaration]
CloseHandle(stdout);
^
libfreerdp/codec/test/TestFreeRDPRegion.c: In function ‘test_norbert2_case’:
libfreerdp/codec/test/TestFreeRDPRegion.c:697:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_receive_format_list’:
channels/cliprdr/server/cliprdr_main.c:636:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
^
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_init’:
channels/cliprdr/server/cliprdr_main.c:1097:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
2015-11-09 19:26:34 +01:00
Bernhard Miklautz
67368b2ec7
Adapt error level for debug messages
...
When using xfreerdp a regular invocation should really only report grave
problems as error. "Regular" messages should be either info or even
debug.
2015-11-09 18:27:38 +01:00
Bernhard Miklautz
07417599ce
wlog: rework, cleanup and stabilize API
...
* only expose necessary functions and types in header
* don't expose appender internals
* add generic function WLog_ConfigureAppender to have the possibility
to configure appender specific settings
* detect appender availability if WLog_SetLogAppenderType or
WLog_Appender_New return FALSE or NULL respectively the appender isn't
available or the initialization failed. This is very useful for the
use with optional appenders.
* add Free to the appender interface. At the time of the Free the
appender is known and available so it can be called directly (instead
of calling the right function according to the type)
* make all appender internal function static
* all appenders return the generic wLogAppender type now. Typecasts
are internally done where necessary this abstracts the appenders more
cleanly
2015-11-09 18:25:45 +01:00
Bernhard Miklautz
d73c4898c1
Add build-config.h
...
build-config.h should contain configure/compile time settings that are
relevant for projects that use FreeRDP.
For example the compiled in plugin search paths.
2015-11-09 15:54:22 +01:00
Norbert Federa
2ac195e8eb
Merge pull request #2964 from hardening/udp_appender
...
Add an UDP appender to wLog
2015-11-09 13:42:02 +01:00
David FORT
458aaa1213
Take in account @nfedera's remarks
2015-11-06 23:17:11 +01:00
Norbert Federa
d6b5b906f4
winpr/argv: fix CommandLineToArgvA memory access
...
- fixed access of unitialized memory beyond terminating null
- minor simplifications
2015-11-05 18:10:05 +01:00
David FORT
5fbf26acf2
Add an UDP appender to wLog
...
This appender allows to receive the logs over a network connection using UDP packets.
You can see the logs using a listening netcat, for example: nc -ul 127.0.0.1 20000.
2015-11-04 18:11:19 +01:00
Armin Novak
b5288daea5
Fixed return values.
2015-11-03 17:32:42 +01:00
Hardening
3d6e1fb418
Merge pull request #2951 from bmiklautz/friday
...
Misc fixes
2015-11-02 10:50:16 +01:00
David FORT
2a8de84342
Take in account @bmiklautz remarks
...
* I have added a function to set the journal identifier
* the appender name has been changed from SYSTEMD to JOURNALD
2015-11-01 21:34:03 +01:00
David FORT
e3915b66b7
Fix the env var leak
2015-10-30 20:22:25 +01:00
David FORT
89156e53b7
Use unbuffered output
2015-10-30 20:20:42 +01:00
David FORT
9ea301983d
Adds a systemd journal appender
2015-10-30 14:50:14 +01:00
Bernhard Miklautz
a011719831
Merge pull request #2940 from hardening/syslog_appender
...
Add a wLog syslog appender
2015-10-29 18:44:14 +01:00
David FORT
8d2aadfccd
Fixed a warning
2015-10-29 18:33:42 +01:00
David FORT
c2a322f4d0
Support syslog type for the WLOG_APPENDER env var
2015-10-29 18:31:22 +01:00
Bernhard Miklautz
c70559d128
winpr API: add EnvironmentBlockToEnvpA
...
* expose EnvironmentBlockToEnvpA
* cleanup includes in process.c
* removed unused "flag" variable in _CreateProcessExA
* make ProcessHandleCloseHandle static
2015-10-23 18:38:42 +02:00
Bernhard Miklautz
ab05a79c21
winpr/stream: don't allow 0-size streams
2015-10-23 18:38:41 +02:00
Bernhard Miklautz
a9d81ad083
winpr: fix compiler warning
...
winpr/libwinpr/utils/wlog/wlog.c: In function ‘WLog_PrintMessageVA’:
winpr/libwinpr/utils/wlog/wlog.c:234:7: warning: ‘status’ may be
used uninitialized in this function [-Wmaybe-uninitialized]
BOOL status;
^
gcc 4.9.2
2015-10-23 18:37:39 +02:00
Martin Fleisz
08cbcb3577
wlog: Fix variable definitions
2015-10-23 12:08:20 +02:00
David FORT
d9080312bc
Adapt to last wLog changes
2015-10-22 10:54:21 +02:00
David FORT
720c879661
Add a wLog syslog appender
2015-10-22 10:37:49 +02:00
Marc-André Moreau
1b5f574711
winpr: fix OpenSSL includes
2015-10-21 11:36:37 -04:00
Martin Haimberger
b2398b3a9a
wlog: fixed return values
...
wlog used to return an int but the only meaning
of the return value was:
* negative ... error
* 0 or positive ... success
but the positve returned value was 1 or some id of some
subsystem, nothing meaningful for the caller.
For a more meaningful returnvalue we now use BOOL.
If something goes wrong FALSE is returned.
2015-10-21 01:11:06 -07:00