From: Jim Meyering Date: Sun, 2 Oct 1994 22:11:44 +0000 (+0000) Subject: . X-Git-Tag: textutils-1_12_1~553 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3994e55f5884006ea854fe5449d635d9db37de79;p=thirdparty%2Fcoreutils.git . --- diff --git a/src/od.c b/src/od.c index d254eeb25f..9f3c02871d 100644 --- a/src/od.c +++ b/src/od.c @@ -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))