Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 14:22:00 -0700 (PDT)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio fopen.c fseek.c
Message-ID:  <200109022122.f82LM0G99109@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        2001/09/02 14:22:00 PDT

  Modified files:
    lib/libc/stdio       fopen.c fseek.c 
  Log:
  Internal seeks are overoptimized. They should remember fp->_offset only for
  plain regular files, i.e. files with __SOPT flag set. Fix it, so ftell(stdout)
  always returns the same as lseek(1, 0, 1) now.
  
  NOTE: this bug was in original stdio code
  
  Revision  Changes    Path
  1.8       +1 -3      src/lib/libc/stdio/fopen.c
  1.32      +2 -2      src/lib/libc/stdio/fseek.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?200109022122.f82LM0G99109>