[BusyBox 0001378]: ls don't flush stdout on exit

bugs at busybox.net bugs at busybox.net
Mon Jun 4 08:57:55 PDT 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1378 
====================================================================== 
Reported By:                zimme
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1378
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             06-03-2007 12:46 PDT
Last Modified:              06-04-2007 08:57 PDT
====================================================================== 
Summary:                    ls don't flush stdout on exit
Description: 
When i try to redirct the output from ls to a file like this :
ls  > test.txt

the file test.txt is empty.
I think that ls don't flush the stdout on exit. 

Perhaps this solve the problem :

-return status;
+fflush_stdout_and_exit(status);


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

---------------------------------------------------------------------- 
 vda - 06-03-07 15:32  
---------------------------------------------------------------------- 
Do not use CONFIG_STATIC=y with glibc. Or at least read the warning at
compile time... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-07 12:46  zimme          New Issue                                    
06-03-07 12:46  zimme          Status                   new => assigned     
06-03-07 12:46  zimme          Assigned To               => BusyBox         
06-03-07 12:46  zimme          Issue Monitored: zimme                       
06-03-07 15:32  vda            Note Added: 0002441                          
06-04-07 08:57  vda            Status                   assigned => closed  
======================================================================



More information about the busybox-cvs mailing list