From f08b412a189678f3c63f6ff3216d2cc605a39d19 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 18 Sep 2019 14:43:08 -0500 Subject: [PATCH] Have CA Repeater cd to / before running to avoid holding the CWD open unnecessarily. --- src/ca/client/caRepeater.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ca/client/caRepeater.cpp b/src/ca/client/caRepeater.cpp index 9879af2b4..03cb8957d 100644 --- a/src/ca/client/caRepeater.cpp +++ b/src/ca/client/caRepeater.cpp @@ -32,10 +32,12 @@ #define epicsAssertAuthor "Jeff Hill johill@lanl.gov" #include "epicsAssert.h" +#include "osiUnistd.h" #include "udpiiu.h" int main() { + chdir ( "/" ); ca_repeater (); return ( 0 ); }