[BusyBox 0001396]: Echo doesn't print first parameter do stdout

bugs at busybox.net bugs at busybox.net
Tue Jun 19 11:14:14 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1396 
====================================================================== 
Reported By:                rsantos
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1396
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-19-2007 04:14 PDT
Last Modified:              06-19-2007 04:14 PDT
====================================================================== 
Summary:                    Echo doesn't print first parameter do stdout
Description: 
This also applies to Busybox v1.6.0, even with busybox-1.6.0-echo.patch fix
applied.

The problem I get is that the first parameter never gets printed. Some
"trash" gets printed but not the first parameter. The remaining parameters
on argv are printed correctly.

I managed to get it to work by replacing

arg = ++argv;
on line 36 of current svn with
arg = *++argv;

After this all worked well. I thought about asking for svn access but,
since is just a really minor change, can anyone do that for me? Any
comments on this?

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-19-07 04:14  rsantos        New Issue                                    
06-19-07 04:14  rsantos        Status                   new => assigned     
06-19-07 04:14  rsantos        Assigned To               => BusyBox         
06-19-07 04:14  rsantos        File Added: config.106                       
======================================================================




More information about the busybox-cvs mailing list