diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-03-03 09:36:27 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-03-03 09:36:27 +0000 |
commit | 10be96f2d3f09efc66492720718c3dedc5ed5657 (patch) | |
tree | 4adfdf1f52b3d94a4d5217e5cf78dbe3edf74007 /usr.bin/tmux/tty.c | |
parent | c4a6567d1168a9e2c74534ebe286c8403c7fb54e (diff) |
While we guarantee that a zero-filled sem_t variable will trigger
EINVAL errors, a sem_t on the stack may have garbage, so make the
tests portable by moving the sem_t from function to file scope.
problem found by miod@
Diffstat (limited to 'usr.bin/tmux/tty.c')
0 files changed, 0 insertions, 0 deletions