[Initng-svn] r4353 - initng/trunk/plugins/bash_parser
svn at initng.thinktux.net
svn at initng.thinktux.net
Sun Jun 4 13:22:35 CEST 2006
Author: jimmy
Date: Sun Jun 4 13:22:34 2006
New Revision: 4353
Modified:
initng/trunk/plugins/bash_parser/initng_bash_parser.c
Log:
The pipe is working!
Modified: initng/trunk/plugins/bash_parser/initng_bash_parser.c
==============================================================================
--- initng/trunk/plugins/bash_parser/initng_bash_parser.c (original)
+++ initng/trunk/plugins/bash_parser/initng_bash_parser.c Sun Jun 4 13:22:34 2006
@@ -685,7 +685,7 @@
}
/* create the control out pipe */
- current_pipe = pipe_new(PIPE_CTRL_OUT, BUFFERED_OUT_PIPE);
+ current_pipe = pipe_new(PIPE_CTRL_OUT, OUT_PIPE);
if (current_pipe)
{
/* we want this pipe to get fd 4, in the fork */
@@ -720,7 +720,7 @@
return(FALSE);
/* the pipe we opened was on fd 3 */
- if(pi->targets[0] != 3)
+ if(pi->targets[0] != 4)
return(FALSE);
r=read(pi->pipe[0], buffer, 1024);
More information about the Initng-svn
mailing list