From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: `SCM_MAKE_CHAR ()' signedness issue Date: Tue, 18 Aug 2009 19:36:11 -0400 Message-ID: References: <106176.81862.qm@web37905.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1250638592 6043 80.91.229.12 (18 Aug 2009 23:36:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2009 23:36:32 +0000 (UTC) Cc: guile-devel To: Mike Gran Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Aug 19 01:36:25 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MdYE2-0006Ei-UR for guile-devel@m.gmane.org; Wed, 19 Aug 2009 01:36:23 +0200 Original-Received: from localhost ([127.0.0.1]:50177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdYE2-0004u6-BH for guile-devel@m.gmane.org; Tue, 18 Aug 2009 19:36:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdYDz-0004tp-9E for guile-devel@gnu.org; Tue, 18 Aug 2009 19:36:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdYDu-0004rb-Pl for guile-devel@gnu.org; Tue, 18 Aug 2009 19:36:19 -0400 Original-Received: from [199.232.76.173] (port=41919 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdYDu-0004rW-Mp for guile-devel@gnu.org; Tue, 18 Aug 2009 19:36:14 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]:52773) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdYDu-0002dy-Br for guile-devel@gnu.org; Tue, 18 Aug 2009 19:36:14 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id A929253E7; Tue, 18 Aug 2009 19:36:11 -0400 (EDT) X-Hashcash: 1:20:090818:carlo.bramix@libero.it::qQ+NBT2V1/JGyJjk:0000000000000000000000000000000000000000Lrp X-Hashcash: 1:20:090818:spk121@yahoo.com::T01y1PxkobdD7v4O:02ADt X-Hashcash: 1:20:090818:guile-devel@gnu.org::6X7Lt1mRX0T2oUtt:000000000000000000000000000000000000000000Fsv7 In-Reply-To: <106176.81862.qm@web37905.mail.mud.yahoo.com> (Mike Gran's message of "Tue, 18 Aug 2009 11:54:55 -0700 (PDT)") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (berkeley-unix) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9152 Archived-At: --=-=-= I think the problem is that the routine in question is fundamentally written to assume a signed input. Perhaps there should be an unsigned version that takes unsigned chars, and perhaps guile should explicit declare characters as one or the other. Or perhaps just always cast to unsigned char - if it is already unsiged that is a no-op. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) iEYEARECAAYFAkqLOusACgkQ+vesoDJhHiUUCgCgmXoIc4WsHzJgV1Ezj7kdBzPr siUAmwT4w5zZe/hQnUTatxhXVf2+4oYK =b2rW -----END PGP SIGNATURE----- --=-=-=--