Download raw body.
add fpurge(3) history
Hi Jonathan,
Jonathan Gray wrote on Tue, Jun 10, 2025 at 11:20:22PM +1000:
> On Tue, Jun 10, 2025 at 02:49:26PM +0200, Ingo Schwarze wrote:
>> Jonathan Gray wrote on Tue, Jun 10, 2025 at 11:37:05AM +1000:
>>> fpurge() was added by Keith Bostic in December 1988
>> I'm unable to confirm this claim, SCCS history of the file
>> fpurge.c only goes back to 91/01/20. Then again, it is not unusual
>> for the CSRG to only start SCCS control of pieces of code months or
>> even years after it was already released.
> lib/libc/stdio/flsbuf.c in Reno
>
> lib/libc/stdio/wbuf.c SCCS 5.4
> 5.4 88/12/19 13:35:59 bostic
> add fpurge
Ah, yes, that's it.
I got confused by the fact that the fpurge.c revision 1 (= 5.1)
commit message ("new stdio") is non-descriptive and does not
mention that this file was split out of wbuf.c / flsbuf.c.
So, your patch is even more OK then.
Ingo
>>> and first appeared in 4.3BSD-Reno.
>> But that part is definitely correct, it was neither in Tahoe
>> nor in Net/1, so OK schwarze@.
>>
>> If you want, you can optionally shorten your text to
>>
>> .At v4
>> and
>> .Fn fpurge
>> in
>> .Bx 4.3 Reno .
>>> Index: fflush.3
>>> ===================================================================
>>> RCS file: /cvs/src/lib/libc/stdio/fflush.3,v
>>> diff -u -p -r1.19 fflush.3
>>> --- fflush.3 4 Jun 2025 00:21:20 -0000 1.19
>>> +++ fflush.3 10 Jun 2025 01:13:09 -0000
>>> @@ -126,3 +126,7 @@ The
>>> .Fn fflush
>>> function first appeared in
>>> .At v4 .
>>> +The
>>> +.Fn fpurge
>>> +function first appeared in
>>> +.Bx 4.3 Reno .
add fpurge(3) history