From e69481d196e32fed082ffd3b3bbf7c5cbf0c8dba Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 30 Jul 2003 19:11:31 +0000 Subject: [PATCH] added wrapper around tmpfile so that we can have a windows specific implementation --- documentation/RELEASE_NOTES.html | 51 +++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index 91b2cb1d0..f1924e318 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -18,6 +18,23 @@

Changes since 3.14.2

+

Temporary Files on Windows

+ +

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().

+
    +
  1. where the TMP environment variable specifies
  2. +
  3. in c:\tmp
  4. +
  5. in the current working directory
  6. +
+

envPaths file

For operating systems other than vxWorks, there is now a target file @@ -614,70 +631,70 @@ applications.

- DBDEXPAND = <name>Include.dbd  
+ DBDEXPAND = <name>Include.dbd   NOTE: If any of your *App/*Db/Makefiles contain "DBDNAME =" lines you should make these same changes in that *Db dirctory.
  • In all *App/src/Makefile Makefiles change
    - RECTYPES=<name>.h  
    + RECTYPES=<name>.h   to
    - DBDINC+=<name>  
    + DBDINC+=<name>   change
    - MENUS=<name>.h  
    + MENUS=<name>.h   to
    - DBDINC+=<name>  
    + DBDINC+=<name>   change
    - BPTS  
    + BPTS   to
    - DBD  
    + DBD   change
    - INSTALLDB  
    + INSTALLDB   to
    - DB  
    + DB   change
    - DBDINSTALL  
    + DBDINSTALL   to
    - DBD  
    + DBD  
  • In all example *App/src/Makefile files change
    - example_SRCS_DEFAULT += registerRecordDeviceDriver.c  
    + example_SRCS_DEFAULT += registerRecordDeviceDriver.c   to
    example_SRCS_DEFAULT += <name>_registerRecordDeviceDriver.cpp -  
    +   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).
  • In ./iocBoot/ioc<name>/st.cmd files change
    - dbLoadDatabase("dbd/exampleApp.dbd")  
    + dbLoadDatabase("dbd/exampleApp.dbd")   to
    - dbLoadDatabase("dbd/example.dbd")  
    + dbLoadDatabase("dbd/example.dbd")  
  • In <top>/iocBoot/ioc<name>/stcmd.host files change @@ -693,8 +710,8 @@ applications.

    EPICS_HOST_ARCH changes

    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.

    +are no longer specified in CONFIG_SITE.  All references to the ANSI +(ACC/GCC) and CPLUSPLUS (CCC/G++) macros have been removed.

    libCom