summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-save-buffer.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2012-03-21 12:36:49 +0000
committermillert <millert@openbsd.org>2012-03-21 12:36:49 +0000
commitec4c3b823609443b8e8c271a9d26285c8d862e1d (patch)
tree505b836cd1afe96c5ef308e9497f0a6edc6cb61b /usr.bin/tmux/cmd-save-buffer.c
parentSwitch ld.so's _dl_opendir functions to use a locally defined (diff)
downloadwireguard-openbsd-ec4c3b823609443b8e8c271a9d26285c8d862e1d.tar.xz
wireguard-openbsd-ec4c3b823609443b8e8c271a9d26285c8d862e1d.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 'usr.bin/tmux/cmd-save-buffer.c')
0 files changed, 0 insertions, 0 deletions