From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Nonblocking get-bytevector-n bug? Date: Mon, 07 Dec 2015 11:21:12 +0100 Message-ID: <87mvtm7e5j.fsf@T420.taylan> References: <87h9jvuxb3.fsf@elektro.pacujo.net> <87poyilh8k.fsf@gnu.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 1449483692 31792 80.91.229.3 (7 Dec 2015 10:21:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Dec 2015 10:21:32 +0000 (UTC) Cc: guile-user@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Dec 07 11:21:31 2015 Return-path: Envelope-to: guile-user@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 1a5svA-0001QH-F5 for guile-user@m.gmane.org; Mon, 07 Dec 2015 11:21:28 +0100 Original-Received: from localhost ([::1]:53635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5sv9-00067j-3k for guile-user@m.gmane.org; Mon, 07 Dec 2015 05:21:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5sv0-00067Y-L3 for guile-user@gnu.org; Mon, 07 Dec 2015 05:21:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5suw-0007mT-Rs for guile-user@gnu.org; Mon, 07 Dec 2015 05:21:18 -0500 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:33275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5suw-0007lG-Lf; Mon, 07 Dec 2015 05:21:14 -0500 Original-Received: by wmec201 with SMTP id c201so158063079wme.0; Mon, 07 Dec 2015 02:21:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=n9jMn7ixZ3oLuKAUXAt47zZna2q+dkZwUgWkFlwyZCg=; b=iQfHY70Z7pmwz1aMsJWEqr/omruulr21N5umstiBYDjxtv5us/QLYQaWjZP6nvxqig UJQPKJjoMeU2BmcHdja/Gf5XcVuhzLm+B6DpGuJYwoi+7+nmcMgeEsC1bWfbbUAnK063 4mk6JfzJnFozV0uQw23myYXPdIVNBaKXyD81HQ0NX0vMJuTPbARiXXIFjlmYbft2Nz/p ZV1Xtk9zZd3uQTsPPE8uJ1erQwPL8mh6nyF6T9lYTmgUkRtL0ZrWdzj1SU+9x2xl925/ dlci89rPLcAMKkCjL0787budChMo4xfzNCuh5o3d8vKd7i+Msrhb/k3V/0dHxXPzixsY 4oHw== X-Received: by 10.28.127.200 with SMTP id a191mr21769805wmd.27.1449483673669; Mon, 07 Dec 2015 02:21:13 -0800 (PST) Original-Received: from T420.taylan ([2a02:908:c32:4740:221:ccff:fe66:68f0]) by smtp.gmail.com with ESMTPSA id uz5sm24499237wjc.8.2015.12.07.02.21.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2015 02:21:12 -0800 (PST) In-Reply-To: <87poyilh8k.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 07 Dec 2015 10:50:51 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:12218 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Not sure what R7 does here. R7RS section 6.13.2 Input, page 58, defines: (read-bytevector! bytevector [port [start [end]]]) Reads the next END - START bytes, or as many as are available before the end of file, from the binary input PORT into BYTEVECTOR in left-to-right order beginning at the START position. If END is not supplied, reads until the end of BYTEVECTOR has been reached. If START is not supplied, reads beginning at position 0. Returns the number of bytes read. If no bytes are available, an end-of-file object is returned. Maybe the r7rs-wip branch has an implementation of it. Taylan