Fix type-checking in the optimized path of `string=?'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 12 Jul 2010 15:31:38 +0000 (17:31 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 12 Jul 2010 22:08:09 +0000 (00:08 +0200)
commit7614c983a56a30f2cda3e014840524ac7030e6d9
treef61385407b7fa382e5898b642473fd95904518b3
parent080391439568fa3b27283c266ed4b47fa635620f
Fix type-checking in the optimized path of `string=?'.

* libguile/srfi-13.c (scm_string_eq): Properly type-check S1 and S2.

* test-suite/tests/strings.test ("string=?")["1st argument EOF", "2nd
  argument EOF"]: New tests exposing the problem.
libguile/srfi-13.c
test-suite/tests/strings.test