mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Minor changes done for the Windows binary
This commit is contained in:
parent
f8d6b32861
commit
f2b8760f75
8 changed files with 32 additions and 8 deletions
|
@ -1269,17 +1269,17 @@ read_parameter_file( const char *fname )
|
|||
err = "line too long";
|
||||
break;
|
||||
}
|
||||
for( p = line; isspace(*p); p++ )
|
||||
for( p = line; isspace(*(byte*)p); p++ )
|
||||
;
|
||||
if( !*p || *p == '#' )
|
||||
continue;
|
||||
keyword = p;
|
||||
if( *keyword == '%' ) {
|
||||
for( ; !isspace(*p); p++ )
|
||||
for( ; !isspace(*(byte*)p); p++ )
|
||||
;
|
||||
if( *p )
|
||||
*p++ = 0;
|
||||
for( ; isspace(*p); p++ )
|
||||
for( ; isspace(*(byte*)p); p++ )
|
||||
;
|
||||
value = p;
|
||||
trim_trailing_ws( value, strlen(value) );
|
||||
|
@ -1325,7 +1325,7 @@ read_parameter_file( const char *fname )
|
|||
}
|
||||
if( *p )
|
||||
*p++ = 0;
|
||||
for( ; isspace(*p); p++ )
|
||||
for( ; isspace(*(byte*)p); p++ )
|
||||
;
|
||||
if( !*p ) {
|
||||
err = "missing argument";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue