HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0553d3a
)
* posix.c (scm_getpwuid): If we can't find an entry, return our
author
Jim Blandy
<jimb@red-bean.com>
Sat, 3 Oct 1998 14:10:18 +0000
(14:10 +0000)
committer
Jim Blandy
<jimb@red-bean.com>
Sat, 3 Oct 1998 14:10:18 +0000
(14:10 +0000)
own message, instead of using scm_syserror --- the getpwMUMBLE
functions don't set `errno' to anything interesting.
libguile/posix.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/posix.c
b/libguile/posix.c
index
585b247
..
e35c640
100644
(file)
--- 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);