On Tue, Aug 15, 2017 at 6:50 PM, Salvador Cuñat <[email protected]> wrote: > > > 2017-08-15 16:49 GMT+02:00 Salvador Cuñat <[email protected]>: >> >> >> The crashes come from the weird windows line breaks. This file has just \r >> instead of the usual \r\n. >> > > Yes, yes, it's not a windows but a mac file, coming from a mac software. > ;-)
Is it really so that mac uses carriage return (\r) as line terminator? I only have seen either line-feed (\n) or in Windows combination of these two \r\n. Qt's readLine function does not understand \r as new line and thus our parsing fails miserably with this file. miika _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
