Changeset 3253 for trunk


Ignore:
Timestamp:
Apr 30, 2007, 1:18:41 AM (18 years ago)
Author:
bird
Message:

Applied readline-51-001

Location:
trunk/essentials/app-shells/bash/lib/readline
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/app-shells/bash/lib/readline/readline.c

    r3248 r3253  
    720720          rl_dispatching = 1;
    721721          RL_SETSTATE(RL_STATE_DISPATCHING);
    722           r = (*map[key].function)(rl_numeric_arg * rl_arg_sign, key);
     722          (*map[key].function)(rl_numeric_arg * rl_arg_sign, key);
    723723          RL_UNSETSTATE(RL_STATE_DISPATCHING);
    724724          rl_dispatching = 0;
  • trunk/essentials/app-shells/bash/lib/readline/text.c

    r3231 r3253  
    10721072     int count, key;
    10731073{
    1074   int r;
    1075 
    10761074  if (count < 0)
    10771075    return (_rl_rubout_char (-count, key));
     
    10911089        rl_forward_byte (count, key);
    10921090
    1093       r = rl_kill_text (orig_point, rl_point);
     1091      rl_kill_text (orig_point, rl_point);
    10941092      rl_point = orig_point;
    1095       return r;
    10961093    }
    10971094  else
     
    11001097
    11011098      new_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
    1102       return (rl_delete_text (rl_point, new_point));
    1103     }
     1099      rl_delete_text (rl_point, new_point);
     1100    }
     1101  return 0;
    11041102}
    11051103
Note: See TracChangeset for help on using the changeset viewer.