From: Konstantin K. <klk...@ns...> - 2002-04-30 10:07:11
|
> So code is right, except of incrementing > of function argument > static void pad_spaces ( > TDBB tdbb, > CHARSET_ID charset, > UCHAR *ptr, > USHORT len) > *ptr++ = > I make new local variable and assign it to ptr > and make increment on it. > My server still crashes in point of filling charset spaces. > > > > Since you have CVS commit rights, you could handle it yourself. Just make > a > > change, test it on your computer and then commit to the main tree (please > to > > both FB1 and FB2). It would be faster than waiting for someone to do the > > same thing. I remove incrementing agr - ptr from pad_spaces add return if len of string < 1. And add compilation option -fwritable-strings to my prefix.solx86. This all help me, bug dissapear . I commit changes to both tree. -- Konstantin Kuznetsov, phD http://www.FireBirdSQL.org |