svn commit: r298896 - in head/lib: libedit libfetch libgssapi libkiconv libkvm libpmc libsdp libusb libvmmapi msun/src

Pedro F. Giffuni pfg at FreeBSD.org
Sun May 1 19:37:36 UTC 2016


Author: pfg
Date: Sun May  1 19:37:33 2016
New Revision: 298896
URL: https://svnweb.freebsd.org/changeset/base/298896

Log:
  lib: minor spelling fixes in comments.
  
  No functional change.

Modified:
  head/lib/libedit/chartype.h
  head/lib/libedit/refresh.c
  head/lib/libfetch/common.c
  head/lib/libgssapi/gss_accept_sec_context.c
  head/lib/libkiconv/quirks.c
  head/lib/libkvm/kvm.c
  head/lib/libkvm/kvm_pcpu.c
  head/lib/libkvm/kvm_vnet.c
  head/lib/libpmc/libpmc.c
  head/lib/libsdp/sdp.h
  head/lib/libusb/libusb20_desc.c
  head/lib/libvmmapi/vmmapi.h
  head/lib/msun/src/k_rem_pio2.c
  head/lib/msun/src/s_cbrt.c

Modified: head/lib/libedit/chartype.h
==============================================================================
--- head/lib/libedit/chartype.h	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libedit/chartype.h	Sun May  1 19:37:33 2016	(r298896)
@@ -204,11 +204,11 @@ protected size_t ct_enc_width(Char);
 #endif
 
 #ifndef NARROWCHAR
-/* Encode a characted into the destination buffer, provided there is sufficent
+/* Encode a characted into the destination buffer, provided there is sufficient
  * buffer space available. Returns the number of bytes used up (zero if the
  * character cannot be encoded, -1 if there was not enough space available). */
 
-/* The maximum buffer size to hold the most unwieldly visual representation,
+/* The maximum buffer size to hold the most unwieldy visual representation,
  * in this case \U+nnnnn. */
 #define VISUAL_WIDTH_MAX ((size_t)8)
 

Modified: head/lib/libedit/refresh.c
==============================================================================
--- head/lib/libedit/refresh.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libedit/refresh.c	Sun May  1 19:37:33 2016	(r298896)
@@ -561,7 +561,7 @@ re_update_line(EditLine *el, Char *old, 
 	nls = ++n;
 
 	/*
-         * find same begining and same end
+         * find same beginning and same end
          */
 	osb = ols;
 	nsb = nls;

Modified: head/lib/libfetch/common.c
==============================================================================
--- head/lib/libfetch/common.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libfetch/common.c	Sun May  1 19:37:33 2016	(r298896)
@@ -471,7 +471,7 @@ fetch_ssl_hname_match(const char *h, siz
 	if (!fetch_ssl_hname_equal(hdot - delta, delta,
 	    mdot1 - delta, delta))
 		return (0);
-	/* all tests succeded, it's a match */
+	/* all tests succeeded, it's a match */
 	return (1);
 }
 
@@ -1349,7 +1349,7 @@ fetch_netrc_auth(struct url *url)
  * which the proxy should not be consulted; the contents is a comma-,
  * or space-separated list of domain names.  A single asterisk will
  * override all proxy variables and no transactions will be proxied
- * (for compatability with lynx and curl, see the discussion at
+ * (for compatibility with lynx and curl, see the discussion at
  * <http://curl.haxx.se/mail/archive_pre_oct_99/0009.html>).
  */
 int

Modified: head/lib/libgssapi/gss_accept_sec_context.c
==============================================================================
--- head/lib/libgssapi/gss_accept_sec_context.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libgssapi/gss_accept_sec_context.c	Sun May  1 19:37:33 2016	(r298896)
@@ -135,7 +135,7 @@ choose_mech(const gss_buffer_t input, gs
 		return (GSS_S_COMPLETE);
 	} else if (input->length == 0) {
 		/* 
-		 * There is the a wierd mode of SPNEGO (in CIFS and
+		 * There is the a weird mode of SPNEGO (in CIFS and
 		 * SASL GSS-SPENGO where the first token is zero
 		 * length and the acceptor returns a mech_list, lets
 		 * hope that is what is happening now.

Modified: head/lib/libkiconv/quirks.c
==============================================================================
--- head/lib/libkiconv/quirks.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libkiconv/quirks.c	Sun May  1 19:37:33 2016	(r298896)
@@ -41,10 +41,10 @@
  * 
  * For example, the eucJP and Unocode mapping rule is based on
  * the JIS standard. Since Microsoft uses cp932 for Unicode mapping
- * witch is not truly based on the JIS standard, reading a file
+ * which is not truly based on the JIS standard, reading a file
  * system created by Microsoft Windows family using eucJP/Unicode
  * mapping rule will cause a problem. That's why we define eucJP-ms here.
- * The eucJP-ms has been defined by The Open Group Japan Vendor Coucil.
+ * The eucJP-ms has been defined by The Open Group Japan Vendor Council.
  *
  * Well, Apple Mac OS also has their own Unicode mappings,
  * but we won't require these quirks here, because HFS doesn't have

Modified: head/lib/libkvm/kvm.c
==============================================================================
--- head/lib/libkvm/kvm.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libkvm/kvm.c	Sun May  1 19:37:33 2016	(r298896)
@@ -237,7 +237,7 @@ _kvm_is_minidump(kvm_t *kd)
  * header from the core before treating it as an ELF header.
  *
  * We can add that here if we can get a change to libelf to support
- * an inital offset into the file.  Alternatively we could patch
+ * an initial offset into the file.  Alternatively we could patch
  * savecore to extract cores from a regular file instead.
  */
 int
@@ -756,7 +756,7 @@ kvm_nlist2(kvm_t *kd, struct kvm_nlist *
 {
 
 	/*
-	 * If called via the public interface, permit intialization of
+	 * If called via the public interface, permit initialization of
 	 * further virtualized modules on demand.
 	 */
 	return (_kvm_nlist(kd, nl, 1));

Modified: head/lib/libkvm/kvm_pcpu.c
==============================================================================
--- head/lib/libkvm/kvm_pcpu.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libkvm/kvm_pcpu.c	Sun May  1 19:37:33 2016	(r298896)
@@ -266,7 +266,7 @@ _kvm_dpcpu_init(kvm_t *kd)
 }
 
 /*
- * Check whether the dpcpu module has been initialized sucessfully or not,
+ * Check whether the dpcpu module has been initialized successfully or not,
  * initialize it if permitted.
  */
 int

Modified: head/lib/libkvm/kvm_vnet.c
==============================================================================
--- head/lib/libkvm/kvm_vnet.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libkvm/kvm_vnet.c	Sun May  1 19:37:33 2016	(r298896)
@@ -127,7 +127,7 @@ _kvm_vnet_selectpid(kvm_t *kd, pid_t pid
 
 	/*
 	 * First, find the process for this pid.  If we are working on a
-	 * dump, either locate the thread dumptid is refering to or proc0.
+	 * dump, either locate the thread dumptid is referring to or proc0.
 	 * Based on either, take the address of the ucred.
 	 */
 	credp = 0;
@@ -208,7 +208,7 @@ _kvm_vnet_selectpid(kvm_t *kd, pid_t pid
 }
 
 /*
- * Check whether the vnet module has been initialized sucessfully
+ * Check whether the vnet module has been initialized successfully
  * or not, initialize it if permitted.
  */
 int

Modified: head/lib/libpmc/libpmc.c
==============================================================================
--- head/lib/libpmc/libpmc.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libpmc/libpmc.c	Sun May  1 19:37:33 2016	(r298896)
@@ -3240,7 +3240,7 @@ pmc_init(void)
 	if (PMC_CALL(GETMODULEVERSION, &abi_version) < 0)
 		return (pmc_syscall = -1);
 
-	/* ignore patch & minor numbers for the comparision */
+	/* ignore patch & minor numbers for the comparison */
 	if ((abi_version & 0xFF000000) != (PMC_VERSION & 0xFF000000)) {
 		errno  = EPROGMISMATCH;
 		return (pmc_syscall = -1);

Modified: head/lib/libsdp/sdp.h
==============================================================================
--- head/lib/libsdp/sdp.h	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libsdp/sdp.h	Sun May  1 19:37:33 2016	(r298896)
@@ -561,7 +561,7 @@ void               sdp_print      (uint3
  *	bdaddr_t	bdaddr;	local BD_ADDR (or ANY)
  *	profile data[pdu->len - sizeof(uuid) - sizeof(bdaddr)]
  *
- * in successful reponse additional data will contain 4 bytes record handle
+ * in successful response additional data will contain 4 bytes record handle
  *
  *
  * SDP_PDU_SERVICE_UNREGISTER_REQUEST

Modified: head/lib/libusb/libusb20_desc.c
==============================================================================
--- head/lib/libusb/libusb20_desc.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libusb/libusb20_desc.c	Sun May  1 19:37:33 2016	(r298896)
@@ -135,7 +135,7 @@ libusb20_parse_config_desc(const void *c
 
 	/*
 	 * Make a copy of the config descriptor, so that the caller can free
-	 * the inital config descriptor pointer!
+	 * the initial config descriptor pointer!
 	 */
 	memcpy((void *)(lub_endpoint + nendpoint), config_desc, pcdesc.len);
 

Modified: head/lib/libvmmapi/vmmapi.h
==============================================================================
--- head/lib/libvmmapi/vmmapi.h	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/libvmmapi/vmmapi.h	Sun May  1 19:37:33 2016	(r298896)
@@ -176,7 +176,7 @@ int	vm_get_hpet_capabilities(struct vmct
 
 /*
  * Translate the GLA range [gla,gla+len) into GPA segments in 'iov'.
- * The 'iovcnt' should be big enough to accomodate all GPA segments.
+ * The 'iovcnt' should be big enough to accommodate all GPA segments.
  *
  * retval	fault		Interpretation
  *   0		  0		Success

Modified: head/lib/msun/src/k_rem_pio2.c
==============================================================================
--- head/lib/msun/src/k_rem_pio2.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/msun/src/k_rem_pio2.c	Sun May  1 19:37:33 2016	(r298896)
@@ -83,7 +83,7 @@ __FBSDID("$FreeBSD$");
  *		jk+1 must be 2 larger than you might expect so that our
  *		recomputation test works. (Up to 24 bits in the integer
  *		part (the 24 bits of it that we compute) and 23 bits in
- *		the fraction part may be lost to cancelation before we
+ *		the fraction part may be lost to cancellation before we
  *		recompute.)
  *
  * 	jz	local integer variable indicating the number of 

Modified: head/lib/msun/src/s_cbrt.c
==============================================================================
--- head/lib/msun/src/s_cbrt.c	Sun May  1 18:53:12 2016	(r298895)
+++ head/lib/msun/src/s_cbrt.c	Sun May  1 19:37:33 2016	(r298896)
@@ -59,7 +59,7 @@ cbrt(double x)
      * error of about 1 in 16.  Adding a bias of -0.03306235651 to the
      * (e%3+m)/3 term reduces the error to about 1 in 32. With the IEEE
      * floating point representation, for finite positive normal values,
-     * ordinary integer divison of the value in bits magically gives
+     * ordinary integer division of the value in bits magically gives
      * almost exactly the RHS of the above provided we first subtract the
      * exponent bias (1023 for doubles) and later add it back.  We do the
      * subtraction virtually to keep e >= 0 so that ordinary integer


More information about the svn-src-all mailing list