added wrapper around tmpfile so that we can have a windows specific
implementation
This commit is contained in:
@@ -18,6 +18,23 @@
|
||||
<h2>Changes since 3.14.2</h2>
|
||||
</center>
|
||||
|
||||
<h4>Temporary Files on Windows</h4>
|
||||
|
||||
<p>The tmpfile() function on windows requires that all temporary files be
|
||||
stored in the root folder. The antelope (yacc) tool in base was calling
|
||||
tmpfile() and this was causing problems at sites where win32 systems have
|
||||
remmotely mounted secure file systems. A wrapper function called "FILE *
|
||||
epicsTempFile()" that creates a temporary file on WIN32 with a name epicsNNN
|
||||
using one of the following paths was installed into libCom. It searches
|
||||
starting with (1) below and stops when it finds a specified path that exists.
|
||||
On POSIX systems, and systems that default to POSIX behavior, epicsTempFile()
|
||||
simply calls tmpfile(). </p>
|
||||
<ol>
|
||||
<li>where the TMP environment variable specifies</li>
|
||||
<li>in c:\tmp</li>
|
||||
<li>in the current working directory</li>
|
||||
</ol>
|
||||
|
||||
<h4>envPaths file</h4>
|
||||
|
||||
<p>For operating systems other than vxWorks, there is now a target file
|
||||
@@ -614,70 +631,70 @@ applications.
|
||||
|
||||
|
||||
<blockquote>
|
||||
DBDEXPAND = <name>Include.dbd </blockquote>
|
||||
DBDEXPAND = <name>Include.dbd </blockquote>
|
||||
NOTE: If any of your *App/*Db/Makefiles contain "DBDNAME =" lines you
|
||||
should make these same changes in that *Db dirctory.</li>
|
||||
<li>In all *App/src/Makefile Makefiles change
|
||||
|
||||
<blockquote>
|
||||
RECTYPES=<name>.h </blockquote>
|
||||
RECTYPES=<name>.h </blockquote>
|
||||
to
|
||||
|
||||
<blockquote>
|
||||
DBDINC+=<name> </blockquote>
|
||||
DBDINC+=<name> </blockquote>
|
||||
change
|
||||
|
||||
<blockquote>
|
||||
MENUS=<name>.h </blockquote>
|
||||
MENUS=<name>.h </blockquote>
|
||||
to
|
||||
|
||||
<blockquote>
|
||||
DBDINC+=<name> </blockquote>
|
||||
DBDINC+=<name> </blockquote>
|
||||
change
|
||||
|
||||
<blockquote>
|
||||
BPTS </blockquote>
|
||||
BPTS </blockquote>
|
||||
to
|
||||
|
||||
<blockquote>
|
||||
DBD </blockquote>
|
||||
DBD </blockquote>
|
||||
change
|
||||
|
||||
<blockquote>
|
||||
INSTALLDB </blockquote>
|
||||
INSTALLDB </blockquote>
|
||||
to
|
||||
|
||||
<blockquote>
|
||||
DB </blockquote>
|
||||
DB </blockquote>
|
||||
change
|
||||
|
||||
<blockquote>
|
||||
DBDINSTALL </blockquote>
|
||||
DBDINSTALL </blockquote>
|
||||
to
|
||||
|
||||
<blockquote>
|
||||
DBD </blockquote>
|
||||
DBD </blockquote>
|
||||
</li>
|
||||
<li>In all example *App/src/Makefile files change
|
||||
|
||||
<blockquote>
|
||||
example_SRCS_DEFAULT += registerRecordDeviceDriver.c </blockquote>
|
||||
example_SRCS_DEFAULT += registerRecordDeviceDriver.c </blockquote>
|
||||
to
|
||||
|
||||
<blockquote>
|
||||
example_SRCS_DEFAULT += <name>_registerRecordDeviceDriver.cpp
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
where <name> is the base name of a <name>.dbd file which was
|
||||
created from a <name>Include.dbd file and which will be loaded in a
|
||||
st.cmd or stcmd.host script (e.g. example).</li>
|
||||
<li>In ./iocBoot/ioc<name>/st.cmd files change
|
||||
|
||||
<blockquote>
|
||||
dbLoadDatabase("dbd/exampleApp.dbd") </blockquote>
|
||||
dbLoadDatabase("dbd/exampleApp.dbd") </blockquote>
|
||||
to
|
||||
|
||||
<blockquote>
|
||||
dbLoadDatabase("dbd/example.dbd") </blockquote>
|
||||
dbLoadDatabase("dbd/example.dbd") </blockquote>
|
||||
</li>
|
||||
<li>In <top>/iocBoot/ioc<name>/stcmd.host files change
|
||||
|
||||
@@ -693,8 +710,8 @@ applications.
|
||||
<h3>EPICS_HOST_ARCH changes</h3>
|
||||
|
||||
<p>GNU compiler builds are now determined by the value of EPICS_HOST_ARCH and
|
||||
are no longer specified in CONFIG_SITE. All references to the ANSI (ACC/GCC)
|
||||
and CPLUSPLUS (CCC/G++) macros have been removed.</p>
|
||||
are no longer specified in CONFIG_SITE. All references to the ANSI
|
||||
(ACC/GCC) and CPLUSPLUS (CCC/G++) macros have been removed.</p>
|
||||
|
||||
<h3>libCom</h3>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user