patchGNU Core Utilities - Patches: patch #6532, tail -u -- unbuffered output

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6532: tail -u -- unbuffered output

Submitter:  Juergen Weigert <jnweiger>
Submitted:  Tue 03 Jun 2008 03:14:33 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Mon 02 Feb 2009 09:50:26 AM UTC, comment #1: 

tail -f already does a fflush().

Also we're about to add a `stdbuf` util to control buffering of utilities, so I'm not sure that this should be applied.

Pádraig Brady <pixelbeat>
Group administrator
Tue 03 Jun 2008 03:14:33 PM UTC, original submission:  

when tail's stdout is not a terminal, stdio library fools us by buffering large chunks of data.
This patch adds an option to run in unbuffered mode,
Implemented as straightforward use of fflush().

Juergen Weigert <jnweiger>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #15788:  tail-unbuffered.diff added by jnweiger (3KiB - text/x-diff - patch against coreutils-6.11 as found in SUSE Linux 11.0)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pixelbeat (Posted a comment)
  • -email is unavailable- added by jnweiger (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-03 jnweiger Attached File- Added tail-unbuffered.diff, #15788

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code