Changeset 1fee774 in subsurface


Ignore:
Timestamp:
Dec 20, 2017, 6:39:54 AM (5 weeks ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
1c1ca8c
Parents:
6e411cc
git-author:
Jan Mulder <jlmulder@…> (12/20/17 05:37:03)
git-committer:
Jan Mulder <jlmulder@…> (12/20/17 06:39:54)
Message:

core: ignore erroneous quotes as well

A small redo of 78bafe8f620a066. The quotes cause the original
functionality not to work. Ignore them as well.

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/load-git.c

    r78bafe8f r1fee774  
    395395                return;
    396396        }
    397         if (!strcmp(key, "m'") && strlen(value) == 0) {
     397        if ((*key == 'm') && strlen(value) == 0) {
    398398                /* found a bogus key/value pair in the cylinder, consisting
    399                  * of a lonely "m" without value. This is caused by commit
    400                  * 46004c39e26 and fixed in 48d9c8eb6eb0. See referenced
    401                  * commits for more info.
     399                 * of a lonely "m" or m<single quote> without value. This
     400                 * is caused by commit 46004c39e26 and fixed in 48d9c8eb6eb0 and
     401                 * b984fb98c38e4. See referenced commits for more info.
    402402                 *
    403403                 * Just ignore this key/value pair. No processing is broken
Note: See TracChangeset for help on using the changeset viewer.