summaryrefslogtreecommitdiff
path: root/libguile/posix.c
diff options
context:
space:
mode:
authorGreg J. Badros <gjb@cs.washington.edu>1999-12-12 19:24:29 +0000
committerGreg J. Badros <gjb@cs.washington.edu>1999-12-12 19:24:29 +0000
commit156dcb091b3fe1c1e60e304b86fd11e7e0a00772 (patch)
tree74abce0544cdbd1176f19bfd05ef3570a1e49a31 /libguile/posix.c
parenta9967b3dbf03af3e508a5a144056ba57d7bf1be0 (diff)
downloadguile-156dcb091b3fe1c1e60e304b86fd11e7e0a00772.tar.gz
* *.c, srcprop.h: Use SCM_BOOL(f) instead of (f? SCM_BOOL_T:
SCM_BOOL_F) and use SCM_NEGATE_BOOL(f) instead of (f? SCM_BOOL_F: SCM_BOOL_T).
Diffstat (limited to 'libguile/posix.c')
-rw-r--r--libguile/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/posix.c b/libguile/posix.c
index d224dd16c..4e34eca09 100644
--- a/libguile/posix.c
+++ b/libguile/posix.c
@@ -960,7 +960,7 @@ GUILE_PROC (scm_access, "access?", 2, 0, 0,
path = scm_makfromstr (SCM_ROCHARS (path), SCM_ROLENGTH (path), 0);
SCM_VALIDATE_INT(2,how);
rv = access (SCM_ROCHARS (path), SCM_INUM (how));
- return rv ? SCM_BOOL_F : SCM_BOOL_T;
+ return SCM_NEGATE_BOOL(rv);
}
#undef FUNC_NAME