From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: re: [PATCH] wrong description of string-rindex Date: Tue, 10 Sep 2013 16:29:27 +0800 Organization: HFG Message-ID: <1378801767.4642.22.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-ZNXfaReE3tvnT7SjvE8U" X-Trace: ger.gmane.org 1378801790 32120 80.91.229.3 (10 Sep 2013 08:29:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2013 08:29:50 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Sep 10 10:29:52 2013 Return-path: Envelope-to: guile-devel@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 1VJJKZ-0000pn-Dr for guile-devel@m.gmane.org; Tue, 10 Sep 2013 10:29:51 +0200 Original-Received: from localhost ([::1]:56391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJJKY-0007MU-QE for guile-devel@m.gmane.org; Tue, 10 Sep 2013 04:29:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJJKP-0007MJ-4Z for guile-devel@gnu.org; Tue, 10 Sep 2013 04:29:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJJKG-0001VE-O3 for guile-devel@gnu.org; Tue, 10 Sep 2013 04:29:41 -0400 Original-Received: from mail-pb0-x22a.google.com ([2607:f8b0:400e:c01::22a]:49083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJJKG-0001V9-GM for guile-devel@gnu.org; Tue, 10 Sep 2013 04:29:32 -0400 Original-Received: by mail-pb0-f42.google.com with SMTP id un15so7255941pbc.15 for ; Tue, 10 Sep 2013 01:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:organization:content-type :mime-version; bh=J3asKBCOzcdgA8C5iwQdSrpWUV9vBVrPvqxmGml56kI=; b=CnTMKynRNTwfZ6twe8n8cw1no2g0T5nUGw7Q12uKZcVnfXVouzSFm52xhNCZKt1V5l vVGJjJA9eNzXnAvBxBLPXUYYmw2/3UrWwMF0+p61xSDgAc/zYnNF7nCqp4qaYQUT6F+N z3AFkAKIh5Cb5H8of53dE+a5n/JjWLb1SP5kQLVP/1IRmwXACXGxYiLBCrxkHxvX1C8L 2FtaHQST3+ikQ3WhV1sqZfhx2rFuNiFDso1q3XnB0ZB9g+zyGyY6RKScHs79gWPZdkPD bod5vT9p2hpUpOvUCd8rF128lM+wDHjc4YYzETWJ1ebx7pvMhe37KZkwzwiUmg325Zhm YD4g== X-Received: by 10.67.3.34 with SMTP id bt2mr24916920pad.3.1378801770283; Tue, 10 Sep 2013 01:29:30 -0700 (PDT) Original-Received: from [147.2.147.112] ([203.192.156.9]) by mx.google.com with ESMTPSA id gh9sm21384306pbc.40.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 10 Sep 2013 01:29:29 -0700 (PDT) X-Mailer: Evolution 3.4.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::22a X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16624 Archived-At: --=-ZNXfaReE3tvnT7SjvE8U Content-Type: text/plain Content-Transfer-Encoding: 7bit Sorry I forget to update doc-string. Here's the correct patch. --=-ZNXfaReE3tvnT7SjvE8U Content-Disposition: attachment; filename="0001-Fixed-typo-of-string-rindex-document.patch" Content-Type: text/x-patch; name="0001-Fixed-typo-of-string-rindex-document.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit >From cd317b42291871ecae4d0f62e68adf4ace3b4b5b Mon Sep 17 00:00:00 2001 From: Nala Ginrut Date: Tue, 10 Sep 2013 16:17:40 +0800 Subject: [PATCH] Fixed typo of string-rindex document * doc/ref/api-data.texi (string-rindex) * libguile/srfi-13.c (string-rindex): fixed the wrong description in document --- doc/ref/api-data.texi | 2 +- libguile/srfi-13.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi index 7603180..f33a3cd 100644 --- a/doc/ref/api-data.texi +++ b/doc/ref/api-data.texi @@ -3715,7 +3715,7 @@ Return @code{#f} if no match is found. @deffn {Scheme Procedure} string-rindex s char_pred [start [end]] @deffnx {C Function} scm_string_rindex (s, char_pred, start, end) Search through the string @var{s} from right to left, returning -the index of the last occurrence of a character which +the index of the first occurrence of a character which @itemize @bullet @item diff --git a/libguile/srfi-13.c b/libguile/srfi-13.c index 4e5d572..62f6e1d 100644 --- a/libguile/srfi-13.c +++ b/libguile/srfi-13.c @@ -1774,7 +1774,7 @@ SCM_DEFINE (scm_string_index_right, "string-index-right", 2, 2, 0, SCM_DEFINE (scm_string_rindex, "string-rindex", 2, 2, 0, (SCM s, SCM char_pred, SCM start, SCM end), "Search through the string @var{s} from right to left, returning\n" - "the index of the last occurrence of a character which\n" + "the index of the first occurrence of a character which\n" "\n" "@itemize @bullet\n" "@item\n" -- 1.7.10.4 --=-ZNXfaReE3tvnT7SjvE8U--