From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Weird message and patch Date: Tue, 22 Jul 2003 06:59:32 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <3F1CA894.2050102@aknet.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040802030101030408080605" Return-path: List-Id: To: linux-msdos@vger.kernel.org This is a multi-part message in MIME format. --------------040802030101030408080605 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello. hector Colina wrote: > 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). --------------040802030101030408080605 Content-Type: text/plain; name="msg.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="msg.diff" --- src/plugin/kbd_unicode/keymaps.c Sun Jul 20 17:43:22 2003 +++ src/plugin/kbd_unicode/keymaps.c Mon Jul 21 21:45:58 2003 @@ -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; } --- src/env/video/X.c Sun Jul 20 17:43:22 2003 +++ src/env/video/X.c Mon Jul 21 21:47:49 2003 @@ -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; } --------------040802030101030408080605--