Index: /trunk/psModules/src/detrend/pmDetrendDB.c
===================================================================
--- /trunk/psModules/src/detrend/pmDetrendDB.c	(revision 10101)
+++ /trunk/psModules/src/detrend/pmDetrendDB.c	(revision 10102)
@@ -131,5 +131,5 @@
     }
 
-    status = psIOBufferReadEmpty (buffer, 100, pipe->stdout);
+    status = psIOBufferReadEmpty (buffer, 100, pipe->fd_stdout);
     if (!status) {
         psError (PS_ERR_IO, false, "detselect is not responding");
@@ -226,5 +226,5 @@
         goto failure;
     }
-    status = psIOBufferReadEmpty (buffer, 100, pipe->stdout);
+    status = psIOBufferReadEmpty (buffer, 100, pipe->fd_stdout);
     if (!status) {
         psError (PS_ERR_IO, false, "detselect is not responding");
Index: /trunk/psModules/src/detrend/psPipe.c
===================================================================
--- /trunk/psModules/src/detrend/psPipe.c	(revision 10101)
+++ /trunk/psModules/src/detrend/psPipe.c	(revision 10102)
@@ -40,7 +40,7 @@
     psMemSetDeallocator(pipe, (psFreeFunc) psPipeFree);
 
-    pipe->stdin  = 0;
-    pipe->stdout = 0;
-    pipe->stderr = 0;
+    pipe->fd_stdin  = 0;
+    pipe->fd_stdout = 0;
+    pipe->fd_stderr = 0;
     return (pipe);
 }
@@ -134,7 +134,7 @@
 
     pipe->pid    = pid;
-    pipe->stdin  = stdin_fd[1];
-    pipe->stdout = stdout_fd[0];
-    pipe->stderr = stderr_fd[0];
+    pipe->fd_stdin  = stdin_fd[1];
+    pipe->fd_stdout = stdout_fd[0];
+    pipe->fd_stderr = stderr_fd[0];
 
     return (pipe);
@@ -153,13 +153,13 @@
 
     close_status = true;
-    if (close (pipe->stdin) != 0) {
+    if (close (pipe->fd_stdin) != 0) {
         psError(PS_ERR_IO, true, "error closing the pipe stdin (pid %d, error %s)\n", pipe->pid, strerror(errno));
         close_status = false;
     }
-    if (close (pipe->stdout) != 0) {
+    if (close (pipe->fd_stdout) != 0) {
         psError(PS_ERR_IO, true, "error closing the pipe stdout (pid %d, error %s)\n", pipe->pid, strerror(errno));
         close_status = false;
     }
-    if (close (pipe->stderr) != 0) {
+    if (close (pipe->fd_stderr) != 0) {
         psError(PS_ERR_IO, true, "error closing the pipe sterr (pid %d, error %s)\n", pipe->pid, strerror(errno));
         close_status = false;
Index: /trunk/psModules/src/detrend/psPipe.h
===================================================================
--- /trunk/psModules/src/detrend/psPipe.h	(revision 10101)
+++ /trunk/psModules/src/detrend/psPipe.h	(revision 10102)
@@ -7,6 +7,6 @@
 *  @author EAM, IfA
 *
-*  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-10-10 01:01:09 $
+*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-11-20 17:50:17 $
 *
 *  Copyright 2004-2005 Institute for Astronomy, University of Hawaii
@@ -20,7 +20,7 @@
 {
     int pid;
-    int stdin;
-    int stdout;
-    int stderr;
+    int fd_stdin;
+    int fd_stdout;
+    int fd_stderr;
 }
 psPipe;
