Commit Graph
17 Commits
Author SHA1 Message Date
Sergey Kandaurov bf1cb8f399 Supplied getrandom() test with commentary about supported OSes. 2018-07-16 13:17:49 +03:00
Sergey Kandaurov 14bc401394 Using own popcount where the compiler builtin is not available. 2018-06-20 19:34:06 +03:00
Sergey Kandaurov 50d4587961 Using portable grep features. 2018-06-20 19:33:49 +03:00
Sergey Kandaurov 3befb08204 Fixed a dead store.
Found by Clang Static Analyzer.
2018-05-25 16:18:34 +03:00
Sergey Kandaurov a9ea218e7e Using getrandom() libc interface, SYS_getrandom fixes.
The interface is available since Glibc 2.25, and FreeBSD 12.0.
2018-05-24 20:35:47 +03:00
Sergey Kandaurov 7f79f2f105 Enabled exporting symbols for OpenBSD. 2018-04-15 19:44:38 +03:00
Sergey Kandaurov 4f712e3fd0 Added support for shm_open(SHM_ANON) extension. 2018-03-06 13:55:51 +00:00
Sergey Kandaurov 771e9d3cc3 Fixed formatting in nxt_sprintf() and logging. 2018-01-24 15:16:33 +03:00
Sergey Kandaurov 67c64a99fb Using size_t for the field width type of the "%*s" specifier. 2018-01-24 15:16:32 +03:00
Sergey Kandaurov cdfdbc43eb Enabled exporting symbols for NetBSD. 2017-12-26 17:55:48 +03:00
Sergey Kandaurov 752038eea8 Fixed building with pthread_t defined as a pointer. 2017-09-27 18:34:24 +03:00
Sergey Kandaurov 9213299d1f Supported linking with -lrt on BSD systems.
OpenBSD lacks support of librt.
2017-09-27 18:34:23 +03:00
Sergey Kandaurov aac0f06f3d Better checking for shm_open() during configure. 2017-09-27 18:34:23 +03:00
Sergey Kandaurov d57ec94a3f Initialized task in utf8 unit test, fixes segfault in debug build. 2017-09-04 17:32:29 +03:00
Sergey Kandaurov db85a9a015 Go: fixed splitting recipe line with newer gmake.
Use double quotes to quote a string with the backslash/newline pair.
Newer gmake versions, such as GNU Make 4.1, do not remove the backslash
from a string quoted with single quotes, which results in an extraneous
backslash passed to the shell and, eventually, to the Go compiler.
2017-08-31 18:21:22 +03:00
Sergey Kandaurov f27ed60a09 PHP SAPI: typo fixed. 2017-08-31 15:16:18 +03:00
Sergey Kandaurov 5118a0a89d Fixed typedef nxt_port_mmap_msg_t redefinition after 1b394e999c7c.
Redefinition of typedef is a C11 feature.  On older compilers that
default to C99, such as clang 3.4.1 supplied with FreeBSD 10, this
caused -Wtypedef-redefinition warnings.
2017-08-25 17:11:29 +03:00