[BusyBox 0000973]: msh grave substitution does not work if stdin/stdout are not already open

bugs at busybox.net bugs at busybox.net
Thu Feb 14 17:14:27 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=973 
====================================================================== 
Reported By:                Keith Young
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   973
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             07-27-2006 06:12 PDT
Last Modified:              02-14-2008 09:14 PST
====================================================================== 
Summary:                    msh grave substitution does not work if stdin/stdout
are not already open
Description: 
I tried using busybox sh as the script processor /sbin/hotplug (Linux
2.6.16)
Substitutions such as:
d=`date`
return empty.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 02-14-08 09:14  
---------------------------------------------------------------------- 
Fixed sometime ago in svn:

        xmove_fd(pf[1], 1);
        if (pf[0] != 1)
                close(pf[0]); 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-27-06 06:12  Keith Young    New Issue                                    
07-27-06 06:12  Keith Young    Status                   new => assigned     
07-27-06 06:12  Keith Young    Assigned To               => BusyBox         
02-14-08 09:14  vda            Status                   assigned => closed  
02-14-08 09:14  vda            Note Added: 0004744                          
======================================================================




More information about the busybox-cvs mailing list