EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Re: dbReadDatabaseFP on tmpfile from support module
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: David Bracey <dbracey at fnal.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 11 Aug 2026 23:10:30 +0000
HI Dave,

No, not really sketchy, that hook is deliberately called before the code that starts working on the database, so it is legal to do that. I haven't heard of anyone else doing that, but I wouldn't be concerned about it myself.

The dbReadDatabaseFP() routine is public, but again not used much outside of the IOC code.

- Andrew

-- 
Complexity comes for free, Simplicity you have to work for.

On 8/11/26, 8:34 AM, "Tech-talk" <tech-talk-bounces at aps.anl.gov> wrote:

I’m calling dbReadDatabaseFP with a std::tmpfile FILE* from a support module at initHookAtIocBuild time.

Feels sketchy.  Is this bad?

Dave Bracey
Fermi National Accelerator Laboratory


References:
dbReadDatabaseFP on tmpfile from support module David Bracey via Tech-talk

Navigate by Date:
Prev: EPICS Codeathon Registration Is Now Open Shroff, Kunal via Tech-talk
Next: Modbus and SScan acquisition synchronisation and timestamp query Kuldeep Joshi via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: dbReadDatabaseFP on tmpfile from support module David Bracey via Tech-talk
Next: EPICS Codeathon Registration Is Now Open Shroff, Kunal via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026
ANJ, 12 Aug 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·