[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Patch for utilities/dbootstrap/kbdconfig.c



#include <hallo.h>
* Ross Vumbaca [Tue, Jan 14 2003, 09:49:53PM]:

> Here's a patch which fixes the incorrect usage of "strstr" for PowerPC 
> in kbdconfig.c - which causes the wrong keyboard choices to appear on 
> non-apus PowerPC hardware.

a) please, create a new thread and do not sent a follow-up mail for
existing one

> --- boot-floppies-cvs-original/utilities/dbootstrap/kbdconfig.c	Tue Aug 13 01:32:30 2002
> +++ boot-floppies-cvs/utilities/dbootstrap/kbdconfig.c	Tue Jan 14 21:22:51 2003
> @@ -259,7 +259,7 @@
>          nchoices = nchoices_ami;
>          prefix="amiga/";
>      }
> -    else if (strstr(Arch2, "PowerMac") == 0) {
> +    else if (strstr(Arch2, "PowerMac")) {
>          choices = keymaps_mac;
>          nchoices = nchoices_mac;
>          prefix = "i386/";

b) You suggest an exact opposite of the previous behaviour, and my
judgement says that the it was right. So could you find someone to
confirm that there was a problem and your change fix it _without_
breaking any stuff, anywhere?

Gruss/Regards,
Eduard.
-- 
LINUX wird nie zum meistinstallierten System -
so oft wie man Win98 neu installieren darf!



Reply to: