Set FILPATHLEN to 512 instead of 100 to support longer device file names -- especially ones generated by udev

pull/17/head
Mikael Nousiainen 2018-04-22 23:20:51 +03:00 zatwierdzone przez Nate Bargmann
rodzic 6eb18a9b34
commit b19a9138a6
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -147,7 +147,7 @@ typedef struct rig RIG;
#define RIGNAMSIZ 30
#define RIGVERSIZ 8
#define FILPATHLEN 100
#define FILPATHLEN 512
#define FRQRANGESIZ 30
#define MAXCHANDESC 30 /* describe channel eg: "WWV 5Mhz" */
#define TSLSTSIZ 20 /* max tuning step list size, zero ended */

Wyświetl plik

@ -54,7 +54,7 @@ type
const
RIGNAMSIZ = 30;
RIGVERSIZ = 8;
FILPATHLEN = 100;
FILPATHLEN = 512;
FRQRANGESIZ = 30;
MAXCHANDESC = 30; {* describe channel eg: "WWV 5Mhz" *}
TSLSTSIZ = 20; {* max tuning step list size, zero ended *}