On Tue, Feb 18, 2003 at 03:23:40PM +1100, Martin Pool wrote: > On 18 Feb 2003, [EMAIL PROTECTED] wrote: > > > What exactly do you want to do here ? I'm not clear what > > you mean? > > The thing I noticed is that StrCaseCmp (and indeed many charcnv > function) truncate strings to 1024 characters. > > I got here following a Valgrind assertion which may or may not be > related, but it certainly seems like a bug. > > What I was proposing in the first instance was to use talloced or > malloced buffers rather than a fixed 1024 byte space. There are > already some charcnv routines that do this and in any case it is > straightforward to do it for other cases using the standard > measure-allocate-copy method.
You're not talking about allocating them for every call are you ? We call these functions a lot..... Jeremy.