[PATCH] datatrak.c: don't use POSIX %m format for sscanf() in dtrak_prepare_data()

Salvador Cuñat salvador.cunat at gmail.com
Sat Jun 10 05:24:19 PDT 2017

Good morning Lubomir.

On Sat, Jun 10, 2017 at 01:25:17AM +0300, Lubomir I. Ivanov wrote:
> Salva, please have a look if you have a minute to verify my change
> as i don't know how to test this code.
> strdup() should be another way of doing it, given
> we aren't doing any parsing - e.g. ignoring digits with:
> %[A-Za-z]

Your patch works perfectly on windows, and it's fine for me.
BTW, there is a file in dives folder, named Example.log that is the
sample DataTrak log file shipped with Uwatec's software. If you need
to do further tests you can use it  (perhaps we should rename it to
something meaningful).

Thanks Lubomir.


More information about the subsurface mailing list