Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-02-13 | Removed unnecessary casts (mostly dealing with memory allocation.) I | Robert James Kaes | |
should never have added them in the first place. They don't really buy anything, and they can hide bugs. | |||
2003-07-31 | Added appropriate casts from (void*) so that the code will compile | Robert James Kaes | |
cleanly with a C++ compiler. (Tested using GCC 3.3) | |||
2002-05-24 | Fixed a tonne of spelling mistakes. | Robert James Kaes | |
2002-05-23 | Fixed up the header includes for the new layout. | Robert James Kaes | |
Changed one line of code to make it explicit how the pointers are to be updated. | |||
2002-05-14 | Moved the definition of the struct buffer_s into the buffer.c file and out | Robert James Kaes | |
of the buffer.h file. This also required the removal of the BUFFER_SIZE macro, and replace it with the buffer_size() function. | |||
2001-12-19 | Changed the calls to write() to send() so that we can use send(..., | Robert James Kaes | |
MSG_NOSIGNAL) and not get signals sent to the process. (easier for debugging and the system doesn't need to worry about signals.) | |||
2001-11-26 | Fixed a problem with not buffering more than 2K (which is obviously a | Robert James Kaes | |
problem. :) | |||
2001-11-25 | makenewline() now copies the data into the structure rather than just | Robert James Kaes | |
storing the pointer to the data. add_to_buffer() is now exported. Renamed writebuff() and readbuff() to write_buffer() and read_buffer(). | |||
2001-11-22 | Reformated text. | Robert James Kaes | |
2001-11-05 | Removed the buffer_size() function and turned it into BUFFER_SIZE() macro. | Robert James Kaes | |
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-25 | Lowered the size of the read buffer to 2K since Ethernet seems to work | Robert James Kaes | |
with 1400 byte segments. | |||
2001-10-24 | Error message cleanup to make the information more informative. | Robert James Kaes | |
2001-10-18 | Fixed a problem where a full buffer on the read side would cause the | Robert James Kaes | |
connection to be closed. | |||
2001-09-15 | Removed the log message when unable to allocate memory. | Robert James Kaes | |
2001-09-14 | When logging an error indicate the file descriptor and the error number. | Robert James Kaes | |
2001-09-11 | Switched the memory allocation for the large strings to heap based instead | Robert James Kaes | |
of stack based. | |||
2001-09-11 | Style stuff. | Robert James Kaes | |
2001-09-08 | Changed all the mallocs and callocs to use the new safemalloc and | Robert James Kaes | |
safecalloc. | |||
2001-09-07 | Error message cleanup. | Robert James Kaes | |
2001-05-27 | Changed the types for various variables. Some the functions had the | Robert James Kaes | |
variable types changed as well. | |||
2001-05-23 | Added ASSERT statements. | Robert James Kaes | |
2000-09-11 | Cleaned up the source so that the internal structure is no exposed by the | Robert James Kaes | |
buffer.h header. | |||
2000-03-31 | Added the working_* fields as a scratch pad for readline(). | Robert James Kaes | |
2000-02-16 | This commit was generated by cvs2svn to compensate for changes in r2, | Steven Young | |
which included commits to RCS files with non-trunk default branches. |