diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-07-27 15:50:04 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-07-27 15:50:04 +0000 |
commit | 745e1f2a8ffa472119521b459c5083177cb3274c (patch) | |
tree | 13b6b5487a10377a98c3204a9de24c873c0d0a4b /src/input/input_stdin_fifo.c | |
parent | e0e461b24e35ddea00ed6ebed4343cee0bc1d337 (diff) | |
download | xine-lib-745e1f2a8ffa472119521b459c5083177cb3274c.tar.gz xine-lib-745e1f2a8ffa472119521b459c5083177cb3274c.tar.bz2 |
More check about devfs support. Dont call open() in non blocking mode if it's
not necessary.
CVS patchset: 358
CVS date: 2001/07/27 15:50:04
Diffstat (limited to 'src/input/input_stdin_fifo.c')
-rw-r--r-- | src/input/input_stdin_fifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_stdin_fifo.c b/src/input/input_stdin_fifo.c index e5fda5300..3624c42a9 100644 --- a/src/input/input_stdin_fifo.c +++ b/src/input/input_stdin_fifo.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_stdin_fifo.c,v 1.8 2001/07/10 21:07:55 f1rmb Exp $ + * $Id: input_stdin_fifo.c,v 1.9 2001/07/27 15:50:04 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -64,7 +64,7 @@ static int stdin_plugin_open(input_plugin_t *this_gen, char *mrl) { if(!strncasecmp(mrl, "stdin:", 6) || !strncmp(mrl, "-", 1)) { -#ifdef CONFIG_DEVFS_FS +#if defined(CONFIG_DEVFS_FS) && defined (CONFIG_DEVFS_MOUNT) filename = "/dev/vc/stdin"; #else filename = "/dev/stdin"; |