ioc template avoid passing "0"

> dbLoadDatabase("../../dbd/_APPNAME_.dbd",0,0)

is being interpreted as

> dbLoadDatabase("../../dbd/_APPNAME_.dbd","0","0")

If "../../dbd/_APPNAME_.dbd" doesn't exist, this will
next attempt to open "0/../../dbd/_APPNAME_.dbd",
which added to my confusion...
This commit is contained in:
Michael Davidsaver committed 2022-06-20 08:09:08 -07:00
1 parent 0552f2bb72
commit 19daf6136f
1 file changed
+1 -1
@@ -6,7 +6,7 @@
#< envPaths
## Register all support components
dbLoadDatabase("../../dbd/_APPNAME_.dbd",0,0)
dbLoadDatabase "../../dbd/_APPNAME_.dbd"
_CSAFEAPPNAME__registerRecordDeviceDriver(pdbbase)
## Load record instances