diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index 16dacd411..5c957e771 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -14,8 +14,8 @@

Changes between 3.14.12 and 3.14.12.1

This release only contains changes that fix bugs or add build configuration -files for new or updated target architectures. No new functionality has been -added, and as this is a patch release the software has not gone through as +files for new or updated target architectures. No functionality has been +changed, and as this is a patch release the software has not gone through as rigorous a testing regime as it does for a normal minor release.

Launchpad Bugs Resolved

@@ -69,6 +69,12 @@ fixed in this release:

+

IOCSH_STARTUP_SCRIPT environment variable

+ +

The function iocsh(const char *pathname) now sets the environment +variable IOCSH_STARTUP_SCRIPT to the value of its pathname +argument before it starts executing the script commands.

+

RTEMS-mvme5500

This target now automatically links binary files with the bspExt library, and diff --git a/src/libCom/iocsh/iocsh.cpp b/src/libCom/iocsh/iocsh.cpp index ce15ed9a1..f2d42b973 100644 --- a/src/libCom/iocsh/iocsh.cpp +++ b/src/libCom/iocsh/iocsh.cpp @@ -798,6 +798,7 @@ iocshBody (const char *pathname, const char *commandLine) int epicsShareAPI iocsh (const char *pathname) { + epicsEnvSet("IOCSH_STARTUP_SCRIPT", pathname); return iocshBody(pathname, NULL); }