[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
Fri May 25 01:08:36 PDT 2007


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             05-25-2007 01:08 PDT
Last Modified:              05-25-2007 01:08 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?)
====================================================================== 

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                     
======================================================================



More information about the busybox-cvs mailing list