Skip to content

Commit

Permalink
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the …
Browse files Browse the repository at this point in the history
…then', 'the they.
  • Loading branch information
gregory-nutt committed May 11, 2017
1 parent 114a1d2 commit 13911d9
Show file tree
Hide file tree
Showing 34 changed files with 62 additions and 62 deletions.
2 changes: 1 addition & 1 deletion ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
* examples/Telnetd: Add a test for the new Telnet daemon.
* examples/Telnetd/telnetd_driver.c: Move the internal socket structure from
the daemon's socket array into the driver's state data so that it will be
independent from the the Telnetd daemon.
independent from the Telnetd daemon.
* apps/system/readline: Moved the old nuttx/lib/stdio/lib_fgets.c here
and renamed it as readline(). The old fgets was simplied and the overloaded
readline functionality was removed.
Expand Down
12 changes: 6 additions & 6 deletions examples/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ examples/bridge
networks was performed externally prior to the time that this test was
started. Otherwise, the following options are available:

CONFIG_EXAMPLES_BRIDGE_NETn_NOMAC - Select of the the network n hardware
CONFIG_EXAMPLES_BRIDGE_NETn_NOMAC - Select of the network n hardware
does not have a built-in MAC address. If selected, the MAC address
provided by CONFIG_EXAMPLES_BRIDGE_NETn_MACADDR will be used to assign
the MAC address to the network n device.
Expand Down Expand Up @@ -380,7 +380,7 @@ examples/elf
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
remove un-necessary information from the ELF files.

5. Simulator. You cannot use this example with the the NuttX simulator on
5. Simulator. You cannot use this example with the NuttX simulator on
Cygwin. That is because the Cygwin GCC does not generate ELF file but
rather some Windows-native binary format.

Expand Down Expand Up @@ -676,7 +676,7 @@ examples/i2cchar
CONFIG_EXAMPLES_I2SCHAR_BUFSIZE - The size of the data payload in one
audio buffer. Applies to both TX and RX audio buffers.
CONFIG_EXAMPLES_I2SCHAR_DEVINIT - Define if architecture-specific I2S
device initialize is available. If defined, the the platform specific
device initialize is available. If defined, the platform specific
code must provide a function i2schar_devinit() that will be called
each time that this test executes. Not available in the kernel build
mode.
Expand Down Expand Up @@ -818,7 +818,7 @@ examples/module
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
remove un-necessary information from the ELF files.

5. Simulator. You cannot use this example with the the NuttX simulator on
5. Simulator. You cannot use this example with the NuttX simulator on
Cygwin. That is because the Cygwin GCC does not generate ELF file but
rather some Windows-native binary format.

Expand Down Expand Up @@ -1603,7 +1603,7 @@ examples/posix_spawn
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
remove un-necessary information from the ELF files.

5. Simulator. You cannot use this example with the the NuttX simulator on
5. Simulator. You cannot use this example with the NuttX simulator on
Cygwin. That is because the Cygwin GCC does not generate ELF file but
rather some Windows-native binary format.

Expand Down Expand Up @@ -1900,7 +1900,7 @@ examples/sotest
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
remove un-necessary information from the ELF files.

5. Simulator. You cannot use this example with the the NuttX simulator on
5. Simulator. You cannot use this example with the NuttX simulator on
Cygwin. That is because the Cygwin GCC does not generate ELF file but
rather some Windows-native binary format.

Expand Down
2 changes: 1 addition & 1 deletion examples/hidkbd/hidkbd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static void hidkbd_decode(FAR char *buffer, ssize_t nbytes)
kbdstream.nbytes = nbytes;

/* Loop until all of the bytes have been consumed. We implicitly assume
* that the the escaped sequences do not cross buffer boundaries. That
* that the escaped sequences do not cross buffer boundaries. That
* might be true if the read buffer were small or the data rates high.
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/i2schar/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ config EXAMPLES_I2SCHAR_DEVINIT
depends on !BUILD_PROTECTED && !BUILD_KERNEL
---help---
Define if architecture-specific I2S device initialize is available.
If defined, the the platform specific code must provide a function
If defined, the platform specific code must provide a function
i2schar_devinit() that will be called each time that this test
executes. Not available in the kernel build mode.

Expand Down
2 changes: 1 addition & 1 deletion examples/keypadtest/keypadtest_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static void keypad_decode(FAR char *buffer, ssize_t nbytes)
kbdstream.nbytes = nbytes;

/* Loop until all of the bytes have been consumed. We implicitly assume
* that the the escaped sequences do not cross buffer boundaries. That
* that the escaped sequences do not cross buffer boundaries. That
* might be true if the read buffer were small or the data rates high.
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ config EXAMPLES_MEDIA_DEVPATH
string "Character driver path"
default "/dev/mtd0"
---help---
This is the full path to the the character driver that is used to
This is the full path to the character driver that is used to
access the media. This test is suitable for use EEPROM character
drivers (see nuttx/drivers/eeprom), or with block drivers wrapped as
character drivers (see nuttx/drivers/bch)
Expand Down
2 changes: 1 addition & 1 deletion examples/nsh/nsh_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ int nsh_main(int argc, char *argv[])
ret = nsh_telnetstart();
if (ret < 0)
{
/* The daemon is NOT running. Report the the error then fail...
/* The daemon is NOT running. Report the error then fail...
* either with the serial console up or just exiting.
*/

Expand Down
2 changes: 1 addition & 1 deletion examples/nxhello/nxhello_bkgd.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ void nxhello_hello(NXWINDOW hwnd)
* you would need to handle that event.
*/

/* Get a position so the the "Hello, World!" string will be centered on the
/* Get a position so the "Hello, World!" string will be centered on the
* display.
*/

Expand Down
4 changes: 2 additions & 2 deletions examples/nxterm/nxterm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ int nxterm_main(int argc, char **argv)
ret = nsh_telnetstart();
if (ret < 0)
{
/* The daemon is NOT running. Report the the error then fail...
/* The daemon is NOT running. Report the error then fail...
* either with the serial console up or just exiting.
*/

Expand Down Expand Up @@ -361,7 +361,7 @@ int nxterm_main(int argc, char **argv)

/* Start Console Task *****************************************************/
/* Now re-direct stdout and stderr so that they use the NX console driver.
* Note that stdin is retained (file descriptor 0, probably the the serial console).
* Note that stdin is retained (file descriptor 0, probably the serial console).
*/

printf("nxterm_main: Starting the console task\n");
Expand Down
2 changes: 1 addition & 1 deletion examples/ostest/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ void mqueue_test(void)
(int)((intptr_t)result));
}

/* Message queues are global resources and persist for the life the the
/* Message queues are global resources and persist for the life the
* task group. The message queue opened by the sender_thread must be closed
* since the sender pthread may have been canceled and may have left the
* message queue open.
Expand Down
2 changes: 1 addition & 1 deletion examples/ostest/sporadic.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void sporadic_test(void)
#if CONFIG_SCHED_SPORADIC_MAXREPL < 5
printf("sporadic_test: CONFIG_SCHED_SPORADIC_MAXREPL is small: %d\n",
CONFIG_SCHED_SPORADIC_MAXREPL);
printf(" -- There will some errors in the the replenishment interval\n");
printf(" -- There will some errors in the replenishment interval\n");
#endif

printf("sporadic_test: Initializing semaphore to 0\n");
Expand Down
2 changes: 1 addition & 1 deletion fsutils/inifile/inifile.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ static FAR char *

iniinfo("varinfo.variable=\"%s\"\n", varinfo.variable);

/* Does the the variable name match the one we are looking for? */
/* Does the variable name match the one we are looking for? */

if (strcasecmp(varinfo.variable, variable) == 0)
{
Expand Down
14 changes: 7 additions & 7 deletions graphics/traveler/src/trv_rayavoid.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,

/* The tangent is equal to the rate of change of Y with
* respect to the X-axis. The tangent is stored at
* double the the "normal" scaling -- so deltay is
* double the "normal" scaling -- so deltay is
* "triple" precision
*/

Expand Down Expand Up @@ -281,7 +281,7 @@ trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,

/* The negative tangent is equal to the rate of change
* of Y with respect to the X-axis.The tangent is
* stored at double the the "normal" scaling -- so
* stored at double the "normal" scaling -- so
* deltay is "triple" precision
*/

Expand Down Expand Up @@ -436,7 +436,7 @@ trv_coord_t trv_rayclip_player_ymotion(FAR struct trv_camera_s *pov,

/* The inverted tangent is equal to the rate of change
* of X with respect to the Y-axis. The cotangent is
* stored at double the the "normal" scaling -- so
* stored at double the "normal" scaling -- so
* deltax is "triple" precision
*/

Expand Down Expand Up @@ -530,7 +530,7 @@ trv_coord_t trv_rayclip_player_ymotion(FAR struct trv_camera_s *pov,

/* The negative inverted tangent is equal to the rate
* of change of X with respect to the Y-axis. The
* cotangent is stored at double the the "normal"
* cotangent is stored at double the "normal"
* scaling -- so deltax is "triple" precision
*/

Expand Down Expand Up @@ -584,8 +584,8 @@ trv_coord_t trv_ray_adjust_zpos(FAR struct trv_camera_s *pov,
struct trv_rect_data_s *rect; /* Points to the rectangle data */

/* We will place the player's feet at the largest Z plane
* which is lower the the player's eye level. We traverse
* the the g_zplane list in order of increase Z values
* which is lower the player's eye level. We traverse
* the g_zplane list in order of increase Z values
*/

for (list = g_zplane.head; list; list = list->flink)
Expand All @@ -607,7 +607,7 @@ trv_coord_t trv_ray_adjust_zpos(FAR struct trv_camera_s *pov,
if (pov->x >= rect->hstart && pov->x <= rect->hend &&
pov->y >= rect->vstart && pov->y <= rect->vend)
{
/* We have the the smallest Z plane under the player
/* We have the smallest Z plane under the player
* which is below the player's eye level (pov->z).
* Determine the approach delta Z value to return
*/
Expand Down
10 changes: 5 additions & 5 deletions graphics/traveler/src/trv_raycast.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ static void trv_ray_ycaster12(FAR struct trv_raycast_s *result)

/* Pre-calculate the rate of change of X and Z with respect to Y */
/* The inverted tangent is equal to the rate of change of X with respect to
* the Y-axis. The cotangent is stored at double the the "normal" scaling.
* the Y-axis. The cotangent is stored at double the "normal" scaling.
*/

dxdy = g_cot_table(g_camera.yaw);
Expand Down Expand Up @@ -646,7 +646,7 @@ static void trv_ray_ycaster12(FAR struct trv_raycast_s *result)

if (absx >= rect->hstart && absx <= rect->hend)
{
/* The X position lies in the rectangle. Now, calculate the the
/* The X position lies in the rectangle. Now, calculate the
* Z position at this relative X position. We can skip this step
* if we are processing another rectangle at the same relx
* distance.
Expand Down Expand Up @@ -810,7 +810,7 @@ static void trv_ray_ycaster34(FAR struct trv_raycast_s *result)

/* Pre-calculate the rate of change of X and Z with respect to Y */
/* The negative inverted tangent is equal to the rate of change of X with
* respect to the Y-axis. The cotangent is stored at double the the
* respect to the Y-axis. The cotangent is stored at double the
* "normal" scaling.
*/

Expand Down Expand Up @@ -1103,7 +1103,7 @@ static void trv_ray_zcasteru(FAR struct trv_raycast_s *result)

if (absx >= rect->hstart && absx <= rect->hend)
{
/* The X position lies in the rectangle. Now, calculate the the
/* The X position lies in the rectangle. Now, calculate the
* Y position at this relative Z position. We can skip this step
* if we are processing another rectangle at the same relx
* distance.
Expand Down Expand Up @@ -1253,7 +1253,7 @@ static void trv_ray_zcasterl(FAR struct trv_raycast_s *result)

if (absx >= rect->hstart && absx <= rect->hend)
{
/* The X position lies in the rectangle. Now, calculate the the
/* The X position lies in the rectangle. Now, calculate the
* Y position at this relative Z position. We can skip this step
* if we are processing another rectangle at the same relx
* distance.
Expand Down
8 changes: 4 additions & 4 deletions graphics/traveler/src/trv_rayprune.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ static void trv_ray_yawyprune_12cw(FAR struct trv_rect_head_s *outlist,

/* Pre-calculate the rate of change of X with respect to Y */
/* The inverted tangent is equal to the rate of change of X with respect
* to the Y-axis. The cotangent is stored at double the the "normal"
* to the Y-axis. The cotangent is stored at double the "normal"
* scaling.
*/

Expand Down Expand Up @@ -638,7 +638,7 @@ static void trv_ray_yawyprune_12ccw(FAR struct trv_rect_head_s *outlist,

/* Pre-calculate the rate of change of X with respect to Y */
/* The inverted tangent is equal to the rate of change of X with respect
* to the Y-axis. The cotangent is stored at double the the "normal"
* to the Y-axis. The cotangent is stored at double the "normal"
* scaling.
*/

Expand Down Expand Up @@ -729,7 +729,7 @@ static void trv_ray_yawyprune_34cw(FAR struct trv_rect_head_s *outlist,

/* Pre-calculate the rate of change of X with respect to Y */
/* The negative inverted tangent is equal to the rate of change of X with
* respect to the Y-axis. The cotangent is stored at double the the
* respect to the Y-axis. The cotangent is stored at double the
* "normal" scaling.
*/

Expand Down Expand Up @@ -820,7 +820,7 @@ static void trv_ray_yawyprune_34ccw(FAR struct trv_rect_head_s *outlist,

/* Pre-calculate the rate of change of X with respect to Y */
/* The negative inverted tangent is equal to the rate of change of X with
* respect to the Y-axis. The cotangent is stored at double the the
* respect to the Y-axis. The cotangent is stored at double the
* "normal" scaling.
*/

Expand Down
2 changes: 1 addition & 1 deletion graphics/traveler/src/trv_world.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static uint8_t trv_ini_long(INIHANDLE inihandle, FAR long *value,
* Name: trv_ini_filename
*
* Description:
* Reads a file name from the the INI file.
* Reads a file name from the INI file.
*
****************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion graphics/traveler/tools/libwld/wld_createworld.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static uint8_t wld_read_longint(INIHANDLE handle, long *variable_value,

/*************************************************************************
* Name: wld_read_filename
* Description: Reads a file name from the the INI file.
* Description: Reads a file name from the INI file.
************************************************************************/

static uint8_t wld_read_filename(INIHANDLE handle,
Expand Down
2 changes: 1 addition & 1 deletion graphics/traveler/tools/libwld/wld_inifile.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ static char *inifile_find_section_variable(struct inifile_state_s *priv,
return NULL;
}

/* Does the the variable name match the one we are looking for? */
/* Does the variable name match the one we are looking for? */

if (strcasecmp(varinfo.variable, variable) == 0)
{
Expand Down
10 changes: 5 additions & 5 deletions graphics/traveler/tools/tcledit/tcl_paint.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static void tcl_paint_coplanar_rectangle(tcl_window_t *w,
vtop = g_view_size - vtmp - 1;
}

/* We now have some rectangle that we know is to fully on the the display.
/* We now have some rectangle that we know is to fully on the display.
* Get the display positions of the rectangle
*/

Expand Down Expand Up @@ -255,7 +255,7 @@ static int tcl_check_horizontal_rectangle(tcl_window_t *w, rect_data_t *ptr, int
posend = ptr->hend;
}

/* Verify the the vertical rectangle intersects the viewing plane */
/* Verify the vertical rectangle intersects the viewing plane */

return ((posstart <= pos) && (posend >= pos));
}
Expand Down Expand Up @@ -345,7 +345,7 @@ static void tcl_paint_horizontal_rectangle(tcl_window_t *w, rect_data_t *ptr,
hright = g_view_size - 1;
}

/* We now have some line segment that we know is to fully on the the display.
/* We now have some line segment that we know is to fully on the display.
* Get the display positions of the line segment.
*/

Expand Down Expand Up @@ -403,7 +403,7 @@ static int tcl_check_vertical_rectangle(tcl_window_t *w, rect_data_t *ptr, int p
posend = ptr->vend;
}

/* Verify the the vertical rectangle intersects the viewing plane */
/* Verify the vertical rectangle intersects the viewing plane */

return ((posstart <= pos) && (posend >= pos));
}
Expand Down Expand Up @@ -497,7 +497,7 @@ static void tcl_paint_vertical_rectangle(tcl_window_t *w, rect_data_t *ptr,
vtop = g_view_size - vtmp - 1;
}

/* We now have some line segment that we know is to fully on the the display.
/* We now have some line segment that we know is to fully on the display.
* Get the display positions of the line segment
*/

Expand Down
2 changes: 1 addition & 1 deletion include/interpreters/minibasic.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
*
* This file was taken from Mini Basic, versino 1.0 developed by Malcolm
* McLean, Leeds University. Mini Basic version 1.0 was released the the
* McLean, Leeds University. Mini Basic version 1.0 was released the
* Creative Commons Attribution license which, from my reading, appears to
* be compatible with the NuttX BSD-style license:
*
Expand Down
2 changes: 1 addition & 1 deletion include/system/zmodem.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
# define CONFIG_SYSTEM_ZMODEM_MOUNTPOINT "/tmp"
#endif

/* CONFIG_SYSTEM_ZMODEM_RCVSAMPLE indicates the the local sender can sample
/* CONFIG_SYSTEM_ZMODEM_RCVSAMPLE indicates the local sender can sample
* reverse channel while sending. This means in particular, that Zmodem can
* detect if data is received from the remote receiver while streaming a file
* to the remote receiver. Support for such asychronous incoming data
Expand Down
2 changes: 1 addition & 1 deletion interpreters/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ micropython
4. Micro Python needs the math library libm.a. The math library built into
NuttX is sufficient and that can be included with CONFIG_LIBM=y. If you
prefer a more highly tuned math library then refer to the discussion of
math.h in the the top-level nuttx/README.txt file. Also refer to the
math.h in the top-level nuttx/README.txt file. Also refer to the
discussions in the NuttX Yahoo! forum; people have found many creative
way to link with the newlib math library, for example.

Expand Down
Loading

0 comments on commit 13911d9

Please sign in to comment.