From fecb32a960383c4db2dd709e878cc56facaaa54e Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 30 Jul 2003 16:01:28 +0000 Subject: [PATCH] use epicsTempFile in libCom to get around weaknesses in the win32 tmpfile --- src/toolsComm/antelope/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/toolsComm/antelope/main.c b/src/toolsComm/antelope/main.c index bfc12afe9..559b7d03a 100644 --- a/src/toolsComm/antelope/main.c +++ b/src/toolsComm/antelope/main.c @@ -9,6 +9,7 @@ \*************************************************************************/ #include #include "defs.h" +#include "epicsStdio.h" char dflag; char lflag; @@ -287,11 +288,11 @@ open_files() open_error(input_file_name); } - action_file = tmpfile(); + action_file = epicsTempFile(); if (action_file == 0) open_error("temp action file"); - text_file = tmpfile(); + text_file = epicsTempFile(); if (text_file == 0) open_error("temp text file"); @@ -307,7 +308,7 @@ open_files() defines_file = fopen(defines_file_name, "w"); if (defines_file == 0) open_error(defines_file_name); - union_file = tmpfile(); + union_file = epicsTempFile(); if (union_file == 0) open_error("temp union file"); }