[BusyBox 0001372]: On 1.5.0 and 1.5.1, a statically linked busybox doesn't fflush stdout on exit

bugs at busybox.net bugs at busybox.net
Sat May 26 19:07:22 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1372 
====================================================================== 
Reported By:                Alain137
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1372
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             05-25-2007 01:08 PDT
Last Modified:              05-26-2007 12:07 PDT
====================================================================== 
Summary:                    On 1.5.0 and 1.5.1, a statically linked busybox
doesn't fflush stdout on exit
Description: 
If busybox is linked statically, it doesn't flush its file handles on
exit.

In order to show this, just pipe a command through cat (which causes its
output to be page buffered rather than line-buffered).

> ./date
Fri May 25 10:06:49 CEST 2007
> ./date | cat
(nothing)

The attached patch fixes this particular issue, however the general issue
remains (other file handles than stdout? other tasks to be performed at
exit?)
====================================================================== 

---------------------------------------------------------------------- 
 vda - 05-26-07 12:07  
---------------------------------------------------------------------- 
Again CONFIG_STATIC=y + glibc?

This is made into #error. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-25-07 01:08  Alain137       New Issue                                    
05-25-07 01:08  Alain137       Status                   new => assigned     
05-25-07 01:08  Alain137       Assigned To               => BusyBox         
05-25-07 01:08  Alain137       File Added: fflush.patch                     
05-26-07 12:07  vda            Status                   assigned => closed  
05-26-07 12:07  vda            Note Added: 0002403                          
======================================================================




More information about the busybox-cvs mailing list