aboutsummaryrefslogtreecommitdiff
path: root/libpipe/pq.c
Commit message (Collapse)AuthorAgeFilesLines
* (pq_queue): Initialize packet->buf_vm_alloced.Miles Bader1996-07-011-1/+2
|
* (packet_read): If there's lots of empty space at the beginning of aMiles Bader1996-01-231-3/+22
| | | | vm_alloced buffer, deallocate it.
* (packet_realloc): Reflect in the new values of BUF_START & BUF_END that we'veMiles Bader1996-01-221-2/+2
| | | | removed any empty space at the beginning of BUF.
* (packet_size_adjust): Function removed.Miles Bader1996-01-141-39/+33
| | | | | | (packet_new_size): New function. (packet_read): Re-arrange to be slightly less confusing. Reverse start-past-buf-beginning test that may have leaked memory.
* (pq_queue): Initialize the ports_alloced field.Miles Bader1996-01-121-5/+9
| | | | | (packet_read): When a page-aligned read consumes the whole buffer, but there's a non-page-multiple amount available, don't let buf_len go negative.
* (packet_read): Don't leave PACKET in a fucked up state when it's vm_allocate'dMiles Bader1995-09-071-13/+30
| | | | but doesn't a page-multiple amount of data and we're reading everything.
* Initial revisionMiles Bader1995-07-261-0/+394