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:
b8ad7a2
)
(scm_string_split): Compare char/char in scan. Mixing an
author
Kevin Ryde
<user42@zip.com.au>
Sun, 5 Jun 2005 21:10:13 +0000
(21:10 +0000)
committer
Kevin Ryde
<user42@zip.com.au>
Sun, 5 Jun 2005 21:10:13 +0000
(21:10 +0000)
unsigned int SCM_CHAR and a char string meant an 8-bit char was never
matched.
libguile/srfi-13.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/srfi-13.c
b/libguile/srfi-13.c
index
01e6805
..
98bcfc2
100644
(file)
--- a/
libguile/srfi-13.c
+++ b/
libguile/srfi-13.c
@@
-3224,7
+3224,7
@@
SCM_DEFINE (scm_string_split, "string-split", 2, 0, 0,
{
long idx, last_idx;
const char * p;
-
int
ch;
+
char
ch;
SCM res = SCM_EOL;
SCM_VALIDATE_STRING (1, str);