[project @ 2005-02-28 23:43:20 by unknown_lamer]
authorunknown_lamer <unknown>
Mon, 28 Feb 2005 23:43:20 +0000 (23:43 +0000)
committerunknown_lamer <unknown>
Mon, 28 Feb 2005 23:43:20 +0000 (23:43 +0000)
commit005c31fbe32fda69c46d79187f5d76d7ba944d08
treececd53e49a4e942bde8641a707ce666a7f53fbf5
parentc1dcc49531930194b08d594147ac512e88f1fa16
[project @ 2005-02-28 23:43:20 by unknown_lamer]

This should fix a few issues with String handling

2005-02-28  Clinton Ebadi  <clinton@unknownlamer.org>

* source/Socket.C (readLine): return String (buf.c_str ()) instead
of String (buf) so that only the buffer up to the first null is returned
(readLine): Added a comment explaining the usage of buf
(readLine): Changed type of length (std::string::size_type instead
of std::size_t)

* source/String.C: Reimplemented String on top of std::string to
fix a few bugs and potential memory leaks
(toLower): use Utils::to_lower
(toUpper): Use Utils::to_upper
(trim): Use Utils::trim_str

* source/String.H: removed srep, replaced it with a std::string (my_string)
ChangeLog
TODO
source/Socket.C
source/String.C
source/String.H