diff options
author | Jim Blandy <jimb@red-bean.com> | 1998-10-03 14:10:18 +0000 |
---|---|---|
committer | Jim Blandy <jimb@red-bean.com> | 1998-10-03 14:10:18 +0000 |
commit | 20752a3415cdce8988575b0a0a61f7abd440b794 (patch) | |
tree | 55c726f7cc21162ac5a2d3b05bc4d48fd12de811 | |
parent | 0553d3a207a04a77bd40cb7b1cf881be4ac3ccf9 (diff) | |
download | guile-20752a3415cdce8988575b0a0a61f7abd440b794.tar.gz |
* 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.
-rw-r--r-- | libguile/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/posix.c b/libguile/posix.c index 585b2471d..e35c640b5 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -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); |