(start (fix:start-index start end caller))
(string
(make-ustring
- (let (
- (truncated
+ (let ((truncated
(lambda (index)
(error (string "Truncated " noun " sequence:")
(bytevector-copy bytevector
(define (substring-components string start end delimiters)
(let loop ((start start))
- (let ((index
- (ustring-find-first-char-in-set string delimiters start end)))
+ (let ((index (ustring-find-first-char-in-set string delimiters start end)))
(if index
(cons (usubstring string start index) (loop (fix:+ index 1)))
(list (usubstring string start end))))))
(define (file-attributes filename)
((ucode-primitive file-attributes 1)
- (->namestring (merge-pathnames filename))))
+ (string-for-primitive (->namestring (merge-pathnames filename)))))
(define file-attributes-direct file-attributes)
(define file-attributes-indirect file-attributes)