Re: Re: problems with latest portableaserve and Corman Lisp 2.01
"Chris Double" <[email protected]> Mon, 28 Jul 2003 10:51:17 +1200
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 27 Jul 2003 22:35:35 -0000, "Kevin" <[email protected]> said: > Well, I may have spoke to soon. Try the following (untested): (values (if (eq format :text) (let ((result (make-string (length body)))) (map-into result #'identity body) result) body) (client-request-response-code creq) (client-request-headers creq) (client-request-uri creq))))) As to why this happened it's because of the differences between the socket libraries in implementations I think. For some of them the text from the socket is returned as an array of integers, for others an array of characters. So the code in CVS works for one and not the other. I'll investigate further and put a fix in CVS. Meanwhile, the above should fix your immediate problem. Chris. -- Chris Double [email protected] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Toner for Your Printer or Fax at LaserTonerSuperstore.com-Save 55%! We have your brand: HP, IBM, Canon, Xerox, Apple and many more for less! http://www.LaserTonerSuperstore.com http://us.click.yahoo.com/YmQqWC/qicGAA/ySSFAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/