diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-03-04 12:51:02 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-03-04 12:51:02 +0000 |
commit | 808ab77c4d1ef4ffe604bbeff6bf30fd5d916f1d (patch) | |
tree | 3cc80ba3370922e37cfebd86527d7e1b4bdec08b /gnu/usr.sbin | |
parent | d090ded1bfaa31f95eceb0f8322a68ff29694131 (diff) |
Introduce and use buf_size(buf) instead of buf->wpos -- at least in the non
buf/imsg specific code. buf_close() will no force a truncation of the buffer
to the wpos but actually add code in imsg.c to detect and report such silly
behaviour. Makes the buf API a bit more sane.
Diffstat (limited to 'gnu/usr.sbin')
0 files changed, 0 insertions, 0 deletions