[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Wich patchlevel?!
This little patch fixes the anoying version problem!?
It simply shows the megapatch level in the welcome message of MiNT!
I, and maybe others, would appreciate if mr MEGAPATCH would change the
patchlevel in version.h when he releases a new megapatch.
----
d93rkr@t.hfb.se (Robert Krenn) _/_/_/ _/_/_/ _/_/_/ _/_/ _/ LYNX
tel: +46-243224839 _/ _/ _/ _/ _/ _/ _/ _/ STm
University of Borlange, Sweden _/_/_/ _/ _/_/_/ _/_/ _/ STe
Finger me for my public PGP-Key _/ _/ _/ _/ _/ _/ _/ _/ F-030
This patch is relative to megapatch h7.
-------8<--------- cut --------------
--- raw_mint//main.c Wed Jul 27 21:24:36 1994
+++ mint//main.c Wed Jul 27 21:21:36 1994
@@ -679,7 +679,7 @@
/* greetings */
Cconws(greet1);
- ksprintf(buf, VERS_STRING, MAJ_VERSION, MIN_VERSION);
+ ksprintf(buf, VERS_STRING, MAJ_VERSION, MIN_VERSION,PATCH_LEVEL);
Cconws(buf);
Cconws(greet2);
--- raw_mint//version.h Wed Sep 15 00:09:00 1993
+++ mint//version.h Wed Jul 27 21:21:36 1994
@@ -1,12 +1,13 @@
#define MAJ_VERSION 1
#define MIN_VERSION 10
+#define PATCH_LEVEL "h7"
#ifndef MULTITOS
#define BETA
#endif
#ifdef BETA
-#define VERS_STRING "%d.%02d BETA"
+#define VERS_STRING "%d.%02d%s BETA"
#else
-#define VERS_STRING "%d.%02d"
+#define VERS_STRING "%d.%02d%s"
#endif