GNU bug report logs - #47568
[PATCH] Fix typos in examples

Previous Next

Package: guile;

Reported by: Eugene Klimov <lipklim <at> mailbox.org>

Date: Fri, 2 Apr 2021 20:07:02 UTC

Severity: normal

Tags: patch

Done: Mikael Djurfeldt <mikael <at> djurfeldt.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47568 in the body.
You can then email your comments to 47568 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#47568; Package guile. (Fri, 02 Apr 2021 20:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eugene Klimov <lipklim <at> mailbox.org>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Fri, 02 Apr 2021 20:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eugene Klimov <lipklim <at> mailbox.org>
To: bug-guile <at> gnu.org
Cc: Eugene Klimov <lipklim <at> mailbox.org>
Subject: [PATCH] Fix typos in examples
Date: Sat,  3 Apr 2021 00:54:53 +0500
* examples/box-dynamic-module/box.c
* examples/box-dynamic/box.c
* examples/box/box.c
* examples/modules/README
* examples/web/debug-sxml.scm
---
 examples/box-dynamic-module/box.c | 2 +-
 examples/box-dynamic/box.c        | 2 +-
 examples/box/box.c                | 4 ++--
 examples/modules/README           | 2 +-
 examples/web/debug-sxml.scm       | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/examples/box-dynamic-module/box.c b/examples/box-dynamic-module/box.c
index 8cf940909..b950e019a 100644
--- a/examples/box-dynamic-module/box.c
+++ b/examples/box-dynamic-module/box.c
@@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
 }
 
 
-/* This defines the primitve `make-box', which returns a new smob of
+/* This defines the primitive `make-box', which returns a new smob of
    type `box', initialized to `#f'.  */
 static SCM
 #define FUNC_NAME "make-box"
diff --git a/examples/box-dynamic/box.c b/examples/box-dynamic/box.c
index 7bc791613..4954e88ba 100644
--- a/examples/box-dynamic/box.c
+++ b/examples/box-dynamic/box.c
@@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
 }
 
 
-/* This defines the primitve `make-box', which returns a new smob of
+/* This defines the primitive `make-box', which returns a new smob of
    type `box', initialized to `#f'.  */
 static SCM
 #define FUNC_NAME "make-box"
diff --git a/examples/box/box.c b/examples/box/box.c
index 53c022ab1..f9b3a55a7 100644
--- a/examples/box/box.c
+++ b/examples/box/box.c
@@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
 }
 
 
-/* This defines the primitve `make-box', which returns a new smob of
+/* This defines the primitive `make-box', which returns a new smob of
    type `box', initialized to `#f'.  */
 static SCM
 #define FUNC_NAME "make-box"
@@ -109,7 +109,7 @@ box_set_x (SCM b, SCM value)
 
 
 /* Create and initialize the new smob type, and register the
-   primitives withe the interpreter library.  */
+   primitives with the interpreter library.  */
 static void
 init_box_type (void)
 {
diff --git a/examples/modules/README b/examples/modules/README
index ddad881cc..80569c98d 100644
--- a/examples/modules/README
+++ b/examples/modules/README
@@ -17,7 +17,7 @@ installed and available with the standard installation prefix
 
   The main program, which uses the modules described below to perform
   some actions.  Module usage and selective importing as well as
-  renaming is demonstrated here.n
+  renaming is demonstrated here.
 
   $ ./main
 
diff --git a/examples/web/debug-sxml.scm b/examples/web/debug-sxml.scm
index 724a9bd6c..5970c47d3 100644
--- a/examples/web/debug-sxml.scm
+++ b/examples/web/debug-sxml.scm
@@ -1,6 +1,6 @@
 ;;; Commentary:
 
-;;; A simple debugging server that responds to all responses with a
+;;; A simple debugging server that responds to all requests with a
 ;;; table containing the headers given in the request.
 ;;;
 ;;; As a novelty, this server uses a little micro-framework to build up
-- 
2.31.0





Information forwarded to bug-guile <at> gnu.org:
bug#47568; Package guile. (Sun, 04 Apr 2021 18:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 47568 <at> debbugs.gnu.org (full text, mbox):

From: Mikael Djurfeldt <mikael <at> djurfeldt.com>
To: Eugene Klimov <lipklim <at> mailbox.org>
Cc: 47568 <at> debbugs.gnu.org, 47568-done <at> debbugs.gnu.org
Subject: Re: bug#47568: [PATCH] Fix typos in examples
Date: Sun, 4 Apr 2021 20:19:16 +0200
[Message part 1 (text/plain, inline)]
This is applied in commit #88e70308.

Thanks!

On Fri, Apr 2, 2021 at 10:09 PM Eugene Klimov via Bug reports for GUILE,
GNU's Ubiquitous Extension Language <bug-guile <at> gnu.org> wrote:

> * examples/box-dynamic-module/box.c
> * examples/box-dynamic/box.c
> * examples/box/box.c
> * examples/modules/README
> * examples/web/debug-sxml.scm
> ---
>  examples/box-dynamic-module/box.c | 2 +-
>  examples/box-dynamic/box.c        | 2 +-
>  examples/box/box.c                | 4 ++--
>  examples/modules/README           | 2 +-
>  examples/web/debug-sxml.scm       | 2 +-
>  5 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/examples/box-dynamic-module/box.c
> b/examples/box-dynamic-module/box.c
> index 8cf940909..b950e019a 100644
> --- a/examples/box-dynamic-module/box.c
> +++ b/examples/box-dynamic-module/box.c
> @@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
>  }
>
>
> -/* This defines the primitve `make-box', which returns a new smob of
> +/* This defines the primitive `make-box', which returns a new smob of
>     type `box', initialized to `#f'.  */
>  static SCM
>  #define FUNC_NAME "make-box"
> diff --git a/examples/box-dynamic/box.c b/examples/box-dynamic/box.c
> index 7bc791613..4954e88ba 100644
> --- a/examples/box-dynamic/box.c
> +++ b/examples/box-dynamic/box.c
> @@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
>  }
>
>
> -/* This defines the primitve `make-box', which returns a new smob of
> +/* This defines the primitive `make-box', which returns a new smob of
>     type `box', initialized to `#f'.  */
>  static SCM
>  #define FUNC_NAME "make-box"
> diff --git a/examples/box/box.c b/examples/box/box.c
> index 53c022ab1..f9b3a55a7 100644
> --- a/examples/box/box.c
> +++ b/examples/box/box.c
> @@ -55,7 +55,7 @@ print_box (SCM b, SCM port, scm_print_state *pstate)
>  }
>
>
> -/* This defines the primitve `make-box', which returns a new smob of
> +/* This defines the primitive `make-box', which returns a new smob of
>     type `box', initialized to `#f'.  */
>  static SCM
>  #define FUNC_NAME "make-box"
> @@ -109,7 +109,7 @@ box_set_x (SCM b, SCM value)
>
>
>  /* Create and initialize the new smob type, and register the
> -   primitives withe the interpreter library.  */
> +   primitives with the interpreter library.  */
>  static void
>  init_box_type (void)
>  {
> diff --git a/examples/modules/README b/examples/modules/README
> index ddad881cc..80569c98d 100644
> --- a/examples/modules/README
> +++ b/examples/modules/README
> @@ -17,7 +17,7 @@ installed and available with the standard installation
> prefix
>
>    The main program, which uses the modules described below to perform
>    some actions.  Module usage and selective importing as well as
> -  renaming is demonstrated here.n
> +  renaming is demonstrated here.
>
>    $ ./main
>
> diff --git a/examples/web/debug-sxml.scm b/examples/web/debug-sxml.scm
> index 724a9bd6c..5970c47d3 100644
> --- a/examples/web/debug-sxml.scm
> +++ b/examples/web/debug-sxml.scm
> @@ -1,6 +1,6 @@
>  ;;; Commentary:
>
> -;;; A simple debugging server that responds to all responses with a
> +;;; A simple debugging server that responds to all requests with a
>  ;;; table containing the headers given in the request.
>  ;;;
>  ;;; As a novelty, this server uses a little micro-framework to build up
> --
> 2.31.0
>
>
>
>
>
[Message part 2 (text/html, inline)]

Reply sent to mikael <at> djurfeldt.com:
You have taken responsibility. (Sun, 04 Apr 2021 18:20:02 GMT) Full text and rfc822 format available.

Notification sent to Eugene Klimov <lipklim <at> mailbox.org>:
bug acknowledged by developer. (Sun, 04 Apr 2021 18:20:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 May 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.