* [PATCH] doc: Clarify documentation of 'bytevector-copy!'.
@ 2019-08-07 12:57 Gábor Boskovits
2019-08-27 11:44 ` Gábor Boskovits
2019-08-28 0:36 ` Rob Browning
0 siblings, 2 replies; 3+ messages in thread
From: Gábor Boskovits @ 2019-08-07 12:57 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1.1: Type: text/plain, Size: 79 bytes --]
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
[-- Attachment #1.2: Type: text/html, Size: 226 bytes --]
[-- Attachment #2: 0001-doc-Clarify-documentation-of-bytevector-copy.patch --]
[-- Type: text/x-patch, Size: 2525 bytes --]
From b294afd366b8ce979ed5f549002057240a6ff478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= <boskovits@gmail.com>
Date: Wed, 7 Aug 2019 14:34:05 +0200
Subject: [PATCH] doc: Clarify documentation of 'bytevector-copy!'.
* doc/ref/api-data.text (Bytevectors): Reword documentation
to use 'nonnegative' instead of 'positive' for 0-based index.
---
THANKS | 1 +
doc/THANKS | 1 +
doc/ref/api-data.texi | 2 +-
libguile/bytevectors.c | 2 +-
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/THANKS b/THANKS
index a4fad6e08..fe208a720 100644
--- a/THANKS
+++ b/THANKS
@@ -1,6 +1,7 @@
Contributors since the last release:
Christopher Baines
+ Gábor Boskovits
Greg Benison
Tristan Colgate-McFarlane
Aleix Conchillo Flaqué
diff --git a/doc/THANKS b/doc/THANKS
index 53cff29f4..030b44f74 100644
--- a/doc/THANKS
+++ b/doc/THANKS
@@ -3,6 +3,7 @@ manuals!
Proofreading, bug reports and patches from:
Chris Bitmead
+ Gábor Boskovits
Christopher Cramer
Marcus Daniels
Dirk Herrmann
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index 5b9c5654e..e7cb85881 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -6819,7 +6819,7 @@ Fill bytevector @var{bv} with @var{fill}, a byte.
@deffn {Scheme Procedure} bytevector-copy! source source-start target target-start len
@deffnx {C Function} scm_bytevector_copy_x (source, source_start, target, target_start, len)
Copy @var{len} bytes from @var{source} into @var{target}, starting
-reading from @var{source-start} (a positive index within @var{source})
+reading from @var{source-start} (a nonnegative index within @var{source})
and start writing at @var{target-start}. It is permitted for the
@var{source} and @var{target} regions to overlap.
@end deffn
diff --git a/libguile/bytevectors.c b/libguile/bytevectors.c
index 7dfdab499..dfb4733c0 100644
--- a/libguile/bytevectors.c
+++ b/libguile/bytevectors.c
@@ -589,7 +589,7 @@ SCM_DEFINE (scm_bytevector_copy_x, "bytevector-copy!", 5, 0, 0,
(SCM source, SCM source_start, SCM target, SCM target_start,
SCM len),
"Copy @var{len} bytes from @var{source} into @var{target}, "
- "starting reading from @var{source_start} (a positive index "
+ "starting reading from @var{source_start} (a nonnegative index "
"within @var{source}) and start writing at "
"@var{target_start}.")
#define FUNC_NAME s_scm_bytevector_copy_x
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] doc: Clarify documentation of 'bytevector-copy!'.
2019-08-07 12:57 [PATCH] doc: Clarify documentation of 'bytevector-copy!' Gábor Boskovits
@ 2019-08-27 11:44 ` Gábor Boskovits
2019-08-28 0:36 ` Rob Browning
1 sibling, 0 replies; 3+ messages in thread
From: Gábor Boskovits @ 2019-08-27 11:44 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
Hello gentle people!
Gábor Boskovits <boskovits@gmail.com> ezt írta (időpont: 2019. aug. 7.,
Sze, 14:57):
>
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
I am waiting for opinions on this patch. Should I send it to somewhere else?
I have no strong opinions on this, though, but could have some me a little
time...
Best regards,
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
[-- Attachment #2: Type: text/html, Size: 1080 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] doc: Clarify documentation of 'bytevector-copy!'.
2019-08-07 12:57 [PATCH] doc: Clarify documentation of 'bytevector-copy!' Gábor Boskovits
2019-08-27 11:44 ` Gábor Boskovits
@ 2019-08-28 0:36 ` Rob Browning
1 sibling, 0 replies; 3+ messages in thread
From: Rob Browning @ 2019-08-28 0:36 UTC (permalink / raw)
To: Gábor Boskovits, guile-devel
Gábor Boskovits <boskovits@gmail.com> writes:
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> From b294afd366b8ce979ed5f549002057240a6ff478 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= <boskovits@gmail.com>
> Date: Wed, 7 Aug 2019 14:34:05 +0200
> Subject: [PATCH] doc: Clarify documentation of 'bytevector-copy!'.
>
> * doc/ref/api-data.text (Bytevectors): Reword documentation
> to use 'nonnegative' instead of 'positive' for 0-based index.
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Looks good to me, excepting maybe the tab in the THANKS, unless that's
what we want there.
Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-28 0:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 12:57 [PATCH] doc: Clarify documentation of 'bytevector-copy!' Gábor Boskovits
2019-08-27 11:44 ` Gábor Boskovits
2019-08-28 0:36 ` Rob Browning
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).