Date: Sun, 17 Jan 1999 20:39:37 +0100 (MET) From: Albrecht Kleine <java@ak.sax.de> To: java-linux@java.blackdown.org Cc: knecht@infox.ch, java@FreeBSD.ORG Subject: TYA bugfix patch / now TYA1.2v3 Message-ID: <199901171939.UAA06005@ak.sax.de>
next in thread | raw e-mail | index | archive | help
Hi,
just released TYA1.2v2, but after some hours follows 1.2v3 !!
Kazuyuki Shudo <shudoh@muraoka.info.waseda.ac.jp> sent
me a patch and Lukas Knecht <knecht@infox.ch> mailed
a bugreport: I've just fixed that.
So maybe you would like to apply the included patch generating
TYA1.2 version3
Cheers,
Albrecht
*****************************cut here**************************
diff -urN tya1.2v2/ChangeLog tya1.2v3/ChangeLog
--- tya1.2v2/ChangeLog Sun Jan 17 09:48:39 1999
+++ tya1.2v3/ChangeLog Sun Jan 17 20:23:42 1999
@@ -1,3 +1,16 @@
+Sun Jan 17 19:30:07 1999 Kazuyuki Shudo <shudoh@muraoka.info.waseda.ac.jp>
+ -tya.c
+ prevent that java_lang_Compiler_start(...)
+ runs more than once (i.e. at startup only) [due to GC!]
+
+Sun Jan 17 20:19:15 1999 Albrecht Kleine <kleine@ak.sax.de>
+ -tya.c
+ added bugfix RI-string end address [was introduced in #220]
+ tnx bugreport Lukas Knecht <knecht@infox.ch>
+
+ file #222
+ *** patch for TYA1.2v3 mailed on blackdown list ***
+-------------------------------------------------------------------
Sun Jan 17 09:47:34 1999 Albrecht Kleine <kleine@ak.sax.de>
-tya* : some common cleanup
diff -urN tya1.2v2/acconfig.h tya1.2v3/acconfig.h
--- tya1.2v2/acconfig.h Fri Jan 15 20:01:08 1999
+++ tya1.2v3/acconfig.h Sun Jan 17 20:24:28 1999
@@ -86,4 +86,4 @@
#define EASYEX
#endif
-#define TYAVER "1.2v2" // release version
+#define TYAVER "1.2v3" // release version
diff -urN tya1.2v2/config.h.in tya1.2v3/config.h.in
--- tya1.2v2/config.h.in Fri Jan 15 20:01:43 1999
+++ tya1.2v3/config.h.in Sun Jan 17 20:24:45 1999
@@ -79,4 +79,4 @@
#define EASYEX
#endif
-#define TYAVER "1.2v2" // release version
+#define TYAVER "1.2v3" // release version
diff -urN tya1.2v2/tya.c tya1.2v3/tya.c
--- tya1.2v2/tya.c Sun Jan 17 10:20:44 1999
+++ tya1.2v3/tya.c Sun Jan 17 20:11:28 1999
@@ -329,18 +329,23 @@
//
// this function does the init
//
-long java_lang_Compiler_start(int **XX)
+void java_lang_Compiler_start(void **XX)
{
- void* (*CCLinkVector)=(void*)*XX;
+ void* (*CCLinkVector)=*XX;
+
+ static int initialized = 0;
+ if (initialized) return;
+ initialized = 1;
+
lopen(); // logfile
#ifndef DEBUG
#ifdef FREEBSD
- lprintf(" TYA %s (for J%s / FreeBSD). Copyright (c) 1997,98 The TYA Team\n",TYAVER,JVER);
+ lprintf(" TYA %s (for J%s / FreeBSD). Copyright (c) 1997,98,99 The TYA Team\n",TYAVER,JVER);
#else
- lprintf(" TYA %s (for J%s / Linux). Copyright (c) 1997,98 The TYA Team\n",TYAVER,JVER);
+ lprintf(" TYA %s (for J%s / Linux). Copyright (c) 1997,98,99 The TYA Team\n",TYAVER,JVER);
#endif
#else
- dprintf(stderr," TYA %s-DEBUG (for J%s) loaded. Copyright (c) 1997,98 The TYA Team\n",TYAVER,JVER);
+ dprintf(stderr," TYA %s-DEBUG (for J%s) loaded. Copyright (c) 1997,98,99 The TYA Team\n",TYAVER,JVER);
#endif
lprintf(" Contact The TYA Team via Albrecht Kleine <kleine@ak.sax.de>\n");
dprintf(stderr,"------------ start java_lang_Compiler_start ---------\n");
@@ -370,7 +375,7 @@
}
#endif
PrepareExceptions();
- return 1L;
+ return;
}
@@ -476,7 +481,7 @@
break;
default:// reverse instruction string here we go from end back to start
ReverseCopyViaReversedScript(&local[EXTRALOCAL+EXTRAARGS],
- &((char*)mb->CompiledCodeInfo)[mb->CompiledCodeFlags>>8], /* last char RI-string*/
+ &((char*)mb->CompiledCodeInfo)[(mb->CompiledCodeFlags>>8) -1], /* last char RI-string*/
args_size,args,allspace);
break;
}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901171939.UAA06005>
