mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Correct config file line numbers in messages when parsing comments. (kabi)
This commit is contained in:
parent
063078a02d
commit
58a20d0fb6
@ -1,5 +1,6 @@
|
||||
Version 2.02.38 -
|
||||
=================================
|
||||
Correct config file line numbers in messages when parsing comments.
|
||||
In script-processing mode, stop if any command fails.
|
||||
Warn if command exits with non-zero status code without a prior log_error.
|
||||
Make clvmd-cman use a hash rather than an array for node updown info.
|
||||
|
@ -798,11 +798,9 @@ static void _get_token(struct parser *p, int tok_prev)
|
||||
static void _eat_space(struct parser *p)
|
||||
{
|
||||
while ((p->tb != p->fe) && (*p->tb)) {
|
||||
if (*p->te == '#') {
|
||||
if (*p->te == '#')
|
||||
while ((p->te != p->fe) && (*p->te) && (*p->te != '\n'))
|
||||
p->te++;
|
||||
p->line++;
|
||||
}
|
||||
|
||||
else if (isspace(*p->te)) {
|
||||
while ((p->te != p->fe) && (*p->te) && isspace(*p->te)) {
|
||||
|
Loading…
Reference in New Issue
Block a user