summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2006-03-17 18:21:23 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2006-03-17 18:21:23 +0000
commit578b1e2bcc5081a39eb7bd3166f29c3e3db162c2 (patch)
tree091d80587c0188b7fe5ccb876b0949c712554690
parent4760522c78fa0c7a82b1efd66e5281e25c10e111 (diff)
downloadxine-lib-578b1e2bcc5081a39eb7bd3166f29c3e3db162c2.tar.gz
xine-lib-578b1e2bcc5081a39eb7bd3166f29c3e3db162c2.tar.bz2
- implement change advised by Darren:
http://article.gmane.org/gmane.comp.video.xine.devel/15139 CVS patchset: 7934 CVS date: 2006/03/17 18:21:23
-rw-r--r--src/input/input_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c
index 144f00c45..b18e95d5a 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_file.c,v 1.107 2006/03/16 22:17:16 tmattern Exp $
+ * $Id: input_file.c,v 1.108 2006/03/17 18:21:23 hadess Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -295,7 +295,7 @@ static int file_plugin_open (input_plugin_t *this_gen ) {
/* don't check length of fifo or character device node */
if (fstat (this->fh, &sbuf) == 0) {
- if (S_ISFIFO(sbuf.st_mode) || S_ISCHR(sbuf.st_mode))
+ if (!S_ISREG(sbuf.st_mode))
return 1;
}