diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2018-12-26 13:23:04 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2018-12-26 13:23:04 -0500 |
commit | 5517175ed53b877720fdf5a1a4085386b40c4590 (patch) | |
tree | 31c1ce53dea117cfb36a1e7d679cb785b32abdf8 /libgpsd_core.c | |
parent | c9e81aabcf2f5c6886be1fd0e859ceb63470e06f (diff) | |
download | gpsd-5517175ed53b877720fdf5a1a4085386b40c4590.tar.gz |
Eliminate effectively all uses of struct timeval.
Outide of one Mac portability shim, anyway. Associated select(2) calls
become pselect(2) calls.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index a752f10f..15fa8070 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1054,7 +1054,7 @@ int gpsd_await_data(fd_set *rfds, * actually matter here since select returns whenever one of * the file descriptors in the set goes ready. The point * of tracking maxfd is to keep the set of descriptors that - * select(2) has to poll here as small as possible (for + * pselect(2) has to poll here as small as possible (for * low-clock-rate SBCs and the like). * * pselect() is preferable to vanilla select, to eliminate @@ -1098,7 +1098,7 @@ int gpsd_await_data(fd_set *rfds, if (FD_ISSET(i, rfds)) str_appendf(dbuf, sizeof(dbuf), " %d ", i); gpsd_log(errout, LOG_SPIN, - "select() {%s} at %f (errno %d)\n", + "pselect() {%s} at %f (errno %d)\n", dbuf, timestamp(), errno); } |