mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 14:28:40 +02:00
Don't try to do filedir() shenanigans for "DO /absolute/path"
This commit is contained in:
@@ -572,7 +572,7 @@ int DoInclude(ParsePtr p, enum TokTypes tok)
|
||||
e = VerifyEoln(p);
|
||||
if (e) Eprint("%s", ErrMsg[e]);
|
||||
|
||||
if (tok == T_IncludeR) {
|
||||
if (tok == T_IncludeR && *(DBufValue(&buf)) != '/') {
|
||||
/* Relative include: Include relative to dir
|
||||
containing current file */
|
||||
if (DBufPuts(&path, FileName) != OK) return E_NO_MEM;
|
||||
|
||||
Reference in New Issue
Block a user