[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] freading: declare with attribute "pure"
From: |
Jim Meyering |
Subject: |
Re: [PATCH] freading: declare with attribute "pure" |
Date: |
Fri, 3 Jan 2014 17:18:26 -0800 |
On Fri, Jan 3, 2014 at 3:17 PM, Jim Meyering <address@hidden> wrote:
> On Fri, Jan 3, 2014 at 3:13 PM, Bruno Haible <address@hidden> wrote:
> ...
>> stream is accessed from different threads. Therefore OK for the change.
>>
>> But all of the functions
>> freadable
>> freadahead
>> freading
>> fwritable
>> fwriting
>> are similar enough that they should be treated the same way. Can you add the
>> '__pure__' attribute also the other 4 functions as well?
>
> Hi Bruno (and happy new year! :-)
> Thanks for the review. Yes, I'll do that.
freadahead was already done, so that left three:
k.txt
Description: Text document