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
2022-04-25 11:14:34 -07:00
parent 0552f2bb72
commit 19daf6136f

View File

@@ -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