diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-02 06:40:14 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-02 06:40:14 -0700 |
commit | f4b6a641d288cd44b82e2d8268187923d9802b48 (patch) | |
tree | cb8c495f56c44ff31895d14da021ebfac037357a /signal.c | |
parent | 2fa5d2ecd422011cd83c36e78b3375216f073ae1 (diff) | |
download | txr-f4b6a641d288cd44b82e2d8268187923d9802b48.tar.gz txr-f4b6a641d288cd44b82e2d8268187923d9802b48.tar.bz2 txr-f4b6a641d288cd44b82e2d8268187923d9802b48.zip |
signal: fix typo causing missing itimer-prof.
* signal.c (sig_init): Register ITIMER_PROF as the documented
itimer-prof, not the undocumented itimer-prov. Anyone
depending on this will have to fix their code to use the new
variable, or else (defvarl itimer-prof itimer-prov).
This was discovered due to Paul A. Patience's doc-syms
scrubbing code recently added to genman.txr, which identifies
documented symbols not present in the actual image.
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -200,7 +200,7 @@ void sig_init(void) #if HAVE_ITIMER reg_varl(intern(lit("itimer-real"), user_package), num_fast(ITIMER_REAL)); reg_varl(intern(lit("itimer-virtual"), user_package), num_fast(ITIMER_VIRTUAL)); - reg_varl(intern(lit("itimer-prov"), user_package), num_fast(ITIMER_PROF)); + reg_varl(intern(lit("itimer-prof"), user_package), num_fast(ITIMER_PROF)); reg_fun(intern(lit("getitimer"), user_package), func_n1(getitimer_wrap)); reg_fun(intern(lit("setitimer"), user_package), func_n3(setitimer_wrap)); #endif |