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

 
 

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

patch #6532: tail -u -- unbuffered output

Submitted by:  Juergen Weigert <jnweiger>
Submitted on:  Tue 03 Jun 2008 03:14:33 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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>
Project 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>

 

Attached Files
file #15788:  tail-unbuffered.diff added by jnweiger (3kB - 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
  • -unavailable- added by pixelbeat (Posted a comment)
  • -unavailable- added by jnweiger (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 03 Jun 2008 03:14:33 PM UTCjnweigerAttached File-=>Added tail-unbuffered.diff, #15788

    Back to the top


    Powered by Savane 3.1-cleanup