Reactive Keyboard Segmentation Fault.
Mark James
jamesm at cpsc.ucalgary.ca
Fri Oct 27 14:45:26 AEST 1989
There is a bug in the posted source for the Reactive Keyboard which causes
it to dump core on some systems. To fix it, replace :
In file "parse_keys.c" line 569
while(*b){
if((*b<32) || (*b==127)){
*a++='^';
*a++=(*b==127)?b++,'?':(*b++)+'@';
}
*a++ = *b++;
}
with
while(*b){
if((*b<32) || (*b==127)){
*a++='^';
*a++=(*b==127)?b++,'?':(*b++)+'@';
}
-> else *a++ = *b++;
}
Many thanks to Gert Florijn for finding a fix to this problem.
M.
jamesm at cpsc.ucalgary.ca
More information about the Comp.sources.bugs
mailing list