~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to cmd-line-utils/readline/parens.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
  else
116
116
    {
117
117
#if defined (HAVE_SELECT)
118
 
      int orig_point, match_point, ready;
 
118
      int orig_point, match_point;
119
119
      struct timeval timer;
120
120
      fd_set readfds;
121
121
 
136
136
      orig_point = rl_point;
137
137
      rl_point = match_point;
138
138
      (*rl_redisplay_function) ();
139
 
      ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);
 
139
      select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);
140
140
      rl_point = orig_point;
141
141
#else /* !HAVE_SELECT */
142
142
      _rl_insert_char (count, invoking_key);