Daniel Kochmański
c66fe1ea59
Merge branch 'develop' into 'develop'
...
Correctly set TCP_NODELAY in open-{client,server}-stream
See merge request !73
2017-06-26 06:16:49 +00:00
Kris Katterjohn
26e7802917
Stop depending on uninitialized variables when setting TCP_NODELAY
...
The contents of an uninitialized variable was used when setting the
TCP_NODELAY option for sockets created with open-client-stream and
open-server-stream, so this option would not be set when the value
of the variable happened to be 0 (which happened regularly on my
OpenBSD box).
Tested on OpenBSD and Linux.
2017-06-23 17:06:57 -05:00
Kris Katterjohn
0c5be44ad9
#include netinet/tcp.h so TCP_* will actually be defined
...
This header needs to be included so the TCP_* defines are available.
Sockets created with open-client-stream and open-server-stream would
try to set TCP_NODELAY if available, but they couldn't because this
was not defined.
Tested on OpenBSD and Linux.
2017-06-23 17:04:43 -05:00
Daniel Kochmański
bfc58c219e
add missing function
2017-06-23 17:56:32 +02:00
Daniel Kochmański
a993853acb
Merge branch 'develop' into 'develop'
...
Various fix
See merge request !72
2017-06-23 14:27:49 +00:00
Fabrizio Fabbri
fb249d9e1e
regenerate configure
2017-06-22 00:51:41 +02:00
Fabrizio Fabbri
aa23a0339f
Merge remote-tracking branch 'origin/develop' into develop
2017-06-22 00:47:10 +02:00
Fabrizio Fabbri
ed737d2050
Fix configure on solaris
2017-06-22 00:45:38 +02:00
Daniel Kochmański
96772b9c03
Merge branch 'develop' into 'develop'
...
adjust memory allocation functions in windows API ecl_get_commandline_args.
See merge request !71
2017-06-13 10:34:43 +00:00
Yuguo Zhang
52a232b2d1
adjust memory allocation functions in windows API ecl_get_commandline_args.
...
the caller and the callee maybe use difference compiler and settings.
2017-06-13 18:22:59 +08:00
Daniel Kochmański
040ec49138
Merge branch 'develop' into 'develop'
...
doc: fix typo
See merge request !70
2017-06-12 06:33:19 +00:00
Yuguo Zhang
c6e235b7f2
doc: fix typo
2017-06-12 13:18:51 +08:00
Fabrizio Fabbri
06f5697074
Fix additional coverity warnings.
2017-06-06 23:43:02 +02:00
Daniel Kochmański
da47ed7f5f
Merge branch 'develop' into 'develop'
...
patch for windows ReadConsole bug
See merge request !69
2017-06-05 06:03:40 +00:00
Yuguo Zhang
39ccfeaec9
windows build system clean/tidy up
...
upgrad yasm version from 1.2.0 to 1.3.0
2017-06-05 12:53:11 +08:00
Yuguo Zhang
fb716b4291
windows build system clean/tidy up
...
upgrade yasm version from 1.2.0 to 1.3.0
2017-06-05 12:49:12 +08:00
Yuguo Zhang
296fea073e
patch for windows ReadConsole bug
2017-06-05 10:29:23 +08:00
Daniel Kochmański
1d4e453075
Merge branch 'revert' into 'develop'
...
Reapply merge !65
See merge request !68
2017-06-03 11:14:40 +00:00
Fabrizio Fabbri
f5cba162c2
Merge remote-tracking branch 'origin/develop' into revert
2017-06-03 12:59:41 +02:00
Fabrizio Fabbri
2aad976b27
Merge commit ' d73cc501' into revert
2017-06-03 12:58:33 +02:00
Fabrizio Fabbri
390caa3e51
Revert "Revert "Merge branch 'develop' into 'develop'""
...
This reverts commit cf416f6fd4 .
2017-06-03 12:57:17 +02:00
Fabrizio Fabbri
d73cc5013b
Coverity fix issue
...
Proper cleanup of vararg.
Fix buffer corruption on dpp.
2017-06-03 11:57:01 +02:00
Daniel Kochmanski
b6a4d4a851
defstruct: be more ansi conformant with :predicate
...
Closes #385 .
2017-05-30 19:31:55 +02:00
Daniel Kochmanski
cf416f6fd4
Revert "Merge branch 'develop' into 'develop'"
...
This reverts commit b75802f122 , reversing
changes made to 5e3ccb1955 .
2017-05-26 14:38:52 +02:00
Daniel Kochmański
a095f6a4ee
ecl_thread_internal_error: provide hint what may go wrong
2017-05-25 08:19:19 +02:00
Daniel Kochmański
3c4e1541e5
format: scale-exponent: fix denormalized long-float
...
Fix submitted by Marius Gerbershagen. Fixes 383.
2017-05-25 08:03:32 +02:00
Daniel Kochmański
7ef7116589
windows: thread_internal_error: call ExitThread
2017-05-25 07:57:05 +02:00
Daniel Kochmański
052155c6c3
ecl_thread_internal_error: add C api, protect get_env
...
Problem reported and fixed by Marius Gerbershagen. Fixes #382 .
2017-05-22 22:58:15 +02:00
Daniel Kochmański
b75802f122
Merge branch 'develop' into 'develop'
...
Coverity issues fixes
See merge request !65
2017-05-19 17:41:06 +00:00
Fabrizio Fabbri
95279fb15f
Code review on merge request !65
2017-05-19 19:34:19 +02:00
Fabrizio Fabbri
88efaa1b6d
Merge remote-tracking branch 'origin/develop' into develop
2017-05-19 19:13:04 +02:00
Fabrizio
5e3ccb1955
Merge branch 'unixsys-waitpid-fakedefs' into 'develop'
...
unixsys: waitpid: fake WCONTINUED and WIFCONTINUED if not present
See merge request !66
2017-05-19 15:57:54 +00:00
Daniel Kochmański
14320c2e27
cosmetic: comment
2017-05-19 15:49:39 +02:00
Daniel Kochmański
c487341ad6
unixsys: waitpid: fix fake macro
2017-05-19 15:32:48 +02:00
Daniel Kochmański
104203e1b8
unixsys: waitpid: fake WCONTINUED and WIFCONTINUED if not present
...
On some platforms with not finished POSIX support (like some old BSD)
these defines / macros are not present. Fake them for compatibility.
2017-05-19 14:06:29 +02:00
Fabrizio Fabbri
f8432d1f5f
coverity fix 1434978 Argument cannot be negative
...
https://scan7.coverity.com/reports.htm#v29378/p15116/fileInstanceId=19260861&defectInstanceId=4445893&mergedDefectId=1434978
2017-05-18 13:01:02 +02:00
Fabrizio Fabbri
a74094de9a
fix coverity issue Missing varargs init or cleanup
2017-05-17 23:20:10 +02:00
Fabrizio Fabbri
6c8449b147
fix coverity 435052 Dereference before null check
...
https://scan7.coverity.com/reports.htm#v29378/p15116/fileInstanceId=19259832&defectInstanceId=4445114&mergedDefectId=1435052
2017-05-17 21:11:26 +02:00
Fabrizio Fabbri
e688ca4058
coverity fix 1435189 Double close
...
https://scan7.coverity.com/reports.htm#v29378/p15116/fileInstanceId=19259820&defectInstanceId=4445788&mergedDefectId=1435189
2017-05-17 21:08:23 +02:00
Fabrizio Fabbri
29ad64adb7
coverity fix Missing varargs init or cleanup
2017-05-17 20:26:24 +02:00
Fabrizio Fabbri
0227f299a6
fix covrity issue 1435068 Resource leak
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=19101001&defectInstanceId=4408515&mergedDefectId=1435068
2017-05-17 19:45:51 +02:00
Fabrizio Fabbri
539b05a1a2
coverity fix Uninitialized pointer read
2017-05-16 22:43:08 +02:00
Fabrizio Fabbri
8617d61e64
fix coverity Uninitialized pointer read on env0
2017-05-16 22:06:04 +02:00
Fabrizio Fabbri
64a0bcebdf
fix coverity 1434960 Uninitialized pointer read
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=19088397&defectInstanceId=4404042&mergedDefectId=1434960
2017-05-16 22:00:17 +02:00
Fabrizio Fabbri
4c5f0b2162
fix coverity 1434866 Missing return statement
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=19088538&defectInstanceId=4403920&mergedDefectId=1434866
2017-05-16 22:00:09 +02:00
Fabrizio Fabbri
73ed08df0b
fix coverity issue 1434897 Uninitialized scalar variable
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706960&defectInstanceId=4324855&mergedDefectId=1434897&eventIds=4324837-8
2017-05-16 18:31:55 +02:00
Fabrizio Fabbri
0d18fcbbf2
fix coverity 1434941 Missing return statement
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706913&defectInstanceId=4323734&mergedDefectId=1434941
2017-05-16 18:19:38 +02:00
Fabrizio Fabbri
1f58875e1c
fix coverity issue 1434998 Out-of-bounds access
...
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18707043&defectInstanceId=4324833&mergedDefectId=1434998
2017-05-16 18:15:44 +02:00
Fabrizio Fabbri
830f72473b
Fix Uninitialized pointer read
...
Coverity report https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706970&defectInstanceId=4323844&mergedDefectId=1435043
2017-05-15 18:45:22 +02:00
Daniel Kochmanski
ee3d9e584d
format: fix bug introduced recently
2017-05-15 10:13:50 +02:00