]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(tail_lines): Change one more `long' to `off_t'.
authorJim Meyering <jim@meyering.net>
Thu, 25 May 1995 05:09:00 +0000 (05:09 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 25 May 1995 05:09:00 +0000 (05:09 +0000)
Otherwise, tail didn't work on NetBSD.  From by Arne H. Juul.

src/tail.c

index ba9f45be6563e14d49045b2e5635ae0abed5f400..92743147b065937d30de2a96070ae431f2072285 100644 (file)
@@ -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))
     {