unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#47568: [PATCH] Fix typos in examples
@ 2021-04-02 19:54 Eugene Klimov via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  2021-04-04 18:19 ` Mikael Djurfeldt
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Klimov via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2021-04-02 19:54 UTC (permalink / raw)
  To: 47568; +Cc: Eugene Klimov

* 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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#47568: [PATCH] Fix typos in examples
  2021-04-02 19:54 bug#47568: [PATCH] Fix typos in examples Eugene Klimov via Bug reports for GUILE, GNU's Ubiquitous Extension Language
@ 2021-04-04 18:19 ` Mikael Djurfeldt
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Djurfeldt @ 2021-04-04 18:19 UTC (permalink / raw)
  To: Eugene Klimov; +Cc: 47568, 47568-done

[-- Attachment #1: Type: text/plain, Size: 3369 bytes --]

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@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
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4124 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-04 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 19:54 bug#47568: [PATCH] Fix typos in examples Eugene Klimov via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2021-04-04 18:19 ` Mikael Djurfeldt

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 NNTP newsgroup(s).