diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-02-01 21:25:19 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-02-01 21:25:19 +0000 |
commit | 11750cd51d0158acbff6eca77fe6350328f2f744 (patch) | |
tree | 644f3c9052d67220d38f6cdf5f9481fc3a7031b7 /usr.sbin/syslogd | |
parent | fbfc7897c23382d51bf9270c5986ea78fc80b41e (diff) |
Introduce dynmaic buffers. Dynamic buffers are realloced() until max is
hit. This makes it possible to alloc a buffer based on the max packet size
and filling it up slowly till the packet is finished or *sigh* an overflow
is detected. While doing that switch most sizes from ssize_t to the unsigned
size_t as this makes more sense. The ssize_t -> size_t change is mostly from
henning@
Diffstat (limited to 'usr.sbin/syslogd')
0 files changed, 0 insertions, 0 deletions