On Thu, Apr 28, 2016 at 10:24 AM, Kyrill Tkachov
<kyrylo.tkac...@foss.arm.com> wrote:
>
> On 21/03/16 10:41, Ramana Radhakrishnan wrote:
>>
>> On Fri, Mar 11, 2016 at 3:32 PM, Kyrill Tkachov
>> <kyrylo.tkac...@foss.arm.com> wrote:
>>>
>>> Hi all,
>>>
>>> As reported in the PR we can end up calling fclose twice on a file,
>>> causing
>>> an error.
>>> This patch fixes that by reorganising the logic a bit to ensure we return
>>> after closing
>>> the file the first time.
>>>
>>> Bootstrapped and tested on arm-none-linux-gnueabihf
>>>
>>> Ok for trunk?
>>>
>>> Thanks,
>>> Kyrill
>>>
>>> 2016-03-11  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>
>>>
>>>      PR driver/70132
>>>      * config/arm/driver-arm.c (host_detect_local_cpu): Set file pointer
>>>      to NULL after closing file.
>>
>>
>> OK with a fixed changelog.
>
>
> Ok to backport this to the GCC 5 and 4.9 branches?
> The tests are fine there for this patch.

OK.

Ramana

>
> Thank,
> Kyrill
>
>> Ramana
>
>

Reply via email to