summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strsignal.3
diff options
context:
space:
mode:
authormillert <>2012-03-21 12:36:49 +0000
committermillert <>2012-03-21 12:36:49 +0000
commitbb1c08f6beedc5a89ad7713c914f734e29c76d74 (patch)
treec1820ad7ac29d6bff160ba4d8031d30a2f8ca01a /src/lib/libc/string/strsignal.3
parentd037dd6595ed75b194259764511aead1bb922a19 (diff)
downloadopenbsd-bb1c08f6beedc5a89ad7713c914f734e29c76d74.tar.gz
openbsd-bb1c08f6beedc5a89ad7713c914f734e29c76d74.tar.bz2
openbsd-bb1c08f6beedc5a89ad7713c914f734e29c76d74.zip
Fix a bug where random() always returns 0 when srandom() is seeded
with 0. Use 1 and not 0 as the first element of the state array, similar to what glibc does. OK nicm@
Diffstat (limited to 'src/lib/libc/string/strsignal.3')
0 files changed, 0 insertions, 0 deletions