Skip to contentSkip to conversation

Fix comments (adress -> address, layed -> laid, wierd -> weird)

PATCH Applied Stefan Weil 2 participants 3 messages Nov 2, 2012 – Nov 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix comments (adress -> address, layed -> laid, wierd -> weird)

Remove also a duplicated 'the'.

---
 slirp/ip_icmp.c |    2 +-
 tcg/tcg.h       |    4 ++--
 uri.c           |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
slirp/ip_icmp.c +1 -1
index d571fd0..9f1cb08 100644
@@ -352,7 +352,7 @@ icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
 
   ip->ip_ttl = MAXTTL;
   ip->ip_p = IPPROTO_ICMP;
-  ip->ip_dst = ip->ip_src;    /* ip adresses */
+  ip->ip_dst = ip->ip_src;    /* ip addresses */
   ip->ip_src = m->slirp->vhost_addr;
 
   (void ) ip_output((struct socket *)NULL, m);
tcg/tcg.h +2 -2
index a6c9256..db86a73 100644
@@ -272,8 +272,8 @@ typedef int TCGv_i64;
 #define TCG_CALL_DUMMY_TCGV     MAKE_TCGV_I32(-1)
 #define TCG_CALL_DUMMY_ARG      ((TCGArg)(-1))
 
-/* Conditions.  Note that these are layed out for easy manipulation by
-   the the functions below:
+/* Conditions.  Note that these are laid out for easy manipulation by
+   the functions below:
      bit 0 is used for inverting;
      bit 1 is signed,
      bit 2 is unsigned,
uri.c +2 -2
index dd922de..138547b 100644
@@ -432,7 +432,7 @@ rfc3986_parse_host(URI *uri, const char **str)
 
     host = cur;
     /*
-     * IPv6 and future adressing scheme are enclosed between brackets
+     * IPv6 and future addressing scheme are enclosed between brackets
      */
     if (*cur == '[') {
         cur++;
@@ -1917,7 +1917,7 @@ done:
  *     http://site1.com/docs/pic1.gif   http://site1.com/docs/pic1.gif
  *
  *
- * Note: if the URI reference is really wierd or complicated, it may be
+ * Note: if the URI reference is really weird or complicated, it may be
  *       worthwhile to first convert it into a "nice" one by calling
  *       uri_resolve (using 'base') before calling this routine,
  *       since this routine (for reasonable efficiency) assumes URI has
Signature · 1 line
1.7.10.4
#1 lore raw

Am 02.11.2012 08:29, schrieb Stefan Weil:

Quoted 52 lines

Remove also a duplicated 'the'.

---
  slirp/ip_icmp.c |    2 +-
  tcg/tcg.h       |    4 ++--
  uri.c           |    4 ++--
  3 files changed, 5 insertions(+), 5 deletions(-)
slirp/ip_icmp.c +1 -1
index d571fd0..9f1cb08 100644
@@ -352,7 +352,7 @@ icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
 
    ip->ip_ttl = MAXTTL;
    ip->ip_p = IPPROTO_ICMP;
-  ip->ip_dst = ip->ip_src;    /* ip adresses */
+  ip->ip_dst = ip->ip_src;    /* ip addresses */
    ip->ip_src = m->slirp->vhost_addr;
 
    (void ) ip_output((struct socket *)NULL, m);
tcg/tcg.h +2 -2
index a6c9256..db86a73 100644
@@ -272,8 +272,8 @@ typedef int TCGv_i64;
  #define TCG_CALL_DUMMY_TCGV     MAKE_TCGV_I32(-1)
  #define TCG_CALL_DUMMY_ARG      ((TCGArg)(-1))
 
-/* Conditions.  Note that these are layed out for easy manipulation by
-   the the functions below:
+/* Conditions.  Note that these are laid out for easy manipulation by
+   the functions below:
       bit 0 is used for inverting;
       bit 1 is signed,
       bit 2 is unsigned,
uri.c +1 -1
index dd922de..138547b 100644
@@ -432,7 +432,7 @@ rfc3986_parse_host(URI *uri, const char **str)
 
      host = cur;
      /*
-     * IPv6 and future adressing scheme are enclosed between brackets
+     * IPv6 and future addressing scheme are enclosed between brackets
       */
      if (*cur == '[') {
          cur++;

uri.c done: · line 1923

Quoted 8 lines
uri.c +1 -1
@@ -1917,7 +1917,7 @@ done:
   *     http://site1.com/docs/pic1.gif   http://site1.com/docs/pic1.gif
   *
   *
- * Note: if the URI reference is really wierd or complicated, it may be
+ * Note: if the URI reference is really weird or complicated, it may be
   *       worthwhile to first convert it into a "nice" one by calling
   *       uri_resolve (using 'base') before calling this routine,
   *       since this routine (for reasonable efficiency) assumes URI has

ping?

#2 lore raw
Quoted 54 lines · Stefan Weil

Am 02.11.2012 08:29, schrieb Stefan Weil:

Quoted 53 lines

Remove also a duplicated 'the'.

---
 slirp/ip_icmp.c |    2 +-
 tcg/tcg.h       |    4 ++--
 uri.c           |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
slirp/ip_icmp.c +1 -1
index d571fd0..9f1cb08 100644
@@ -352,7 +352,7 @@ icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
 
   ip->ip_ttl = MAXTTL;
   ip->ip_p = IPPROTO_ICMP;
-  ip->ip_dst = ip->ip_src;    /* ip adresses */
+  ip->ip_dst = ip->ip_src;    /* ip addresses */
   ip->ip_src = m->slirp->vhost_addr;
 
   (void ) ip_output((struct socket *)NULL, m);
tcg/tcg.h +2 -2
index a6c9256..db86a73 100644
@@ -272,8 +272,8 @@ typedef int TCGv_i64;
 #define TCG_CALL_DUMMY_TCGV     MAKE_TCGV_I32(-1)
 #define TCG_CALL_DUMMY_ARG      ((TCGArg)(-1))
 
-/* Conditions.  Note that these are layed out for easy manipulation by
-   the the functions below:
+/* Conditions.  Note that these are laid out for easy manipulation by
+   the functions below:
      bit 0 is used for inverting;
      bit 1 is signed,
      bit 2 is unsigned,
uri.c +1 -1
index dd922de..138547b 100644
@@ -432,7 +432,7 @@ rfc3986_parse_host(URI *uri, const char **str)
 
     host = cur;
     /*
-     * IPv6 and future adressing scheme are enclosed between brackets
+     * IPv6 and future addressing scheme are enclosed between brackets
      */
     if (*cur == '[') {
         cur++;
@@ -1917,7 +1917,7 @@ done:
  *     http://site1.com/docs/pic1.gif   http://site1.com/docs/pic1.gif
  *
Quoted 9 lines

uri.c done: · line 1923

Quoted 6 lines
uri.c +1 -1
  *
- * Note: if the URI reference is really wierd or complicated, it may be
+ * Note: if the URI reference is really weird or complicated, it may be
  *       worthwhile to first convert it into a "nice" one by calling
  *       uri_resolve (using 'base') before calling this routine,
  *       since this routine (for reasonable efficiency) assumes URI has

ping?

Thanks, applied to the trivial patches tree. There is currently a pending pull request - this patch will be in the next pull request.

Stefan