Incorrect result from FIND on a BASE-STRING

Bug #2089316 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(defun f413 (p2)
  (declare (optimize speed) (type string p2))
  (find #\1 p2 :test #'char/=))

(defun bug413 ()
  (f413 (coerce " " 'base-string)))

(bug413) ==> #\1 ; should be #\Space

x86-64, "2.4.10.117-507e7ae05"

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.