1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 02:36:16 +02:00
This commit is contained in:
Jim Meyering
1994-10-02 22:11:44 +00:00
parent 7079da8b5a
commit 3994e55f58

View File

@@ -1085,7 +1085,7 @@ skip (n_skip)
- the file must be seekable.
- before seeking to the specified position, make sure
that the new position is in the current file.
Try to do that by getting file's size using stat().
Try to do that by getting file's size using fstat().
But that will work only for regular files and dirs. */
if (fstat (fileno (in_stream), &file_stats))