projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e94e86
)
(tail_forever): Add a cast.
author
Jim Meyering
<jim@meyering.net>
Sat, 17 Nov 2001 14:10:52 +0000
(14:10 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 17 Nov 2001 14:10:52 +0000
(14:10 +0000)
src/tail.c
patch
|
blob
|
history
diff --git
a/src/tail.c
b/src/tail.c
index 58ecd298b682b04fa3dea221d9e4f95a56fd12af..b358295c372908cb12f8008b92b99f48ba769efe 100644
(file)
--- a/
src/tail.c
+++ b/
src/tail.c
@@
-952,7
+952,7
@@
tail_forever (struct File_spec *f, int nfiles)
error (0, 0, _("%s: file truncated"), pretty_name (&f[i]));
last = i;
/* FIXME: check lseek return value */
- lseek (f[i].fd, stats.st_size, SEEK_SET);
+ lseek (f[i].fd,
(off_t)
stats.st_size, SEEK_SET);
f[i].size = stats.st_size;
continue;
}