summaryrefslogtreecommitdiffstats
path: root/syslog.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-06-19 06:42:59 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-06-19 06:42:59 -0700
commit95d5b41266ca3cd40dcd948ecad06d570be32812 (patch)
treef0d8860d3838051d7c48e0490ae1c32ec3b75a26 /syslog.h
parentee639342a87cbb1db085f58f5f57cb2085832173 (diff)
downloadtxr-95d5b41266ca3cd40dcd948ecad06d570be32812.tar.gz
txr-95d5b41266ca3cd40dcd948ecad06d570be32812.tar.bz2
txr-95d5b41266ca3cd40dcd948ecad06d570be32812.zip
packages: generational gc bug.
* lib.c (make_package_common): The way the two hashes are assigned into the new package here is not correct. The problem is that the first make_hash can trigger gc. Then it is possible that the package object will move into the mature generation, after which the assignment of the second package is a wrong-way assignment requiring the set macro. Instead of bringing in that macro, the obvious way to solve it is to just allocate the hashes first, and then the package: exactly the way we build a cons cell from existing values.
Diffstat (limited to 'syslog.h')
0 files changed, 0 insertions, 0 deletions