HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c80bab3
)
(scm_string_every): Correction to initial "res" value,
author
Kevin Ryde
<user42@zip.com.au>
Mon, 2 Aug 2004 00:24:36 +0000
(
00:24
+0000)
committer
Kevin Ryde
<user42@zip.com.au>
Mon, 2 Aug 2004 00:24:36 +0000
(
00:24
+0000)
return should be #t for an empty string. Reported by Andreas Vögele.
srfi/srfi-13.c
patch
|
blob
|
blame
|
history
diff --git
a/srfi/srfi-13.c
b/srfi/srfi-13.c
index
bbb20fa
..
13949b0
100644
(file)
--- a/
srfi/srfi-13.c
+++ b/
srfi/srfi-13.c
@@
-74,7
+74,7
@@
SCM_DEFINE (scm_string_every, "string-every", 2, 2, 0,
SCM_VALIDATE_SUBSTRING_SPEC_COPY (2, s, cstr,
3, start, cstart,
4, end, cend);
- res = SCM_BOOL_
F
;
+ res = SCM_BOOL_
T
;
cstr += cstart;
while (cstart < cend)
{