mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Fix typos reported by codespell
This commit is contained in:
committed by
Xiang Xiao
parent
b9f231cdca
commit
76acb32e29
+1
-1
@@ -400,7 +400,7 @@ endif
|
||||
|
||||
# POSTBUILD -- Perform post build operations
|
||||
# Some architectures require the use of special tools and special handling
|
||||
# AFTER building the NuttX binary. Make.defs files for thos architectures
|
||||
# AFTER building the NuttX binary. Make.defs files for those architectures
|
||||
# should override the following define with the correct operations for
|
||||
# that platform
|
||||
|
||||
|
||||
+1
-1
@@ -381,7 +381,7 @@ int main(int argc, char **argv, char **envp)
|
||||
convpath = (char *)malloc(bufsize);
|
||||
if (convpath == NULL)
|
||||
{
|
||||
fprintf(stderr, "ERROR: Faile to allocate buffer.\n");
|
||||
fprintf(stderr, "ERROR: Failed to allocate buffer.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ def header_authors(header):
|
||||
results = list(filter(lambda s: s != '', results)) # remove empty strings
|
||||
return results
|
||||
|
||||
# Search for an author name in Apache's commiters/non-commiters
|
||||
# Search for an author name in Apache's committers/non-committers
|
||||
# database. It will return (apacheID,name) if there's a match or
|
||||
# None if not. apacheID might be None if there's no Apache ID
|
||||
# for author
|
||||
@@ -162,7 +162,7 @@ def analyze(j):
|
||||
|
||||
file_contents = get_file(commit['blob'])
|
||||
|
||||
# skip inaccesible blobs (probably lived in a submodule)
|
||||
# skip inaccessible blobs (probably lived in a submodule)
|
||||
|
||||
|
||||
if (not file_contents):
|
||||
|
||||
@@ -63,7 +63,7 @@ getblobs "$1" > $out2
|
||||
|
||||
if [ "$(jq '. | length' $out1)" != "$(jq '. | length' $out2)" ]; then
|
||||
# TODO: handle this case, we get more than one blob when the file is moved
|
||||
# to/from submodule and it difficults parsing. Also, the blob we get
|
||||
# to/from submodule and it difficulties parsing. Also, the blob we get
|
||||
# for when they file is in the submodule is not usable since it is possibly
|
||||
# from the pointed repo.
|
||||
echo "Log and blob list differ in size, probably a file which lived in a submodule"
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
# NuttX developers are not happy with providing per-library dummy
|
||||
# objects either.
|
||||
#
|
||||
# The "has no symbols" warning can be supressed with
|
||||
# The "has no symbols" warning can be suppressed with
|
||||
# the -no_warning_for_no_symbols option if you are using
|
||||
# a recent enough version of ranlib/libtool.
|
||||
# (Unfortunately, ar doesn't have a way to pass the option to ranlib.)
|
||||
|
||||
+4
-4
@@ -265,8 +265,8 @@ static void show_usage(const char *progname, const char *msg, int exitcode)
|
||||
fprintf(stderr, " --obj-suffix <suffix>\n");
|
||||
fprintf(stderr, " If an object path is provided, then the extension\n");
|
||||
fprintf(stderr, " will be assumed to be .o. This\n");
|
||||
fprintf(stderr, " default suffix can be overriden with this command\n");
|
||||
fprintf(stderr, " line option.\n");
|
||||
fprintf(stderr, " default suffix can be overridden with this\n");
|
||||
fprintf(stderr, " command line option.\n");
|
||||
fprintf(stderr, " --winnative\n");
|
||||
fprintf(stderr, " By default, a POSIX-style environment is assumed\n");
|
||||
fprintf(stderr, " (e.g., Linux, Cygwin, etc.) This option is\n");
|
||||
@@ -434,12 +434,12 @@ static void parse_args(int argc, char **argv)
|
||||
/* This condition means "perform shquote for
|
||||
* g_cflags, but not g_cc or g_files".
|
||||
*
|
||||
* It isn't safe to escape g_cc becuase, for some reasons,
|
||||
* It isn't safe to escape g_cc because, for some reasons,
|
||||
* Makefile passes it as a single argument like:
|
||||
*
|
||||
* $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS)
|
||||
*
|
||||
* It isn't safe to escape g_files becuase
|
||||
* It isn't safe to escape g_files because
|
||||
* do_dependency() uses them as bare filenames as well.
|
||||
* (In addition to passing them to system().)
|
||||
*/
|
||||
|
||||
@@ -27,9 +27,9 @@ def parse_args():
|
||||
This file can get the call stack when you get the log with the
|
||||
register values from R0 to R15, together with the stack dump.\n
|
||||
Then you will get a file with name callstack.cmm, run this file
|
||||
in Trace32, load the symbol accoring to the indication, the call
|
||||
in Trace32, load the symbol according to the indication, the call
|
||||
stack will pop up.\n
|
||||
Trace32 software is avaliable at: https://www.lauterbach.com
|
||||
Trace32 software is available at: https://www.lauterbach.com
|
||||
""")
|
||||
|
||||
parser.add_argument("-f", "--filename", action = "store",
|
||||
|
||||
Reference in New Issue
Block a user