Skip to contentSkip to conversation

Weird message and patch

DISCUSSION Stas Sergeev 1 participant 1 message Jul 22, 2003

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line · hector Colina
euridice:/home/hector/dosemu-1.1.5# patch -p0 -s < ../patch

Use -p1 instead. Or update to 1.1.5.6.
And apply the attached patch also (with -p0).

plugin/kbd_unicode/keymaps.c +2 -1
@@ -2369,7 +2369,8 @@
 	
 	fd = getfd();
 	if(fd < 0) {
-		fprintf(stderr, "no console\n");
+		error("Unable to open console to evaluate the keyboard map.\n"
+		      "Please specify your keyboard map explicitly via the $_layout option\n");
 		return 1;
 	}
 	
env/video/X.c +2 -2
@@ -3407,10 +3407,10 @@
   if (strlen(p)) {
     font = XLoadQueryFont(display, p);
     if(font == NULL) {
-      error("X: Unable to open font \"%s\", using builtin", p);
+      error("X: Unable to open font \"%s\", using builtin\n", p);
     }
     else if(font->min_bounds.width != font->max_bounds.width) {
-      error("X: Font \"%s\" isn't monospaced, using builtin", p);
+      error("X: Font \"%s\" isn't monospaced, using builtin\n", p);
       XFreeFont(display, font);
       font = NULL;
     }