Skip to content
Snippets Groups Projects
Commit 800d83dd authored by rtoy's avatar rtoy
Browse files

MAKE-SYMBOL needs to convert the given string to NFC form to match

what INTERN and FIND-SYMBOL do with strings.
parent 6cca28af
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/symbol.lisp,v 1.42 2010/03/19 15:19:00 rtoy Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/symbol.lisp,v 1.43 2010/04/16 01:28:37 rtoy Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -102,7 +102,10 @@
#+gengc (%make-symbol (random most-positive-fixnum) string)
;; Initialize the symbol-hash to -1 to make this fast. It will get
;; computed correctly later on.
#+(or sparc x86 amd64 ppc) (%make-symbol -1 (coerce string 'simple-string)))
#+(or sparc x86 amd64 ppc )
(%make-symbol -1 (coerce #-unicode string
#+unicode (string-to-nfc string)
'simple-string)))
#+(or gengc x86 amd64 sparc ppc)
(defun symbol-hash (symbol)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment