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

Diff for /src/usr.bin/ssh/servconf.c between version 1.205 and 1.206

version 1.205, 2010/03/12 01:06:25 version 1.206, 2010/03/12 11:37:40
Line 441 
Line 441 
         if ((cwd = getcwd(NULL, 0)) == NULL)          if ((cwd = getcwd(NULL, 0)) == NULL)
                 fatal("%s: getcwd: %s", __func__, strerror(errno));                  fatal("%s: getcwd: %s", __func__, strerror(errno));
         xasprintf(&ret, "%s/%s", cwd, expanded);          xasprintf(&ret, "%s/%s", cwd, expanded);
         xfree(cwd);          free(cwd);
         xfree(expanded);          xfree(expanded);
         return ret;          return ret;
 }  }
Line 1185 
Line 1185 
                         fatal("%s line %d: missing file name.",                          fatal("%s line %d: missing file name.",
                             filename, linenum);                              filename, linenum);
                 if (*activep && *charptr == NULL) {                  if (*activep && *charptr == NULL) {
                         *charptr = derelativise_path(arg);                          *charptr = tilde_expand_filename(arg, getuid());
                         /* increase optional counter */                          /* increase optional counter */
                         if (intptr != NULL)                          if (intptr != NULL)
                                 *intptr = *intptr + 1;                                  *intptr = *intptr + 1;

Legend:
Removed from v.1.205  
changed lines
  Added in v.1.206