[BACK]Return to sshpty.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshpty.c between version 1.17 and 1.18

version 1.17, 2006/03/19 18:51:19 version 1.18, 2006/03/20 18:14:02
Line 41 
Line 41 
  */   */
   
 int  int
 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)  pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen)
 {  {
         char buf[64];          char buf[64];
         int i;          int i;
Line 117 
Line 117 
 /* Changes the window size associated with the pty. */  /* Changes the window size associated with the pty. */
   
 void  void
 pty_change_window_size(int ptyfd, int row, int col,  pty_change_window_size(int ptyfd, u_int row, u_int col,
         int xpixel, int ypixel)          u_int xpixel, u_int ypixel)
 {  {
         struct winsize w;          struct winsize w;
   
           /* may truncate u_int -> u_short */
         w.ws_row = row;          w.ws_row = row;
         w.ws_col = col;          w.ws_col = col;
         w.ws_xpixel = xpixel;          w.ws_xpixel = xpixel;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18