Re: wxWindows Build
От | Andreas Pflug |
---|---|
Тема | Re: wxWindows Build |
Дата | |
Msg-id | 3EFD546A.40502@web.de обсуждение исходный текст |
Ответ на | Re: wxWindows Build ("Dave Page" <dpage@vale-housing.co.uk>) |
Список | pgadmin-hackers |
Dave Page wrote: >It's rumoured that Andreas Pflug once said: > > > >>We need our own version at the moment, which may be based on 2003-06-07 >> or 2003-06-18, and has the additional wxString patch to support that's >> still open. >> >> > >Shal we go with the later one then if we know it's good, and stick a >patched tarball on Snake? >Regards, Dave > > Yes, and apply the patch appended to this mail. Regards, Andreas Index: string.cpp =================================================================== RCS file: /pack/cvsroots/wxwindows/wxWindows/src/common/string.cpp,v retrieving revision 1.174 diff -c -r1.174 string.cpp *** string.cpp 2003/06/15 19:33:04 1.174 --- string.cpp 2003/06/28 08:28:27 *************** *** 264,272 **** } // MB2WC wants the buffer size, not the string length ! if ( conv.MB2WC(m_pchData, psz, nLen + 1) != (size_t)-1 ) { // initialized ok m_pchData[nLen] = 0; return; } --- 264,275 ---- } // MB2WC wants the buffer size, not the string length ! nLen = conv.MB2WC(m_pchData, psz, nLen); ! ! if (nLen != (size_t)-1 ) { // initialized ok + GetStringData()->nDataLength = nLen; m_pchData[nLen] = 0; return; }
В списке pgadmin-hackers по дате отправления: