[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] ppsthread.c broken on non-Linux
From: |
Hal Murray |
Subject: |
[gpsd-dev] ppsthread.c broken on non-Linux |
Date: |
Tue, 24 Mar 2015 14:19:40 -0700 |
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;
--
These are my opinions. I hate spam.
- [gpsd-dev] ppsthread.c broken on non-Linux,
Hal Murray <=