summaryrefslogtreecommitdiff
path: root/lib/closein.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
committerBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
commit441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch)
treebef236e8058dd3469da28ffcd5a6a287222a4c50 /lib/closein.c
parent039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff)
downloadgnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'lib/closein.c')
-rw-r--r--lib/closein.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/closein.c b/lib/closein.c
index c7fb581eaa..150bc9a258 100644
--- a/lib/closein.c
+++ b/lib/closein.c
@@ -86,22 +86,22 @@ close_stdin (void)
if (freadahead (stdin) > 0)
{
/* Only attempt flush if stdin is seekable, as fflush is entitled to
- fail on non-seekable streams. */
+ fail on non-seekable streams. */
if (fseeko (stdin, 0, SEEK_CUR) == 0 && fflush (stdin) != 0)
- fail = true;
+ fail = true;
}
if (close_stream (stdin) != 0)
fail = true;
if (fail)
{
/* Report failure, but defer exit until after closing stdout,
- since the failure report should still be flushed. */
+ since the failure report should still be flushed. */
char const *close_error = _("error closing file");
if (file_name)
- error (0, errno, "%s: %s", quotearg_colon (file_name),
- close_error);
+ error (0, errno, "%s: %s", quotearg_colon (file_name),
+ close_error);
else
- error (0, errno, "%s", close_error);
+ error (0, errno, "%s", close_error);
}
close_stdout ();