OSDN Git Service

2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Mon, 20 Feb 2006 23:23:59 +0000 (23:23 +0000)
committerjjohnstn <jjohnstn>
Mon, 20 Feb 2006 23:23:59 +0000 (23:23 +0000)
commit5a067ba02c36c5d9fadba06e34f6f9f1a1eed69c
tree08391cb35f2118c95f76d8e085d7d95550734cb6
parent9efe7fe1955743505cedac1d46c346fe001e1a8d
2006-02-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/fflush.c (fflush): For an fflush on a read-only
        stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
        * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
        seek, turn off the __SNPT no-optimization flag.
newlib/ChangeLog
newlib/libc/stdio/fflush.c
newlib/libc/stdio/fseek.c