summaryrefslogtreecommitdiffstats
path: root/syslog.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-09-10 19:06:58 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-09-10 19:06:58 -0700
commit595c0bee41e0c7286c9779ab8f08ca6ec140c8d7 (patch)
treea9b82c42e45f50a259e339aea9f597391d10dce1 /syslog.h
parentb23424f8d0b093b3438e9c6a2665a543decd7355 (diff)
downloadtxr-595c0bee41e0c7286c9779ab8f08ca6ec140c8d7.tar.gz
txr-595c0bee41e0c7286c9779ab8f08ca6ec140c8d7.tar.bz2
txr-595c0bee41e0c7286c9779ab8f08ca6ec140c8d7.zip
bracket: bug: wrong result when function is applied.
Reported by user vapnik spaknik. * lib.c (bracket): Don't rely on the index variable to step through the arguments, because it only counts fixed arguments. The args_get function doesn't increment the index beyond args->fill; when popping arguments from args->list, index stays unmodified. * tests/016/arith.tl: Tests for bracket added.
Diffstat (limited to 'syslog.h')
0 files changed, 0 insertions, 0 deletions