Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 15:24:26 -0800 (PST)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/tail forward.c
Message-ID:  <200103272324.f2RNOQc56458@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        2001/03/27 15:24:26 PST

  Modified files:
    usr.bin/tail         forward.c 
  Log:
  Restore part of my fix spammed in v1.23:
  fseeko(file_size, SEEK_SET) -> fseek(0L, SEEK_END)
  1) File may grows between operations, so fseeko to file_size may miss
  2) 0L, SEEK_END is the same code using in tail in all other places
  
  Revision  Changes    Path
  1.24      +2 -2      src/usr.bin/tail/forward.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103272324.f2RNOQc56458>