Re: kernel 2.1.{100,101,102} not booting

jepler-linux@zero.aec.at
Wed, 20 May 1998 08:05:20 +0200


On Wed, May 20, 1998 at 08:39:47AM +0200, Ruud de Rooij wrote:
> I had the exact same problem. The following patch fixed it.
>
> --- linux/drivers/isdn/hisax/config.c.orig Sun Apr 19 17:53:24 1998
> +++ linux/drivers/isdn/hisax/config.c Sun Apr 19 17:51:57 1998
> @@ -394,7 +394,7 @@
> }
> i++;
> }
> - if (strlen(str)) {
> + if (str && *str) {
> strcpy(HiSaxID, str);
> HiSax_id = HiSaxID;
> } else {
>
> Greetings,
>
> Ruud.

Is this because 'str' can legitimately be NULL, or are you really just
working around a compiler bug? (wish I had the source to check)

Jeff

-- 
Jeff Epler jepler@inetnebr.com (an american student living in France)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu