[Snowball-discuss] Can't get it to work

Martin Porter martin_porter@softhome.net
Fri, 04 Jan 2002 10:33:39 -0700


I got this message, not posted to snowball-discuss:


At 08:06 AM 12/27/01 -0600, Ilin, Roman wrote:
>Martin, Thank you for quick reply.
>I followed your instructions and finally got it to compile!!  I had to make
>one change in utilities.c:
>
>extern byte * increase_size(byte * p, int n)
>{   int new_size = /**-CAPACITY(p) +-**/ n + 20;
>
>    //added type casting to (byte * )
>    //could not compile in MSVC otherwise
>    byte * q = HEAD + (byte * ) malloc(HEAD + new_size + 1);
>
>
>    CAPACITY(q) = new_size;
>    memmove(q, p, CAPACITY(p)); lose_s(p); return q;
>}
>
>Roman.
>


This change in now in Snowball. It means that we now know Snowball compiles
and runs okay on Windows NT systems.

Martin Porter



_______________________________________________
Snowball-discuss mailing list
Snowball-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snowball-discuss