From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: TeXmacs on Guile 2.2.4 Date: Wed, 29 May 2019 15:29:57 -0400 Message-ID: <877ea9qcrz.fsf@netris.org> References: <1D2A839C-66B5-4633-91B9-1C1ACFC306E7@gmail.com> <20190526234924.GA17126@spikycactus.attlocal.net> <049592E2-CAAC-4F43-98F0-FF11E91E792B@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="243178"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: guile-user@gnu.org To: Massimiliano Gubinelli Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed May 29 21:32:31 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hW4JJ-00113v-2V for guile-user@m.gmane.org; Wed, 29 May 2019 21:32:29 +0200 Original-Received: from localhost ([127.0.0.1]:59647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW4JH-00035X-EK for guile-user@m.gmane.org; Wed, 29 May 2019 15:32:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW4Iy-00035P-Va for guile-user@gnu.org; Wed, 29 May 2019 15:32:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW4Ix-0001ih-Nw for guile-user@gnu.org; Wed, 29 May 2019 15:32:08 -0400 Original-Received: from world.peace.net ([64.112.178.59]:45360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hW4Ix-0001R8-Ko for guile-user@gnu.org; Wed, 29 May 2019 15:32:07 -0400 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hW4Im-0003s1-Di; Wed, 29 May 2019 15:31:56 -0400 In-Reply-To: <049592E2-CAAC-4F43-98F0-FF11E91E792B@gmail.com> (Massimiliano Gubinelli's message of "Mon, 27 May 2019 14:18:21 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.112.178.59 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15504 Archived-At: Massimiliano Gubinelli writes: > While trying some alternative solutions I noticed the following: the > function scm_to_latin1_stringn calls out to scm_to_stringn with an > argument NULL for the encoding: > > result = scm_to_stringn (str, lenp, NULL, > SCM_FAILED_CONVERSION_ERROR); > > this causes an error in scm_to_stringn since it contains the check: > > (c_strcasecmp (encoding, "UTF-8") == 0) > > and c_strcasecmp does not check for null pointers. Is this a bug? Yes, it is. I'll fix it soon, thanks. Mark