Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 10:25:49 -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 fseek.c stdio.c
Message-ID:  <200110241725.f9OHPn767278@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        2001/10/24 10:25:49 PDT

  Modified files:
    lib/libc/stdio       fseek.c stdio.c 
  Log:
  Help to recover from bad seek (i.e. negative or too big) happens beyond
  our pre-check control. Do the same way as refill.c does when it set __SERR,
  i.e. clear read and ungetc buffers. Clear EOF flag too.
  
  Revision  Changes    Path
  1.36      +5 -5      src/lib/libc/stdio/fseek.c
  1.21      +7 -0      src/lib/libc/stdio/stdio.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?200110241725.f9OHPn767278>