[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] ppsthread.c broken on non-Linux
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] ppsthread.c broken on non-Linux |
Date: |
Tue, 24 Mar 2015 14:28:03 -0700 |
Yo Hal!
Nice catch. Applied and pushed.
I gotta get a BSD on my RasPi...
On Tue, 24 Mar 2015 14:19:40 -0700
Hal Murray <address@hidden> wrote:
> diff --git a/ppsthread.c b/ppsthread.c
> index cb1daac..c03e708 100644
> --- a/ppsthread.c
> +++ b/ppsthread.c
> @@ -156,8 +156,8 @@ static int init_kernel_pps(volatile struct
> pps_thread_t *pps_thread)
> /* These variables are only needed by Linux to find /dev/ppsN. */
> int ldisc = 18; /* the PPS line discipline */
> glob_t globbuf;
> - char path[PATH_MAX] = "";
> #endif
> + char path[PATH_MAX] = "";
>
> pps_thread->kernelpps_handle = -1;
>
>
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588