projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b40758
)
Convert string to NFC prior to hashing.
author
Chris Hanson
<org/chris-hanson/cph>
Sun, 23 Apr 2017 06:06:24 +0000
(23:06 -0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Sun, 23 Apr 2017 06:06:24 +0000
(23:06 -0700)
src/runtime/ustring.scm
patch
|
blob
|
history
diff --git
a/src/runtime/ustring.scm
b/src/runtime/ustring.scm
index b468023eea896ef261417c8605fb1c7b9004ba70..cb3bb3b21f8334cd81c2f220e2f1df555e7604b0 100644
(file)
--- a/
src/runtime/ustring.scm
+++ b/
src/runtime/ustring.scm
@@
-1911,7
+1911,7
@@
USA.
string))
(define (string-hash string #!optional modulus)
- (let ((string* (string-for-primitive (string->nf
d
string))))
+ (let ((string* (string-for-primitive (string->nf
c
string))))
(if (default-object? modulus)
((ucode-primitive string-hash) string*)
((ucode-primitive string-hash-mod) string* modulus))))