summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2017-01-05 11:47:03 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2017-01-05 11:47:03 +0000
commit004d74ddb0a738c454c384dbf32e51fa3fa4f386 (patch)
tree1a069d4af8a11640de119f75ac1e65807aa8d9a3 /usr.sbin
parent1197886a3ec36e59181c881b0b35834155919d8f (diff)
Don't let producer index become equal with the consumer when writing
A nod to the re.c commit by dlg@, perhaps pure paranoia, but works nevertheless. While here replace a more expensive modulo operation with a subtraction.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions