Commit Graph

13 Commits

Author SHA1 Message Date
Ian Craggs 1e91229cb6 Update license from EPL v1 to v2 2020-04-06 13:27:50 +01:00
Ian Craggs a312d934be Allow 'high performance' build without heap tracking and stack tracing #817 2020-03-05 17:31:32 +00:00
fpagliughi fbd38b16cf
#368 Add underscores to Windows compiler macro checks, _WIN32 and _WIN64
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-01-25 10:38:18 -05:00
Ian Craggs a7c95cd941 A couple of LGTM complaint changes 2018-08-16 23:59:24 +01:00
Ian Craggs 2cff9d014f Don't try ack writes for sockets with pending output, missing connect failure call #373 2017-12-11 16:37:06 +00:00
Guilherme Maciel Ferreira 3768362a0f Increase LOG_LEVELS enum type safety
Use enum LOG_LEVELS instead of int for log and trace levels.

According to ISO/IEC 9899:2011, section 6.7.2.2
(Enumeration specifiers), paragraph 4: "Each enumerated type
shall be compatible with char, a signed integer type, or an
unsigned integer type. The choice of type is implementation-
defined, but shall be capable of representing the values of
all the members". Section J.3.9 also exposes the implementation
defined nature of enumeration signess.

A negative value (-1) is assigned to objects of type enum
LOG_LEVELS. However, the enumeration type might be implemented
as unsigned integer, because there are only positive enumerators
(enumeration members). Thus, this may cause signess mismatches on
some architectures.

Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
2017-03-06 11:55:23 -06:00
Guilherme Maciel Ferreira 009fd7bf6e Add missing function prototypes
Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
2017-03-06 11:55:19 -06:00
Ian Craggs bf67bab405 Get rid of compiler warnings on MacOSX 2014-05-08 13:54:52 +01:00
Ian Craggs 2380b26dfb Add WIN64 to WIN32 conditional compilation statements 2014-04-10 14:41:57 +01:00
Ian Craggs 76684fcb2a Some threading/mutex changes 2013-10-10 13:49:02 +01:00
Ian Craggs 4be97e2dc3 Compile warnings in StackTrace.c and locking scope in Log.c 2013-10-10 12:36:32 +01:00
Ian Craggs 9af36c8047 Add notices for dual epl/edl licensing 2013-03-18 15:32:53 +00:00
Ian Craggs 76d745098e The rest of the initial release commit 2012-03-08 23:33:18 +00:00