index
:
txr
master
txr-old
TXR: A data munging language.
kaz@kylheku.com
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
lib.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 31351fba..f70372fb 100644
--- a/
lib.c
+++ b/
lib.c
@@ -726,7 +726,7 @@ val nthcdr(val pos, val list)
gc_hint(list);
- while (n-- > 0)
+ while (list && n-- > 0)
list = cdr(list);
return list;