提交 6f72b210 编写于 作者: H haykam821 提交者: Richard Levitte

Remove whitespace from 'white space'

CLA: trivial
Reviewed-by: NMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12161)
上级 9a7319b0
......@@ -167,7 +167,7 @@ void win32_utf8argv(int *argc, char **argv[])
int in_quote = 0;
if (*p == L' ' || *p == L'\t') {
p++; /* skip over white spaces */
p++; /* skip over whitespace */
continue;
}
......
......@@ -763,7 +763,7 @@ static char *strip_ends(char *name)
static char *strip_start(char *name)
{
char *p, c;
/* Look for first non white space or quote */
/* Look for first non whitespace or quote */
for (p = name; (c = *p); p++) {
if (c == '"') {
/* Next char is start of string if non null */
......@@ -784,7 +784,7 @@ static char *strip_end(char *name)
char *p, c;
if (!name)
return NULL;
/* Look for first non white space or quote */
/* Look for first non whitespace or quote */
for (p = name + strlen(name) - 1; p >= name; p--) {
c = *p;
if (c == '"') {
......
......@@ -422,7 +422,7 @@ static int evp_decodeblock_int(EVP_ENCODE_CTX *ctx, unsigned char *t,
else
table = data_ascii2bin;
/* trim white space from the start of the line. */
/* trim whitespace from the start of the line. */
while ((n > 0) && (conv_ascii2bin(*f, table) == B64_WS)) {
f++;
n--;
......
......@@ -150,7 +150,7 @@ while(my $line=<>) {
if ($line =~ m/^\s*(#|@|\/\/)/) { print $line; next; }
$line =~ s|/\*.*\*/||; # get rid of C-style comments...
$line =~ s|^\s+||; # ... and skip white spaces in beginning...
$line =~ s|^\s+||; # ... and skip whitespace in beginning...
$line =~ s|\s+$||; # ... and at the end
{
......
......@@ -306,7 +306,7 @@ while($line=<>) {
$line =~ s|[#!;].*$||; # get rid of asm-style comments...
$line =~ s|/\*.*\*/||; # ... and C-style comments...
$line =~ s|^\s+||; # ... and skip white spaces in beginning...
$line =~ s|^\s+||; # ... and skip whitespaces in beginning...
$line =~ s|\s+$||; # ... and at the end
{
......
......@@ -1200,7 +1200,7 @@ while(defined(my $line=<>)) {
$line =~ s|[#!].*$||; # get rid of asm-style comments...
$line =~ s|/\*.*\*/||; # ... and C-style comments...
$line =~ s|^\s+||; # ... and skip white spaces in beginning
$line =~ s|^\s+||; # ... and skip whitespaces in beginning
$line =~ s|\s+$||; # ... and at the end
if (my $label=label->re(\$line)) { print $label->out(); }
......
......@@ -158,7 +158,7 @@ numerical form (for example 1.2.3.4). The file passed to the B<-oid> option
allows additional OIDs to be included. Each line consists of three columns,
the first column is the OID in numerical format and should be followed by white
space. The second column is the "short name" which is a single word followed
by white space. The final column is the rest of the line and is the
by whitespace. The final column is the rest of the line and is the
"long name". Example:
C<1.2.3.4 shortName A long name>
......
......@@ -432,8 +432,8 @@ any) used.
This specifies a file containing additional B<OBJECT IDENTIFIERS>.
Each line of the file should consist of the numerical form of the
object identifier followed by white space then the short name followed
by white space and finally the long name.
object identifier followed by whitespace then the short name followed
by whitespace and finally the long name.
=item B<oid_section>
......
......@@ -375,8 +375,8 @@ overridden by the B<-keyout> option.
This specifies a file containing additional B<OBJECT IDENTIFIERS>.
Each line of the file should consist of the numerical form of the
object identifier followed by white space then the short name followed
by white space and finally the long name.
object identifier followed by whitespace then the short name followed
by whitespace and finally the long name.
=item B<oid_section>
......
......@@ -372,8 +372,8 @@ section can be overridden with the B<-section> command line switch. (Optional)
This specifies a file containing additional B<OBJECT IDENTIFIERS>.
Each line of the file should consist of the numerical form of the
object identifier followed by white space then the short name followed
by white space and finally the long name. (Optional)
object identifier followed by whitespace then the short name followed
by whitespace and finally the long name. (Optional)
=item B<oid_section>
......
......@@ -119,7 +119,7 @@ leading text that is preceded with a period. For example:
2.OU = Second OU
The B<value> consists of the string following the B<=> character until end
of line with any leading and trailing white space removed.
of line with any leading and trailing whitespace removed.
The value string undergoes variable expansion. The text C<$var> or C<${var}>
inserts the value of the named variable from the current section.
......
......@@ -901,7 +901,7 @@ sub collectnames {
}
foreach my $name ( @{$podinfo{names}} ) {
next if $name eq "";
err($id, "'$name' contains white space")
err($id, "'$name' contains whitespace")
if $name =~ /\s/;
my $name_sec = "$name($section)";
if ( !defined $name_map{$name_sec} ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册