diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-06-20 20:16:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-06-20 20:16:35 -0700 |
commit | 035649f083a3de9e73701023751ebff477ba70ec (patch) | |
tree | a6145d21209886133fd69415757b60277745254b | |
parent | 31f809ccd645926abf0cff0de5a1b99b71da0d25 (diff) | |
download | txr-035649f083a3de9e73701023751ebff477ba70ec.tar.gz txr-035649f083a3de9e73701023751ebff477ba70ec.tar.bz2 txr-035649f083a3de9e73701023751ebff477ba70ec.zip |
at-exit-do-not-call: wrong return value.
* sysif.c (at_exit_do_not_call): Reverse Boolean polarity of
return value to match documentation.
-rw-r--r-- | sysif.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ val at_exit_do_not_call(val func) { val old = at_exit_list; at_exit_list = remq(func, old, nil); - return tnil(old == at_exit_list); + return tnil(old != at_exit_list); } static void at_exit_handler(void) |