diff options
| author | 2012-03-21 12:36:49 +0000 | |
|---|---|---|
| committer | 2012-03-21 12:36:49 +0000 | |
| commit | ec4c3b823609443b8e8c271a9d26285c8d862e1d (patch) | |
| tree | 505b836cd1afe96c5ef308e9497f0a6edc6cb61b /usr.bin/tmux/cmd-save-buffer.c | |
| parent | Switch ld.so's _dl_opendir functions to use a locally defined (diff) | |
| download | wireguard-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
