View Issue Details

IDProjectCategoryView StatusLast Update
00019471003.1(2024)/Issue8System Interfacespublic2025-11-20 12:24
ReporterAntonio Diaz Assigned Togeoffclare  
PrioritynormalSeverityEditorialTypeError
Status AppliedResolutionAccepted As Marked 
NameAntonio Diaz
OrganizationGNU
User Reference
Sectionmemmem, posix_devctl, posix_memalign
Page Number?
Line Number?
Interp Status---
Final Accepted Text0001947:0007281
Summary0001947: Repeated "the" in memmem, posix_devctl, posix_memalign
Descriptions/the the/the/ in:
- memmem, first line of section RETURN VALUE; "a pointer to the the first byte".
- posix_devctl, section RATIONALE, subsection Background, first line of last paragraph; "provides an alternative to the the various ioctl() implementations".
- posix_memalign, last line of third paragraph of section DESCRIPTION; "the behavior is undefined if the the value returned in memptr is used".

Desired ActionRemove the repeated "the".
Tagstc1-2024

Activities

geoffclare

2025-09-25 16:27

manager   bugnote:0007281

The editor to search for and correct occurrences of "the the", "a a", and other common duplications. (Note there are some genuine uses of "a a" where they are file names.)

geoffclare

2025-11-18 15:36

manager   bugnote:0007329

Search completed. Here is the full list of changes to be applied...
diff --git a/Base/Text/Commands/chmod.mm b/Base/Text/Commands/chmod.mm
index 3d4ed92..29ca4eb 100644
--- a/Base/Text/Commands/chmod.mm
+++ b/Base/Text/Commands/chmod.mm
@@ -746,7 +746,7 @@ This change is to permit historical behavior.
 SD5-XCU-ERN-97 is applied, updating the SYNOPSIS.
 .P
 Austin Group Interpretation 1003.1\(hy2001 #130 is applied, adding text
-to the DESCRIPTION about about marking for update the last file status
+to the DESCRIPTION about marking for update the last file status
 change timestamp of the file.
 .mH "Issue 8"
 Austin Group Defect 1122 is applied, changing the description of
diff --git a/Base/Text/Commands/yacc.mm b/Base/Text/Commands/yacc.mm
index a950308..4549055 100644
--- a/Base/Text/Commands/yacc.mm
+++ b/Base/Text/Commands/yacc.mm
@@ -1678,7 +1678,7 @@ desired (for example, in order to provide their own declaration that
 would conflict with the one written by
 .Cm yacc ).
 These functions are not declared in the header file because a macro
-definition in the declaration section would not be be able to suppress
+definition in the declaration section would not be able to suppress
 them there.
 .P
 Versions of this standard earlier than Issue 8 were also silent about
diff --git a/Base/Text/Functions/at_quick_exit.mm b/Base/Text/Functions/at_quick_exit.mm
index f46dc00..5bf959a 100644
--- a/Base/Text/Functions/at_quick_exit.mm
+++ b/Base/Text/Functions/at_quick_exit.mm
@@ -2,7 +2,7 @@
 .xR 10 at_quick_exit
 .mH NAME
 at_quick_exit
-\(em register a function to to be called from \f2quick_exit\fP(\|)
+\(em register a function to be called from \f2quick_exit\fP(\|)
 .mH SYNOPSIS
 .yS
 #include <stdlib.h>
diff --git a/Base/Text/Functions/closelog.mm b/Base/Text/Functions/closelog.mm
index e76aa75..9488e94 100644
--- a/Base/Text/Functions/closelog.mm
+++ b/Base/Text/Functions/closelog.mm
@@ -122,7 +122,7 @@ function shall set process attributes that affect subsequent calls to
 .Fn syslog .
 The
 .I ident
-argument is a a pointer to a null-terminated identifier that shall be
+argument is a pointer to a null-terminated identifier that shall be
 prepended (without the null terminator) to every message. The
 application shall ensure that the string pointed to by
 .I ident
diff --git a/Base/Text/Functions/memmem.mm b/Base/Text/Functions/memmem.mm
index 6f5789f..e18f83b 100644
--- a/Base/Text/Functions/memmem.mm
+++ b/Base/Text/Functions/memmem.mm
@@ -26,7 +26,7 @@ of length
 .mH "RETURN VALUE"
 Upon successful completion,
 .Fn memmem
-shall return a pointer to the the first byte of the located byte
+shall return a pointer to the first byte of the located byte
 sequence in
 .Ar haystack ,
 or a null pointer if the byte sequence is not found.
diff --git a/Base/Text/Functions/posix_devctl.mm b/Base/Text/Functions/posix_devctl.mm
index bc07aef..df5f422 100644
--- a/Base/Text/Functions/posix_devctl.mm
+++ b/Base/Text/Functions/posix_devctl.mm
@@ -214,8 +214,7 @@ that option was subsequently removed).
 .P
 The
 .Fn posix_devctl
-interface defined in this standard provides an alternative to the the
-various
+interface defined in this standard provides an alternative to the various
 .I ioctl (\|)
 implementations with a standard interface that captures the extensibility of
 .I ioctl (\|),
diff --git a/Base/Text/Functions/posix_memalign.mm b/Base/Text/Functions/posix_memalign.mm
index 84b24ea..47077e8 100644
--- a/Base/Text/Functions/posix_memalign.mm
+++ b/Base/Text/Functions/posix_memalign.mm
@@ -37,7 +37,7 @@ If the size of the space requested is 0, the behavior is
 implementation-defined: either a null pointer shall be returned in
 .Ar memptr ,
 or the behavior shall be as if the size were some non-zero value,
-except that the behavior is undefined if the the value returned in
+except that the behavior is undefined if the value returned in
 .Ar memptr
 is used to access an object.
 .P
diff --git a/Base/Text/Functions/pthread_getspecific.mm b/Base/Text/Functions/pthread_getspecific.mm
index de6c199..27f1abe 100644
--- a/Base/Text/Functions/pthread_getspecific.mm
+++ b/Base/Text/Functions/pthread_getspecific.mm
@@ -114,7 +114,7 @@ If an implementation detects that the value specified by the
 .Ar key
 argument to
 .Fn pthread_setspecific
-does not refer to a a key value obtained from
+does not refer to a key value obtained from
 .Fn pthread_key_create
 or refers to a key that has been deleted with
 .Fn pthread_key_delete ,
diff --git a/Base/Text/Functions/pthread_key_delete.mm b/Base/Text/Functions/pthread_key_delete.mm
index 31956c9..8021788 100644
--- a/Base/Text/Functions/pthread_key_delete.mm
+++ b/Base/Text/Functions/pthread_key_delete.mm
@@ -101,7 +101,7 @@ If an implementation detects that the value specified by the
 .Ar key
 argument to
 .Fn pthread_key_delete
-does not refer to a a key value obtained from
+does not refer to a key value obtained from
 .Fn pthread_key_create
 or refers to a key that has been deleted with
 .Fn pthread_key_delete ,
diff --git a/Base/Text/Functions/socketpair.mm b/Base/Text/Functions/socketpair.mm
index f4cd31b..dd208b4 100644
--- a/Base/Text/Functions/socketpair.mm
+++ b/Base/Text/Functions/socketpair.mm
@@ -181,7 +181,7 @@ is necessary to avoid a data race in multi-threaded applications.
 Without SOCK_CLOFORK, a file descriptor is leaked into a child process
 created by one thread in the window between another using
 .Fn socketpair
-and using using
+and using
 .Fn fcntl
 to set the FD_CLOFORK flag. Without SOCK_CLOEXEC, a file descriptor
 intentionally inherited by child processes is similarly leaked into an
diff --git a/Base/Text/V1_chap06.r b/Base/Text/V1_chap06.r
index 238e402..d80ab07 100644
--- a/Base/Text/V1_chap06.r
+++ b/Base/Text/V1_chap06.r
@@ -530,7 +530,7 @@ or
 .sG \e217 .
 In a portable charmap file, each constant represents an 8-bit byte.
 When constants are concatenated for multibyte character values, they
-shall be of the same type, and interpreted in sequence from from first
+shall be of the same type, and interpreted in sequence from first
 to last with the first byte of the multibyte character specified by
 the first byte in the sequence. The manner in which these constants are
 represented in the character stored in the system is

Issue History

Date Modified Username Field Change
2025-09-15 17:35 Antonio Diaz New Issue
2025-09-18 16:30 geoffclare Project 1003.1(2016/18)/Issue7+TC2 => 1003.1(2024)/Issue8
2025-09-25 16:27 geoffclare Note Added: 0007281
2025-09-25 16:28 geoffclare Status New => Resolved
2025-09-25 16:28 geoffclare Resolution Open => Accepted As Marked
2025-09-25 16:28 geoffclare Interp Status => ---
2025-09-25 16:28 geoffclare Final Accepted Text => 0001947:0007281
2025-09-25 16:29 geoffclare Tag Attached: tc1-2024
2025-11-18 15:36 geoffclare Note Added: 0007329
2025-11-20 12:16 geoffclare Assigned To => geoffclare
2025-11-20 12:24 geoffclare Status Resolved => Applied