On Mon, 6 Oct 1997, David Klasinc wrote: > First get rid of the send_to_char!!! Check the George's patch page! And >convert all send_to_char's to send_to_charf! You will get rid of A LOT of >buf's and buf1's and who knows what else *giggle*. That was the intention of the patches, starting with the log() patches. > Ok, now something that's bothering me.. :) How will this constant >allocation of the small memory chunks affect the memory fragentation? I'm >not an expert, but,... George? :) release_buffer() doesn't free memory, ever. The only way to free a buffer is for it to be unused for a period of time (or if you explicitly kill it) >Hm, ok last question for this post... Now I have all my send_to_char's >send_to_charf, I don't like that f being always around... It looks UG-LEE! >;> I know that I could like search and replace for the send_to_charf with >sed, but I never used it and I don't have man pages for it... Not even for >awk and other tools like that... *scratch* Anyone knows how to use it, or >where to get man pages? :) sed 's/send_to_charf/send_to_char/g' file > newfile send_to_charf is admittedly odd looking but it fits printf and fprintf and family. -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST