Remove whitespace from 'white space'

CLA: trivial

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12161)
This commit is contained in:
haykam821 2020-06-15 16:17:15 -04:00 committed by Richard Levitte
parent 9a7319b0b0
commit 6f72b210b2
12 changed files with 16 additions and 16 deletions

View File

@ -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;
}

View File

@ -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 == '"') {

View File

@ -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--;

View File

@ -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
{

View File

@ -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
{

View File

@ -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(); }

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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.

View File

@ -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} ) {