From b19a9138a6d353b82bc65ff2661a15b9851d1307 Mon Sep 17 00:00:00 2001 From: Mikael Nousiainen Date: Sun, 22 Apr 2018 23:20:51 +0300 Subject: [PATCH] Set FILPATHLEN to 512 instead of 100 to support longer device file names -- especially ones generated by udev --- include/hamlib/rig.h | 2 +- kylix/hamlib_rigapi.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 941242a96..1c5b6c2e0 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -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 */ diff --git a/kylix/hamlib_rigapi.pas b/kylix/hamlib_rigapi.pas index 8bf1e52e0..4db8471ef 100644 --- a/kylix/hamlib_rigapi.pas +++ b/kylix/hamlib_rigapi.pas @@ -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 *}