From: Jim Meyering Date: Thu, 25 May 1995 05:09:00 +0000 (+0000) Subject: (tail_lines): Change one more `long' to `off_t'. X-Git-Tag: textutils-1_12_1~149 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a660862d4ca44ef3bb86a0dabf7402ba7a2922bc;p=thirdparty%2Fcoreutils.git (tail_lines): Change one more `long' to `off_t'. Otherwise, tail didn't work on NetBSD. From by Arne H. Juul. --- diff --git a/src/tail.c b/src/tail.c index ba9f45be65..92743147b0 100644 --- a/src/tail.c +++ b/src/tail.c @@ -513,7 +513,7 @@ tail_lines (filename, fd, n_lines) long n_lines; { struct stat stats; - long length; + off_t length; if (fstat (fd, &stats)) {