Don't think it's a problem but to be sure I am checking on .TXT and .txt
now.

2015-10-21 15:42 GMT+02:00 Guido Lerch <[email protected]>:

>
>
> 2015-10-21 15:40 GMT+02:00 Lubomir I. Ivanov <[email protected]>:
>
>> On 21 October 2015 at 16:21, Guido Lerch <[email protected]> wrote:
>> > fixing an issue with loading dives on Ubuntu.
>> >
>> > it seems that this code does not resolve the file type
>> > correctly. it returns DT_REG also on ANSx.TXT files.
>> >
>> > Tested the fix on Ubuntu 14.04 and Mac OSX 10.9,
>> > not tested on El Captain but I assume no issues there.
>> >
>> > This fix affects Uemis only.
>> >
>> > - if (entry->d_type == DT_REG) /* If the entry is a regular file */
>> > + if (strstr(entry->d_name, ".TXT")) /* If the entry is a regular file
>> */
>>
>> are the extensions always in uppercase?
>>
> I have never seen this otherwise but maybe I do a lower, just to be sure.
>
>>
>> lubomir
>> --
>>
>
>
>
> --
> Best regards,
> Guido
>



-- 
Best regards,
Guido

Attachment: 0001-Uemis-fix-for-Ubuntu.patch
Description: Binary data

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to