From: James S. <jsi...@tr...> - 2001-06-19 21:15:29
|
> I meant a more unified solution as it applied to the input code. Okay. Misunderstood you. > The patch is simply to clean up some of the input code and to avoid code > duplication and a few potential oopses from occasionally dereferencing a > NULL pointer. Is this a seperate patch or the patch from Charles? I looked at his patch and it has only one line change in input.c. Very nice patch. After I'm done with power management today I will incorporate it. Probable some time tomorrow unless Vojtech has any objections. @@ -354,7 +354,8 @@ while (*handlerptr && (*handlerptr != handler)) handlerptr = &((*handlerptr)->next); - *handlerptr = (*handlerptr)->next; + if(*handlerptr) + *handlerptr = (*handlerptr)->next; |