cvs commit: src/lib/libc/stdlib random.c
Jeroen Ruigrok/asmodai
asmodai at crater.dragonflybsd.org
Sat Sep 6 01:00:41 PDT 2003
asmodai 2003/09/06 01:00:07 PDT
Modified files:
lib/libc/stdlib random.c
Log:
Fix dependency that long is always 32 bits. This does not work on (I)LP64
platforms.
This works for Itanium and i386, but on x86-64 and sparc64 it gives corrupted
values.
Submitted by: Hiroki Sato, FreeBSD PR 56502
Revision Changes Path
1.3 +34 -33 src/lib/libc/stdlib/random.c
More information about the Commits
mailing list