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 |