Kalle Olavi Niemitalo)
* bug fix: the CLASS-PROTOTYPE of the GENERIC-FUNCTION class is now
printable. (reported by Eric Marsden)
+ * bug fix in sb-posix: mmap() now works on systems with a 64-bit
+ off_t, including Darwin and FreeBSD. (thanks to Andreas Fuchs)
planned incompatible changes in 0.8.x:
* (not done yet, but planned:) When the profiling interface settles
(lambda (res)
(= (sb-sys:sap-int res) #-alpha #XFFFFFFFF #+alpha #xffffffffffffffff))
(addr sap-or-nil) (length unsigned) (prot unsigned)
- (flags unsigned) (fd file-descriptor) (offset int))
+ (flags unsigned) (fd file-descriptor) (offset sb-posix::off-t))
(define-call "munmap" int minusp
(start sb-sys:system-area-pointer) (length unsigned))
(setf (result-state-num-results state) (1+ num-results))
(my-make-wired-tn 'single-float 'single-reg (* num-results 2))))
-#+nil ;;pfw obsolete now?
-(define-alien-type-method (values :result-tn) (type state)
- (mapcar (lambda (type)
- (invoke-alien-type-method :result-tn type state))
- (alien-values-type-values type)))
-
-;;; pfw - from alpha
(define-alien-type-method (values :result-tn) (type state)
(let ((values (alien-values-type-values type)))
- (when (cdr values)
+ (when (> (length values) 2)
(error "Too many result values from c-call."))
- (when values
- (invoke-alien-type-method :result-tn (car values) state))))
+ (mapcar (lambda (type)
+ (invoke-alien-type-method :result-tn type state))
+ values)))
(!def-vm-support-routine make-call-out-tns (type)
(let ((arg-state (make-arg-state)))
(collect ((arg-tns))
- (dolist #+nil ;; this reversed list seems to cause the alien botches!!
- (arg-type (reverse (alien-fun-type-arg-types type)))
- (arg-type (alien-fun-type-arg-types type))
+ (dolist (arg-type (alien-fun-type-arg-types type))
(arg-tns (invoke-alien-type-method :arg-tn arg-type arg-state)))
(values (my-make-wired-tn 'positive-fixnum 'any-reg esp-offset)
(* (arg-state-stack-frame-size arg-state) n-word-bytes)
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.2.8"
+"0.8.2.9"