summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2021-06-23 21:31:40 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2021-06-23 21:31:40 (GMT)
commita6691785d8bdaa339449e8df532a8b11a8690909 (patch)
tree2132b520cb476be6a6865423219f4c3e17cde229 /unix
parent458f106fdb95ed6844f88cc8aa7a08a173ac7586 (diff)
downloadtcl-a6691785d8bdaa339449e8df532a8b11a8690909.zip
tcl-a6691785d8bdaa339449e8df532a8b11a8690909.tar.gz
tcl-a6691785d8bdaa339449e8df532a8b11a8690909.tar.bz2
fix typos in previous commit
Diffstat (limited to 'unix')
-rw-r--r--unix/tclKqueueNotfy.c4
1 files 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: