OpenGrok
Cross Reference: randomid.c
xref
: /
src
/
lib
/
libc
/
gen
/
randomid.c
Home
|
History
|
Annotate
|
Download
|
only in
gen
History log of
/src/lib/libc/gen/randomid.c
Revision
Date
Author
Comments
1.16
15-May-2022
andvar
s/wich/which in comments.
1.15
11-Sep-2021
andvar
Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.
1.14
27-Dec-2019
msaitoh
s/inital/initial/
1.13
11-Jan-2009
christos
branches: 1.13.48;
merge christos-time_t
1.12
15-Oct-2006
christos
branches: 1.12.26;
fix incomplete initializers
1.11
26-Dec-2003
wiz
Niels Provos kindly agreed to drop clauses 3 and 4 from the
license -- thanks.
Based on OpenBSD commit and hints by itojun.
1.10
10-Dec-2003
itojun
comment from niels provos;
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x".
- skipping number is not needed, so disable it for 16bit generator (makes
the repetition period to 30000)
1.9
25-Nov-2003
itojun
"seed2" was ruining the non-repeating property of this function; remove it.
discussed on tech-net for ip_id.c (thanks for all the analysis).
1.8
16-Sep-2003
simonb
Shut lint up.
1.7
15-Sep-2003
itojun
avoid overflow during multiply. David Laight
1.6
13-Sep-2003
itojun
correct setup of ru_b/a for 16/20 bit case
1.5
13-Sep-2003
itojun
use internal names for randomid()
1.4
11-Sep-2003
itojun
check malloc failure. yamt
1.3
10-Sep-2003
tls
Another gcc3 problem: "exp" shadows a builtin. Rename it to "expo".
1.2
10-Sep-2003
tls
This didn't build with gcc3 because it was missing <string.h> for memset.
1.1
09-Sep-2003
itojun
add randomid(3).
1.12.26.1
08-Nov-2008
christos
time_t changes
1.13.48.1
08-Apr-2020
martin
Merge changes from current as of 20200406
Indexes created Sun Sep 28 07:09:56 GMT 2025