URLStream and HTTP/202 response code

2005-07-01 Thread Alexander Sahler
Hi. I found that URLStream class is not able to deal with HTTP/202 response code. It would be nice if an application programm could inquire the HTTP response code rather than a self defined status code of CommonC++ (or at least CommonC++ should recognize response code 'groups' like '2?? is su

Re: bug in String class

2005-07-01 Thread David Sugar
I think your right. Migel Nick wrote: Hi! I think there is a bug in string.cpp in commoncpp2-1.3.12 and previous versions. size_t String::setSize(size_t chars) { if(chars <= minsize && !isBig()) return minsize; if(chars <= slotlimit) { chars = chars / slotsize; ++chars *= sl

bug in String class

2005-07-01 Thread Migel Nick
Hi! I think there is a bug in string.cpp in commoncpp2-1.3.12 and previous versions. size_t String::setSize(size_t chars) { if(chars <= minsize && !isBig()) return minsize; if(chars <= slotlimit) { chars = chars / slotsize; ++chars *= slotsize; //!!! HERE !!! // if (chars %