Skip to content
Snippets Groups Projects
Commit 33516799 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.3.1202

Problem:    Tags are not found in case-folded tags file. (Darren cole, Issue
            90)
Solution:   Take into account that when case folding was used for the tags
            file "!rm" sorts before the "!_TAG" header lines.
parent e66f06d8
No related branches found
Tags v7.3.1202
No related merge requests found
......@@ -1797,7 +1797,12 @@ line_read_in:
*/
if (state == TS_START)
{
if (STRNCMP(lbuf, "!_TAG_", 6) == 0)
/* The header ends when the line sorts below "!_TAG_".
* There may be non-header items before the header though,
* e.g. "!" itself. When case is folded lower case letters
* sort before "_". */
if (STRNCMP(lbuf, "!_TAG_", 6) <= 0
|| (lbuf[0] == '!' && ASCII_ISLOWER(lbuf[1])))
{
/*
* Read header line.
......
......@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1202,
/**/
1201,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment