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

Diff for /src/usr.bin/ssh/ssh-agent.c between version 1.131 and 1.132

version 1.131, 2006/03/20 18:26:55 version 1.132, 2006/03/25 00:05:41
Line 101 
Line 101 
 pid_t parent_pid = -1;  pid_t parent_pid = -1;
   
 /* pathname and directory for AUTH_SOCKET */  /* pathname and directory for AUTH_SOCKET */
 char socket_name[1024];  char socket_name[MAXPATHLEN];
 char socket_dir[1024];  char socket_dir[MAXPATHLEN];
   
 /* locking */  /* locking */
 int locked = 0;  int locked = 0;
Line 795 
Line 795 
                 }                  }
         old_alloc = sockets_alloc;          old_alloc = sockets_alloc;
         new_alloc = sockets_alloc + 10;          new_alloc = sockets_alloc + 10;
         if (sockets)          sockets = xrealloc(sockets, new_alloc * sizeof(sockets[0]));
                 sockets = xrealloc(sockets, new_alloc * sizeof(sockets[0]));  
         else  
                 sockets = xmalloc(new_alloc * sizeof(sockets[0]));  
         for (i = old_alloc; i < new_alloc; i++)          for (i = old_alloc; i < new_alloc; i++)
                 sockets[i].type = AUTH_UNUSED;                  sockets[i].type = AUTH_UNUSED;
         sockets_alloc = new_alloc;          sockets_alloc = new_alloc;

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132