From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#31528: patch get-bytevector-n to read more than 4 GB Date: Mon, 18 Jun 2018 14:05:16 +0200 Message-ID: <874li0wb9f.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1529323551 3600 195.159.176.226 (18 Jun 2018 12:05:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2018 12:05:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 31528-done@debbugs.gnu.org To: Jan =?UTF-8?Q?=C5=A0mydke?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jun 18 14:05:47 2018 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUsun-0000pu-Vk for guile-bugs@m.gmane.org; Mon, 18 Jun 2018 14:05:46 +0200 Original-Received: from localhost ([::1]:34410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUswv-0005p2-7p for guile-bugs@m.gmane.org; Mon, 18 Jun 2018 08:07:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUsv9-0004xR-8w for bug-guile@gnu.org; Mon, 18 Jun 2018 08:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUsv4-0001QO-As for bug-guile@gnu.org; Mon, 18 Jun 2018 08:06:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46554) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUsv4-0001QE-83 for bug-guile@gnu.org; Mon, 18 Jun 2018 08:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUsv4-0007xE-0z for bug-guile@gnu.org; Mon, 18 Jun 2018 08:06:02 -0400 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Mon, 18 Jun 2018 12:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 31528 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 31528@debbugs.gnu.org, ludo@gnu.org, jan.smydke@gmail.com Original-Received: via spool by 31528-done@debbugs.gnu.org id=D31528.152932353130530 (code D ref 31528); Mon, 18 Jun 2018 12:06:01 +0000 Original-Received: (at 31528-done) by debbugs.gnu.org; 18 Jun 2018 12:05:31 +0000 Original-Received: from localhost ([127.0.0.1]:54450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUsuZ-0007wL-7n for submit@debbugs.gnu.org; Mon, 18 Jun 2018 08:05:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUsuX-0007w6-7l for 31528-done@debbugs.gnu.org; Mon, 18 Jun 2018 08:05:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUsuN-0000zn-5N for 31528-done@debbugs.gnu.org; Mon, 18 Jun 2018 08:05:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUsuN-0000zX-1u; Mon, 18 Jun 2018 08:05:19 -0400 Original-Received: from [193.50.110.191] (port=59328 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fUsuM-0002av-Kw; Mon, 18 Jun 2018 08:05:18 -0400 In-Reply-To: ("Jan \=\?utf-8\?Q\?\=C5\=A0mydke\=22's\?\= message of "Sat, 19 May 2018 13:10:15 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.lisp.guile.bugs:9068 Archived-At: Hello Jan, Jan =C5=A0mydke skribis: > The "count" variable was of "unsigned" type (i.e. 32-bit) so I changed it > to "size_t" and the problem is solved. > > Enclosed is the corresponding patch (using format-patch) > > Jan =C5=A0mydke > From 5b72b9d9c3cfa40884594eb1d403ec1d2f477d37 Mon Sep 17 00:00:00 2001 > From: Jan Smydke > Date: Sat, 19 May 2018 12:48:01 +0200 > Subject: [PATCH] get-bytevector-n and get-bytevector-n! can now read more= than > 4 GB: var "count" changed from unsigned to size_t > > --- > libguile/r6rs-ports.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) Awesome. I adjusted the commit log to match our conventions and committed. Thank you! Ludo=E2=80=99.