diff options
author | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2000-05-25 09:21:06 +0000 |
---|---|---|
committer | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2000-05-25 09:21:06 +0000 |
commit | 47457e8a432ec904bad6d98d340df8b76898d44e (patch) | |
tree | 0b01b612801ed58a02f35e61553f06c7f30f1337 /libguile/filesys.h | |
parent | f2f551af7aea06c6f7377235701d5f50e9cfc090 (diff) | |
download | guile-47457e8a432ec904bad6d98d340df8b76898d44e.tar.gz |
* Replace SCM_UNPACK_CAR appropriately.
* Only access cons cells via SCM_{SET}?C[AD]R.
* gc.c: Remove unused struct member variable 'valid'.
Diffstat (limited to 'libguile/filesys.h')
-rw-r--r-- | libguile/filesys.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libguile/filesys.h b/libguile/filesys.h index 7573b6332..7859cf97b 100644 --- a/libguile/filesys.h +++ b/libguile/filesys.h @@ -53,8 +53,9 @@ extern long scm_tc16_dir; -#define SCM_DIRP(x) (SCM_NIMP(x) && (SCM_TYP16(x)==(scm_tc16_dir))) -#define SCM_OPDIRP(x) (SCM_NIMP(x) && (SCM_UNPACK_CAR(x)==(scm_tc16_dir | SCM_OPN))) +#define SCM_DIRP(x) (!SCM_IMP (x) && (SCM_TYP16 (x) == scm_tc16_dir)) +#define SCM_OPDIRP(x) (!SCM_IMP (x) && (SCM_CELL_WORD_0 (x) == (scm_tc16_dir | SCM_OPN))) + extern SCM scm_chown (SCM object, SCM owner, SCM group); |