diff options
author | J Carter <jordanc.carter@outlook.com> | 2023-12-09 08:38:14 +0000 |
---|---|---|
committer | J Carter <jordanc.carter@outlook.com> | 2023-12-09 08:38:14 +0000 |
commit | c0134ded9fce48f36465cb1a1adbcc52e32f8c65 (patch) | |
tree | e1413ba8181e1b7ec302c2e04d6724be3aaa506d /src/os/unix/ngx_process_cycle.c | |
parent | 5e743242849f4724392c742b59e3757e5c7ea499 (diff) | |
download | nginx-c0134ded9fce48f36465cb1a1adbcc52e32f8c65.tar.gz nginx-c0134ded9fce48f36465cb1a1adbcc52e32f8c65.zip |
Win32: extended ngx_random() range to 0x7fffffff.
rand() is used on win32. RAND_MAX is implementation defined. win32's is
0x7fff.
Existing uses of ngx_random() rely upon 0x7fffffff range provided by
POSIX implementations of random().
Diffstat (limited to 'src/os/unix/ngx_process_cycle.c')
0 files changed, 0 insertions, 0 deletions