[klibc] [klibc:master] kinit: Fix capabilities alternate read/ write io without flush
maximilian attems
max at stro.at
Sun May 27 23:19:34 PDT 2012
On Sun, May 27, 2012 at 09:04:17PM -0700, H. Peter Anvin wrote:
> On 05/27/2012 02:24 PM, klibc-bot for maximilian attems wrote:
> > Commit-ID: 8544fef6d5e5bc8f927ffbd3e4031b905c907de9
> > Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8544fef6d5e5bc8f927ffbd3e4031b905c907de9
> > Author: maximilian attems <max at stro.at>
> > AuthorDate: Sun, 27 May 2012 23:18:07 +0200
> > Committer: maximilian attems <max at stro.at>
> > CommitDate: Sun, 27 May 2012 23:18:07 +0200
> >
> > [klibc] kinit: Fix capabilities alternate read/write io without flush
> >
> > Just fseek back to the start.
> >
>
>
> I'm confused by this. This seems odd at the very best.
does it, why?
Doesn't outputting to a stream after directly reading it
lead to undefined behaviour.
--
maks
More information about the klibc
mailing list