From 9efa012d9b899e0375d2aca55bd5448d3cc4073f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Dec 2008 17:38:21 +0000 Subject: 2008-12-03 Joel Sherrill * libfs/src/pipe/fifo.c: Actually disable initializing pipes as requested in confdefs.h. --- cpukit/libfs/src/pipe/fifo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/libfs/src/pipe/fifo.c') diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 1c194c2030..812c824db3 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -22,6 +22,7 @@ extern uint16_t rtems_pipe_no; static rtems_id rtems_pipe_semaphore = 0; +extern bool rtems_pipe_configured; #define PIPE_EMPTY(_pipe) (_pipe->Length == 0) @@ -534,6 +535,9 @@ int pipe_lseek( */ void rtems_pipe_initialize (void) { + if (!rtems_pipe_configured) + return; + if (rtems_pipe_semaphore) return; -- cgit v1.2.3