coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When and how often to check for output errors?


From: Cojocaru Alexandru
Subject: When and how often to check for output errors?
Date: Sun, 9 Dec 2012 17:16:51 +0100

Cut never checks error reported by fwrite and putchar. The error checking is 
done by close_stdout.
Paste checks for each and every call to putchar and fwrite (which IMHO is 
overkill).

What should be the correct behaviour? Check each call, or let it be done by 
close_stdout? Or just check after processing a single file?

Best regards,
Cojocaru Alexandru



reply via email to

[Prev in Thread] Current Thread [Next in Thread]