projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
maint: use more modern fseeko, rather than fseek
[platform/upstream/coreutils.git]
/
src
/
tac.c
diff --git
a/src/tac.c
b/src/tac.c
index
670b20d
..
b50382d
100644
(file)
--- a/
src/tac.c
+++ b/
src/tac.c
@@
-470,7
+470,7
@@
temp_stream (FILE **fp, char **file_name)
}
else
{
- if (fseek (tmp_fp, 0, SEEK_SET) < 0
+ if (fseek
o
(tmp_fp, 0, SEEK_SET) < 0
|| ftruncate (fileno (tmp_fp), 0) < 0)
{
error (0, errno, _("failed to rewind stream for %s"),