Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (784 - 786 of 1030)

Ticket Resolution Summary Owner Reporter
#308 fixed when making 1000 threads, sometimes the lisp gets wedged R. Matthew Emerson R. Matthew Emerson
Description

This often gets wedged:

(dotimes (i 1000)
  (process-run-function "junk" #'(lambda (x) (format t "~&~d" x)) i))
#305 fixed initialize-instance bug for classes with lots of slots Gary Byers Satyaki Das
Description

The bug is exhibited in the following test code. To run it save it to a file, load it and then evaluate the TEST-IT function. I have tested this with the binary x8664 version for 1.2-rc1.

Basically I am generating a class called BAR with 600 direct slots which derives from FOO with the BAR-GENERATOR macro. If BAR has 6 slots, then the test case works as it should.

;;; Start of test case

(in-package :cl-user)

(defclass foo ()

((foo-slot :accessor foo-slot)))

(defmacro bar-generator ()

`(defclass bar (foo)

,(loop for i from 0 to 600

for slot = (intern (format nil "BAR-SLOT-~A" i)) collect `(,slot :initform ,i))))

(bar-generator)

(defmethod initialize-instance :after ((x foo) &key)

(setf (foo-slot x) 42))

(defun test-it ()

(make-instance 'bar))

;;; End of test case

#304 fixed c_gethostbyname Gary Byers Stas Boukarev
Description

c_gethostbyname on Linux is implemented using #_gethostbyname_r. But gethostbyname_r is very strange and it fails to resolve local defined hosts in /etc/hosts and it's also obsolete according to the man page. So I rewrote it using #_getaddrinfo. It seems to work, but when I replace old c_gethostbyname with it, CCL fails on rebuilding complaining about ffi-type. I'm not quite understand mechanisms of CCL's FFI and don't know how to handle this.

So I attach my version of c_gethostbyname, maybe someone could adapt it.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.