SET-STRING-MAXIMUM-LENGTH! was locking interrupts with
authorChris Hanson <org/chris-hanson/cph>
Wed, 20 Jan 1993 10:06:09 +0000 (10:06 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 20 Jan 1993 10:06:09 +0000 (10:06 +0000)
INTERRUPT-MASK/GC-OK.  Needless to say, GC is *not* OK during this
operation.

v7/src/edwin/utils.scm

index 8a0033cea8da927d6ed74fc0b147bf1474aba732..214bb1fac8045579da562c53403b3df594d69337 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Id: utils.scm,v 1.29 1993/01/09 09:46:49 cph Exp $
+;;;    $Id: utils.scm,v 1.30 1993/01/20 10:06:09 cph Exp $
 ;;;
 ;;;    Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology
 ;;;
                       (fix:lsh (fix:- (system-vector-length string) 1)
                                (fix:- 0 (chars-to-words-shift))))))
       (error:bad-range-argument n-chars 'SET-STRING-MAXIMUM-LENGTH!))
-  (let ((mask (set-interrupt-enables! interrupt-mask/gc-ok)))
+  (let ((mask (set-interrupt-enables! interrupt-mask/none)))
     ((ucode-primitive primitive-object-set! 3)
      string
      0