summaryrefslogtreecommitdiffstats
path: root/posix.c
diff options
context:
space:
mode:
authorThomas Bushnell <tb@debian.org>2006-04-26 23:01:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:32 -0800
commit20402610bf881f67b22eb1600340d8284556ae56 (patch)
tree6a19e5a1b2cc22dccd1003787a70b751f7da4763 /posix.c
parent5846f77421a975897a31d6fbf3f520aab385cea3 (diff)
parentae2b295c7deaf2d7c18ad1ed9b6050970e56bae7 (diff)
downloadscm-20402610bf881f67b22eb1600340d8284556ae56.tar.gz
scm-20402610bf881f67b22eb1600340d8284556ae56.zip
Import Debian changes 5e2-1debian/5e2-1
scm (5e2-1) unstable; urgency=low * New upstream release. * Change to continue.h from version 5e1-2 repeated here.
Diffstat (limited to 'posix.c')
-rw-r--r--posix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/posix.c b/posix.c
index 229384a..e6dab25 100644
--- a/posix.c
+++ b/posix.c
@@ -178,8 +178,8 @@ SCM l_pwinfo(user)
struct passwd *entry;
SCM *ve = VELTS(ans);
DEFER_INTS;
- if UNBNDP(user) SYSCALL(entry = getpwent(););
- else if INUMP(user) SYSCALL(entry = getpwuid(INUM(user)););
+ if (UNBNDP(user)) SYSCALL(entry = getpwent(););
+ else if (INUMP(user)) SYSCALL(entry = getpwuid(INUM(user)););
else {
ASRTER(NIMP(user) && STRINGP(user), user, ARG1, s_pwinfo);
SYSCALL(entry = getpwnam(CHARS(user)););
@@ -204,8 +204,8 @@ SCM l_grinfo(name)
struct group *entry;
SCM *ve = VELTS(ans);
DEFER_INTS;
- if UNBNDP(name) SYSCALL(entry = getgrent(););
- else if INUMP(name) SYSCALL(entry = getgrgid(INUM(name)););
+ if (UNBNDP(name)) SYSCALL(entry = getgrent(););
+ else if (INUMP(name)) SYSCALL(entry = getgrgid(INUM(name)););
else {
ASRTER(NIMP(name) && STRINGP(name), name, ARG1, s_grinfo);
SYSCALL(entry = getgrnam(CHARS(name)););