summaryrefslogtreecommitdiff
path: root/src/fsmagic.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2005-06-25 15:52:13 +0000
committerChristos Zoulas <christos@zoulas.com>2005-06-25 15:52:13 +0000
commit2a0b4ba32c564b9c34eee519f9f40f654e7d3b2c (patch)
tree0bce4df1ca4ef8fbd91340ee47673377d251a7b6 /src/fsmagic.c
parentef85a3b3a3a3f47060e8bd27108c98b940a89a94 (diff)
downloadfile-git-2a0b4ba32c564b9c34eee519f9f40f654e7d3b2c.tar.gz
Welcome to 4.14
Diffstat (limited to 'src/fsmagic.c')
-rw-r--r--src/fsmagic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fsmagic.c b/src/fsmagic.c
index a9c243b8..884ffb8d 100644
--- a/src/fsmagic.c
+++ b/src/fsmagic.c
@@ -57,7 +57,7 @@
#undef HAVE_MAJOR
#ifndef lint
-FILE_RCSID("@(#)$Id: fsmagic.c,v 1.45 2004/11/13 10:19:48 christos Exp $")
+FILE_RCSID("@(#)$Id: fsmagic.c,v 1.46 2005/06/25 15:52:14 christos Exp $")
#endif /* lint */
protected int
@@ -181,6 +181,8 @@ file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb)
/* TODO add code to handle V7 MUX and Blit MUX files */
#ifdef S_IFIFO
case S_IFIFO:
+ if((ms->flags & MAGIC_DEVICES) != 0)
+ break;
if (file_printf(ms, "fifo (named pipe)") == -1)
return -1;
return 1;