[kaffe] minor fix to cvs head

Dalibor Topic robilad at kaffe.org
Tue Jul 6 08:59:44 PDT 2004


jserv at linux2.cc.ntu.edu.tw wrote:
> Dear all,
> 
>   I just cvs checkout from cvs head, and I found it needs the
> small patch to get compiled:
> 
> Index: kaffe/kaffevm/jni/jni-base.c
> ===================================================================
> RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/jni/jni-base.c,v
> retrieving revision 1.2
> diff -u -r1.2 jni-base.c
> --- kaffe/kaffevm/jni/jni-base.c        5 Jul 2004 16:40:46 -0000       1.2
> +++ kaffe/kaffevm/jni/jni-base.c        6 Jul 2004 03:38:10 -0000
> @@ -62,7 +62,7 @@
> 
>    for (i = 0; i < nOptions; i++)
>      {
> -      const char *opt = options[i].optionString;
> +      char *opt = options[i].optionString;
> 
>        if (!strcmp(opt, "vfprintf"))
>         args->vfprintf = (jint (*)(FILE*,const char *,va_list))options[i].extraInfo;
> 
> Thanks to Guilhem Lavaux, The JNI 1.2 related stuff is very exciting. :-)

Thanks Jim, I applied the patch, and that fixed the build again for me.
And thanks to Guilhem for making the JNI 1.2 merge!

cheers,
dalibor topic




More information about the kaffe mailing list