summaryrefslogtreecommitdiff
path: root/src/tac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tac.c')
-rw-r--r--src/tac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tac.c b/src/tac.c
index 71bf752d4..ba206c1ef 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -501,8 +501,8 @@ tac_nonseekable (int input_fd, const char *file)
{
FILE *tmp_stream;
char *tmp_file;
- copy_to_temp (&tmp_stream, &tmp_file, input_fd, file);
- return tac_seekable (fileno (tmp_stream), tmp_file);
+ return (copy_to_temp (&tmp_stream, &tmp_file, input_fd, file)
+ && tac_seekable (fileno (tmp_stream), tmp_file));
}
/* Print FILE in reverse, copying it to a temporary