From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#20209: GUILE 2.0.11: crash in set_port_filename_x for bytevector ports Date: Sun, 29 Mar 2015 15:06:47 +0200 Message-ID: <87twx40x7c.fsf@gnu.org> References: <87fv8r1pio.fsf@fencepost.gnu.org> <87egob8irs.fsf@netris.org> <87y4mhasqb.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1427634439 2043 80.91.229.3 (29 Mar 2015 13:07:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Mar 2015 13:07:19 +0000 (UTC) Cc: David Kastrup , 20209@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Mar 29 15:07:08 2015 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YcCvi-0006Df-UK for guile-bugs@m.gmane.org; Sun, 29 Mar 2015 15:07:07 +0200 Original-Received: from localhost ([::1]:57073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcCvi-00060S-95 for guile-bugs@m.gmane.org; Sun, 29 Mar 2015 09:07:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcCve-0005xd-SQ for bug-guile@gnu.org; Sun, 29 Mar 2015 09:07:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcCve-0000Ng-56 for bug-guile@gnu.org; Sun, 29 Mar 2015 09:07:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcCve-0000Nb-2M for bug-guile@gnu.org; Sun, 29 Mar 2015 09:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YcCvd-0004wn-Qj for bug-guile@gnu.org; Sun, 29 Mar 2015 09:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 29 Mar 2015 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20209 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 20209-submit@debbugs.gnu.org id=B20209.142763441218999 (code B ref 20209); Sun, 29 Mar 2015 13:07:01 +0000 Original-Received: (at 20209) by debbugs.gnu.org; 29 Mar 2015 13:06:52 +0000 Original-Received: from localhost ([127.0.0.1]:39385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcCvU-0004wN-1U for submit@debbugs.gnu.org; Sun, 29 Mar 2015 09:06:52 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:53426 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcCvS-0004wG-Hm for 20209@debbugs.gnu.org; Sun, 29 Mar 2015 09:06:50 -0400 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]:49577 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YcCvR-0003dp-B0; Sun, 29 Mar 2015 09:06:49 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Germinal an 223 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87y4mhasqb.fsf@netris.org> (Mark H. Weaver's message of "Sat, 28 Mar 2015 14:21:00 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7764 Archived-At: Mark H Weaver skribis: > For these reasons, I decided against recommending those undocumented > initialization functions. Instead, I suggested that David initialize > binary ports by loading (ice-9 binary-ports): > > (void) scm_c_resolve_module ("ice-9 binary-ports"); That sounds like the best option, indeed. > For Guile 2.0.12, I suggest that we unconditionally do the equivalent of > 'scm_init_bytevectors' and 'scm_init_r6rs_ports' during Guile > initialization, and make those functions into deprecated no-ops. Agreed, that=E2=80=99s what I was going to suggest. That these init functions are not marked as internal is really an oversight. I wouldn=E2=80=99t be against simply making them SCM_INTERNAL in 2.0.12, but making them public + deprecated as you suggest is even better. Thanks, Ludo=E2=80=99.