[BACK]Return to cmd-find.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-find.c between version 1.64 and 1.65

version 1.64, 2018/05/09 07:50:03 version 1.65, 2018/05/28 11:50:47
Line 112 
Line 112 
                 return (NULL);                  return (NULL);
   
         RB_FOREACH(wp, window_pane_tree, &all_window_panes) {          RB_FOREACH(wp, window_pane_tree, &all_window_panes) {
                 if (strcmp(wp->tty, c->ttyname) == 0)                  if (wp->fd != -1 && strcmp(wp->tty, c->ttyname) == 0)
                         break;                          break;
         }          }
         if (wp != NULL)          if (wp != NULL)
Line 223 
Line 223 
 }  }
   
 /*  /*
  * Find the best winlink for a window (the current if it contains the pane,   * Find the best winlink for a window (the current if it contains the window,
  * otherwise the first).   * otherwise the first).
  */   */
 static int  static int
Line 919 
Line 919 
   
                         cmd_find_log_state(__func__, fs);                          cmd_find_log_state(__func__, fs);
                         return (0);                          return (0);
                   }
                   else {
                           log_debug("%s: session $%u does not have pane %%%u",
                               __func__, s->id, wp->id);
                 }                  }
         }          }
   

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65