mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* posix.c (scm_getpwuid): If we can't find an entry, return our
own message, instead of using scm_syserror --- the getpwMUMBLE functions don't set `errno' to anything interesting.
This commit is contained in:
parent
0553d3a207
commit
20752a3415
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ scm_getpwuid (user)
|
|||
entry = getpwnam (SCM_ROCHARS (user));
|
||||
}
|
||||
if (!entry)
|
||||
scm_syserror (s_getpwuid);
|
||||
scm_misc_error (s_getpwuid, "entry not found", SCM_EOL);
|
||||
|
||||
ve[0] = scm_makfrom0str (entry->pw_name);
|
||||
ve[1] = scm_makfrom0str (entry->pw_passwd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue