From a6691785d8bdaa339449e8df532a8b11a8690909 Mon Sep 17 00:00:00 2001 From: pooryorick Date: Wed, 23 Jun 2021 21:31:40 +0000 Subject: fix typos in previous commit --- unix/tclKqueueNotfy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/tclKqueueNotfy.c b/unix/tclKqueueNotfy.c index 62d165e..6606c8c 100644 --- a/unix/tclKqueueNotfy.c +++ b/unix/tclKqueueNotfy.c @@ -183,8 +183,8 @@ PlatformEventsControl( if (fstat(filePtr->fd, &fdStat) == -1) { Tcl_Panic("fstat: %s", strerror(errno)); } else if ((fdStat.st_mode & S_IFMT) == S_IFREG - || (fdStat.st_mode & S_IFMT) == S_ISDIR - || (fdStat.st_mode & S_IFMT) == S_ISLNK + || (fdStat.st_mode & S_IFMT) == S_IFDIR + || (fdStat.st_mode & S_IFMT) == S_IFLNK ) { switch (op) { case EV_ADD: -- cgit v0.12