bk: 546f096aOlYdyTTFj2_78umE-LPKEw
+* [Bug 2314] Only enable PPS if kernel consumer binding succeeds.
(4.2.7p480) 2014/11/21 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 2677] PATH_MAX isn't #define'd under Windows.
Regression from the patch fixing Bug 2639.
)
{
const char *sp, *spend;
- char *dp, *dpend;
+ char *dp, *dpend;
int dlen;
if (bmax <= 0)
ttyp->c_cflag = CS8 | CLOCAL | CREAD;
if (lflags & LDISC_7O1) {
/* HP Z3801A needs 7-bit, odd parity */
- ttyp->c_cflag = CS7 | PARENB | PARODD | CLOCAL | CREAD;
+ ttyp->c_cflag = CS7 | PARENB | PARODD | CLOCAL | CREAD;
}
cfsetispeed(&ttyb, speed);
cfsetospeed(&ttyb, speed);
"refclock_params: time_pps_kcbind: %m");
return (0);
}
+ } else {
+ pps_enable = 1;
}
- pps_enable = 1;
}
return (1);
}