commit 1762920808f646501ac823576f5de70c92a25a55
parent 281a56fb746f474f364b055f88565280a6033e63
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Sat, 26 Nov 2016 17:43:36 +0100
rcfile: actually don't try to open things that cannot be syntax files
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -539,6 +539,7 @@ static void parse_one_include(char *file)
rcfile_error(S_ISDIR(rcinfo.st_mode) ?
_("\"%s\" is a directory") :
_("\"%s\" is a device file"), file);
+ return;
}
/* Open the included syntax file. */