[BusyBox 0000869]: msh fails to handle pipes properly

bugs at busybox.net bugs at busybox.net
Mon Feb 11 18:09:03 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=869 
====================================================================== 
Reported By:                vapier
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   869
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             05-05-2006 13:48 PDT
Last Modified:              02-11-2008 10:09 PST
====================================================================== 
Summary:                    msh fails to handle pipes properly
Description: 
if you run `ls | cd` in msh, the shell will try and execute the output of
ls and then quit:
vapier at vapier 1 busybox $ ./busybox msh


BusyBox v1.2.0-pre0 (2006.05.05-18:18+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

# ls /dev/null | cd
# /dev/null: cannot execute
# vapier at vapier 1 busybox $
====================================================================== 

---------------------------------------------------------------------- 
 vda - 02-11-08 10:09  
---------------------------------------------------------------------- 
Actually, msh.c has code which detects and complains about these
(see "#ifdef COMPIPE"), but it was disabled. I am enabling it, and
tentatively explain how it can be possibly fixed.

Not actually fixing for now. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-05-06 13:48  vapier         New Issue                                    
05-05-06 13:48  vapier         Status                   new => assigned     
05-05-06 13:48  vapier         Assigned To               => BusyBox         
05-05-06 13:48  vapier         File Added: msh-pipes.patch                    
02-11-08 10:09  vda            Status                   assigned => closed  
02-11-08 10:09  vda            Note Added: 0003994                          
======================================================================




More information about the busybox-cvs mailing list