mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Merge branch '2.4.2' into lexer2
This commit is contained in:
commit
e1c0d5b130
3 changed files with 7 additions and 4 deletions
|
@ -8,6 +8,8 @@
|
|||
(thanks to Renato Alves).
|
||||
- Eliminated some code that is not UTF8-safe.
|
||||
- Removed pthreads linkage.
|
||||
- Closed dangling pipes in execute (), resolving problems when a hook script
|
||||
forks (thanks to Jens Erat).
|
||||
|
||||
------ current release ---------------------------
|
||||
|
||||
|
|
|
@ -770,7 +770,8 @@ bool Lexer2::isPath (std::string& token, Lexer2::Type& type)
|
|||
else
|
||||
break;
|
||||
|
||||
if (! isWhitespace (_text[marker]) &&
|
||||
if (_text[marker] &&
|
||||
! isWhitespace (_text[marker]) &&
|
||||
_text[marker] != '/')
|
||||
{
|
||||
utf8_next_char (_text, marker);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue