/[cvs]/ccvs/src/expand_path.c
ViewVC logotype

Diff of /ccvs/src/expand_path.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by dprice, Wed Aug 31 16:51:01 2005 UTC revision 1.38 by scjones, Fri Sep 30 16:36:53 2005 UTC
# Line 337  expand_path (const char *name, const cha Line 337  expand_path (const char *name, const cha
337              else              else
338                  error (0, 0, "%s:tilde expansion not supported on this system",                  error (0, 0, "%s:tilde expansion not supported on this system",
339                         file);                         file);
340              return NULL;              goto error_exit;
341  #else  #else
342              struct passwd *ps;              struct passwd *ps;
343              ps = getpwnam (buf + d);              ps = getpwnam (buf + d);
344              if (ps == 0)              if (ps == NULL)
345              {              {
346                  if (line)                  if (line)
347                      error (0, 0, "%s:%d: no such user %s",                      error (0, 0, "%s:%d: no such user %s",
348                             file, line, buf + d);                             file, line, buf + d);
349                  else                  else
350                      error (0, 0, "%s: no such user %s", file, buf + d);                      error (0, 0, "%s: no such user %s", file, buf + d);
351                  return NULL;                  goto error_exit;
352              }              }
353              e = ps->pw_dir;              e = ps->pw_dir;
354  #endif  #endif

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26