[erlang-patches] Fixes TypEr crash when doing old files cleanup

Henrik Nord <>
Wed Sep 28 10:13:09 CEST 2011


On 09/28/2011 08:09 AM, Kostis Sagonas wrote:
> On 09/25/11 02:44, Ricardo Catalinas Jiménez wrote:
>> Please fetch:
>>      git fetch git://github.com/jimenezrick/otp.git fix-typer-delete
>>
>>
>> * One commit in this branch:
>>
>> I reported this bug some months ago. Kostis Sagonas acknowledged that
>> there was a bug but not action was taken. So I would like to insist
>> politely that a fix should be included for this silly bug.
>>
>> The bug is very simple and the solution *does not alter* in any way the
>> core functionality of TypEr.
>>
>> The thing is that when TypEr starts, it tries to clean up the old files
>> generated by itself, but if any of those files is not there, TypEr will
>> crash because of this:
>>
>>      ok = file:delete(OldFile)
>>
>> So, it is as simple as to replace that line with:
>>
>>      file:delete(OldFile)
>
> Thanks for the reminder!  We will fix the problem in a better way.
>
> Kostis
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
Ok

I will drop this from 'pu' then



-- 
/Henrik Nord Erlang/OTP



More information about the erlang-patches mailing list