Welcome! Log In Create A New Profile

Advanced

[njs] Fixed building on modern Linux kernels.

October 28, 2016 05:06PM
details: http://hg.nginx.org/njs/rev/a1cd4104df67
branches:
changeset: 229:a1cd4104df67
user: Igor Sysoev <igor@sysoev.ru>
date: Sat Oct 29 00:04:29 2016 +0300
description:
Fixed building on modern Linux kernels.

diffstat:

nxt/nxt_random.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9b37882ad552 -r a1cd4104df67 nxt/nxt_random.c
--- a/nxt/nxt_random.c Fri Oct 28 19:29:38 2016 +0300
+++ b/nxt/nxt_random.c Sat Oct 29 00:04:29 2016 +0300
@@ -70,7 +70,7 @@ nxt_random_stir(nxt_random_t *r, nxt_pid

/* Linux 3.17 getrandom(), it is not available in Glibc. */

- n = syscall(SYS_getrandom, key, NXT_RANDOM_KEY_SIZE, 0));
+ n = syscall(SYS_getrandom, key, NXT_RANDOM_KEY_SIZE, 0);

#endif


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed building on modern Linux kernels.

Igor Sysoev 635 October 28, 2016 05:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 72
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready