summaryrefslogtreecommitdiff
path: root/src/buffer.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2001-11-26Fixed a problem with not buffering more than 2K (which is obviously aRobert James Kaes1-3/+6
problem. :)
2001-11-25makenewline() now copies the data into the structure rather than justRobert James Kaes1-24/+17
storing the pointer to the data. add_to_buffer() is now exported. Renamed writebuff() and readbuff() to write_buffer() and read_buffer().
2001-11-22Reformated text.Robert James Kaes1-17/+32
2001-11-05Removed the buffer_size() function and turned it into BUFFER_SIZE() macro.Robert James Kaes1-57/+54
Moved the struct buffer_s into the header file. Added more assert() calls to better document the assumptions the functions make. Removed incorrect code in remove_from_buffer() which was never actually called anyway.
2001-10-25Lowered the size of the read buffer to 2K since Ethernet seems to workRobert James Kaes1-4/+5
with 1400 byte segments.
2001-10-24Error message cleanup to make the information more informative.Robert James Kaes1-9/+5
2001-10-18Fixed a problem where a full buffer on the read side would cause theRobert James Kaes1-2/+2
connection to be closed.
2001-09-15Removed the log message when unable to allocate memory.Robert James Kaes1-5/+2
2001-09-14When logging an error indicate the file descriptor and the error number.Robert James Kaes1-6/+6
2001-09-11Switched the memory allocation for the large strings to heap based insteadRobert James Kaes1-7/+17
of stack based.
2001-09-11Style stuff.Robert James Kaes1-3/+2
2001-09-08Changed all the mallocs and callocs to use the new safemalloc andRobert James Kaes1-4/+4
safecalloc.
2001-09-07Error message cleanup.Robert James Kaes1-5/+10
2001-05-27Changed the types for various variables. Some the functions had theRobert James Kaes1-15/+15
variable types changed as well.
2001-05-23Added ASSERT statements.Robert James Kaes1-2/+23
2000-09-11Cleaned up the source so that the internal structure is no exposed by theRobert James Kaes1-142/+85
buffer.h header.
2000-03-31Added the working_* fields as a scratch pad for readline().Robert James Kaes1-1/+7
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young1-0/+308
which included commits to RCS files with non-trunk default branches.