[adri@users.sourceforge.net: s27_adri squid/libbuf String.c,1.1.2.14,1.1.2.15 String.h,1.1.2.18,1.1.2.19 buf.c,1.1.2.5,1.1.2.6]

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 19 Dec 2007 00:58:40 -0700

And with this, Strings in this branch are now not NUL terminated.
They're explicitly A terminated so I'll potentially see things blow up
(or almost blow up) if the memory just happens to be NULed in the right
spot.

Argh, reimplementing basic string functions sucks; I will be glad when
I'm able to C++ify this. :)

I'd appreciate a review or two if anyone has any time.

Adrian

----- Forwarded message from Adrian Chadd <adri@users.sourceforge.net> -----

Update of cvs.devel.squid-cache.org:/cvsroot/squid/squid/libbuf

Modified Files:
      Tag: s27_adri
        String.c String.h buf.c
Log Message:
Rewrite a number of String operators to not require NUL-terminted strings; stop NUL-terminting
strings.

Strings are now "A" terminated. :)
Received on Wed Dec 19 2007 - 00:58:40 MST

This archive was generated by hypermail pre-2.1.9 : Mon Dec 31 2007 - 12:00:03 MST