mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-31 05:47:18 +02:00
TW-1400
- TW-1400 task "" gives a segfault (thanks to Scott Kostyshak).
This commit is contained in:
parent
04b2378d57
commit
b4438b4e8f
2 changed files with 130 additions and 125 deletions
|
@ -149,6 +149,7 @@
|
|||
- TW-1381 blocking report exits with "Unknown error" and exit code 3.
|
||||
- TW-1383 Segmentation fault running import-yaml.pl with included example
|
||||
(thanks to Markus Beppler).
|
||||
- TW-1400 task "" gives a segfault (thanks to Scott Kostyshak).
|
||||
- TW-1403 fish shell: no option "modify" after task selection (thanks to Roman
|
||||
Infliansksas).
|
||||
- TW-1405 Add command _zshattributes (thanks to Roman Inflianskas).
|
||||
|
|
|
@ -1298,7 +1298,8 @@ void Parser::findIdSequence ()
|
|||
// Split the ID list into elements.
|
||||
std::vector <std::string> elements;
|
||||
split (elements, raw, ',');
|
||||
|
||||
if (elements.size ())
|
||||
{
|
||||
bool not_an_id = false;
|
||||
std::vector <std::string>::iterator e;
|
||||
for (e = elements.begin (); e != elements.end (); ++e)
|
||||
|
@ -1436,6 +1437,7 @@ void Parser::findIdSequence ()
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
while (action);
|
||||
}
|
||||
|
||||
|
@ -1580,7 +1582,8 @@ void Parser::findFilter ()
|
|||
! (*i)->hasTag ("CMD") &&
|
||||
! (*i)->hasTag ("BINARY") &&
|
||||
! (*i)->hasTag ("RC") &&
|
||||
! (*i)->hasTag ("CONFIG"))
|
||||
! (*i)->hasTag ("CONFIG") &&
|
||||
(*i)->attribute ("raw") != "")
|
||||
{
|
||||
(*i)->unTag ("?");
|
||||
(*i)->tag ("FILTER");
|
||||
|
@ -1591,7 +1594,8 @@ void Parser::findFilter ()
|
|||
! (*i)->hasTag ("CMD") &&
|
||||
! (*i)->hasTag ("BINARY") &&
|
||||
! (*i)->hasTag ("RC") &&
|
||||
! (*i)->hasTag ("CONFIG"))
|
||||
! (*i)->hasTag ("CONFIG") &&
|
||||
(*i)->attribute ("raw") != "")
|
||||
{
|
||||
(*i)->unTag ("?");
|
||||
(*i)->tag ("FILTER");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue