diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-12-08 21:08:10 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-12-08 21:08:10 +0100 |
commit | 8504caa7284ddf98de53fea4cccdb8ce57627ae4 (patch) | |
tree | db7b05397862193f676c259f353ad1634c5cd470 | |
parent | 517469b48f49edc4d4230e3ae1648d7306d72a62 (diff) |
inotail.c: Yet another user for IS_PIPELIKE
-rw-r--r-- | inotail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ static int tail_file(struct file_struct *f, unsigned int n_units, char mode) } /* We cannot seek on these */ - if (S_ISFIFO(finfo.st_mode) || S_ISSOCK(finfo.st_mode) || f->fd == STDIN_FILENO) + if (IS_PIPELIKE(finfo.st_mode) || f->fd == STDIN_FILENO) return tail_pipe(f); f->st_size = finfo.st_size; |