This patch fixes the bug. It applies to kaffe/kaffe/main.c.
Tested and works. You may close the bug.

Regards

Konstantinos
--- main.c.orig	2004-09-29 22:35:42.000000000 +0300
+++ main.c	2004-11-17 12:43:28.000000000 +0200
@@ -169,6 +169,12 @@
 		exit(1);
 	}
 
+	if (strstr(argv[farg], ".class") != NULL) {
+		fprintf(stderr,
+			"Please do not specify the .class extension\n");
+		exit(1);
+	}
+
 	/* Initialise */
 	JNI_CreateJavaVM(&global_vm, &global_env, &vmargs);
 
_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to