Fix #2880741: replace gps_open with gps_open_r
commita263d172379bf8a70a250a80eb2c6f2779eb0201
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 11 Jan 2010 12:40:43 +0000 (11 13:40 +0100)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 11 Jan 2010 12:40:43 +0000 (11 13:40 +0100)
tree0a9b7433ccebbf5c9c679d5e6f0d81e18e3cbed8
parentbec818c42443696cc36cb87bbe01fed7f0d04716
Fix #2880741: replace gps_open with gps_open_r

In libgpsd 2.90, the logic of gps_open silently changed:
the returned data is no more allocated, but directly points to a static structure.
So, we use gps_open_r instead.

Futhermore, it is better to not mix libc and glib allocator functions.
g_realloc is replaced by native realloc and memory freed by free.
configure.ac
src/vikgpslayer.c