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

Diff for /src/usr.bin/ssh/Attic/tildexpand.c between version 1.8 and 1.8.2.1

version 1.8, 2000/09/07 20:27:55 version 1.8.2.1, 2001/02/16 20:13:23
Line 14 
Line 14 
 RCSID("$OpenBSD$");  RCSID("$OpenBSD$");
   
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "ssh.h"  #include "log.h"
   #include "tildexpand.h"
   
 /*  /*
  * Expands tildes in the file name.  Returns data allocated by xmalloc.   * Expands tildes in the file name.  Returns data allocated by xmalloc.
Line 24 
Line 25 
 tilde_expand_filename(const char *filename, uid_t my_uid)  tilde_expand_filename(const char *filename, uid_t my_uid)
 {  {
         const char *cp;          const char *cp;
         unsigned int userlen;          u_int userlen;
         char *expanded;          char *expanded;
         struct passwd *pw;          struct passwd *pw;
         char user[100];          char user[100];

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.8.2.1