svn commit: r327232 - in head/lib: libc/include libc/sparc64/fpu libedit libefivar msun/src
Eitan Adler
eadler at FreeBSD.org
Wed Dec 27 03:23:45 UTC 2017
Author: eadler
Date: Wed Dec 27 03:23:41 2017
New Revision: 327232
URL: https://svnweb.freebsd.org/changeset/base/327232
Log:
lib: Fix several typos and minor errors
- duplicate words
- typos
- references to old versions of FreeBSD
Reviewed by: imp, benno
Modified:
head/lib/libc/include/reentrant.h
head/lib/libc/sparc64/fpu/fpu_reg.h
head/lib/libedit/map.c
head/lib/libedit/refresh.c
head/lib/libefivar/uefi-dputil.c
head/lib/msun/src/catrig.c
Modified: head/lib/libc/include/reentrant.h
==============================================================================
--- head/lib/libc/include/reentrant.h Wed Dec 27 03:23:21 2017 (r327231)
+++ head/lib/libc/include/reentrant.h Wed Dec 27 03:23:41 2017 (r327232)
@@ -67,7 +67,7 @@
* Implementation Details:
*
* The mutex primitives used by the library (mutex_t, mutex_lock, etc.)
- * are macros which expand to the cooresponding primitives provided by
+ * are macros which expand to the corresponding primitives provided by
* the thread engine or to nothing. The latter is used so that code is
* not unreasonably cluttered with #ifdefs when all thread safe support
* is removed.
Modified: head/lib/libc/sparc64/fpu/fpu_reg.h
==============================================================================
--- head/lib/libc/sparc64/fpu/fpu_reg.h Wed Dec 27 03:23:21 2017 (r327231)
+++ head/lib/libc/sparc64/fpu/fpu_reg.h Wed Dec 27 03:23:41 2017 (r327232)
@@ -31,7 +31,7 @@
#define _LIBC_SPARC64_FPU_FPU_REG_H_
/*
- * These are not really of type char[]. They are are arrays of functions defined
+ * These are not really of type char[]. They are arrays of functions defined
* in fpu_reg.S; each array member loads/stores a certain fpu register of the
* given size.
*/
Modified: head/lib/libedit/map.c
==============================================================================
--- head/lib/libedit/map.c Wed Dec 27 03:23:21 2017 (r327231)
+++ head/lib/libedit/map.c Wed Dec 27 03:23:41 2017 (r327232)
@@ -370,7 +370,7 @@ private const el_action_t el_map_vi_insert[] = {
* NOTE: These mappings do NOT Correspond well
* to the KSH VI editing assignments.
* On the other and they are convenient and
- * many people have have gotten used to them.
+ * many people have gotten used to them.
*/
/* 0 */ ED_UNASSIGNED, /* ^@ */
/* 1 */ ED_MOVE_TO_BEG, /* ^A */
Modified: head/lib/libedit/refresh.c
==============================================================================
--- head/lib/libedit/refresh.c Wed Dec 27 03:23:21 2017 (r327231)
+++ head/lib/libedit/refresh.c Wed Dec 27 03:23:41 2017 (r327232)
@@ -1148,7 +1148,7 @@ re_fastaddc(EditLine *el)
/* re_clear_display():
- * clear the screen buffers so that new new prompt starts fresh.
+ * clear the screen buffers so that new prompt starts fresh.
*/
protected void
re_clear_display(EditLine *el)
Modified: head/lib/libefivar/uefi-dputil.c
==============================================================================
--- head/lib/libefivar/uefi-dputil.c Wed Dec 27 03:23:21 2017 (r327231)
+++ head/lib/libefivar/uefi-dputil.c Wed Dec 27 03:23:41 2017 (r327232)
@@ -134,7 +134,7 @@ GetDevicePathSize (
@param MaxSize The maximum size of the device path data structure.
@retval TRUE DevicePath is valid.
- @retval FALSE The length of any node node in the DevicePath is less
+ @retval FALSE The length of any node in the DevicePath is less
than sizeof (EFI_DEVICE_PATH_PROTOCOL).
@retval FALSE If MaxSize is not zero, the size of the DevicePath
exceeds MaxSize.
Modified: head/lib/msun/src/catrig.c
==============================================================================
--- head/lib/msun/src/catrig.c Wed Dec 27 03:23:21 2017 (r327231)
+++ head/lib/msun/src/catrig.c Wed Dec 27 03:23:41 2017 (r327232)
@@ -611,7 +611,7 @@ catanh(double complex z)
if (ax < SQRT_3_EPSILON / 2 && ay < SQRT_3_EPSILON / 2) {
/*
* z = 0 was filtered out above. All other cases must raise
- * inexact, but this is the only only that needs to do it
+ * inexact, but this is the only case that needs to do it
* explicitly.
*/
raise_inexact();
More information about the svn-src-all
mailing list