diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-13 07:57:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-13 07:57:48 -0700 |
commit | 3656ba07ccf49eb25cf3b1f30298de9b2c0955d4 (patch) | |
tree | 6018f1428e33bcd225321644981b7ce71f750d18 | |
parent | 7ee3f83d8a43b71dbd434f83f92f54b9f72d64cd (diff) | |
download | txr-3656ba07ccf49eb25cf3b1f30298de9b2c0955d4.tar.gz txr-3656ba07ccf49eb25cf3b1f30298de9b2c0955d4.tar.bz2 txr-3656ba07ccf49eb25cf3b1f30298de9b2c0955d4.zip |
sysif: bug: bogosity in protect call.
* sysif.c (sysif_init): The address of dirent_st must be
registered with protect, not the value.
-rw-r--r-- | sysif.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2448,7 +2448,7 @@ static val dirstat(val dirent, val dir_path, val stat_opt) void sysif_init(void) { - protect(&at_exit_list, dirent_st, &env_list, &env_hash, convert(val *, 0)); + protect(&at_exit_list, &dirent_st, &env_list, &env_hash, convert(val *, 0)); atexit(at_exit_handler); |