[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-474
From: |
Gary E. Miller |
Subject: |
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-474-g56c7f38 |
Date: |
Wed, 7 Sep 2016 00:30:23 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".
The branch, master has been updated
via 56c7f38ea6f67748238571028a3bf6a3bebb3eb3 (commit)
from 5808aa4caf5b03643a9ab9f110ae99010d8b4ded (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 56c7f38ea6f67748238571028a3bf6a3bebb3eb3
Author: Fred Wright <address@hidden>
Date: Tue Sep 6 16:51:08 2016 -0700
Eliminate the one use of the portability-challenged alloca()
In general, the use of alloca() is discouraged. Here, there was
only one use, with a maximum size determinable at compile time,
so the code has been reworked to use an ordinary array (without
relying on the C99 variable-length array feature). This always
allows for a GPS_PATH_MAX-sized device_name, but the amount of
space needed for that is relatively modest, and the behavior is
more reproducible with a fixed allocation.
TESTED:
Ran "scons build-all check" on OSX. This code shouldn't be
OS-dependent.
Signed-off-by: Gary E. Miller <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
libgpsd_core.c | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
hooks/post-receive
--
GPSD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-474-g56c7f38,
Gary E. Miller <=