aboutsummaryrefslogtreecommitdiffstats
path: root/atari/tmpnam.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:41:09 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:41:09 +0300
commit8c042f99cc7465c86351d21331a129111b75345d (patch)
tree9656e653be0e42e5469cec77635c20356de152c2 /atari/tmpnam.c
parent8ceb5f934787eb7be5fb452fb39179df66119954 (diff)
downloadegawk-8c042f99cc7465c86351d21331a129111b75345d.tar.gz
egawk-8c042f99cc7465c86351d21331a129111b75345d.tar.bz2
egawk-8c042f99cc7465c86351d21331a129111b75345d.zip
Move to gawk-3.0.0.
Diffstat (limited to 'atari/tmpnam.c')
-rw-r--r--atari/tmpnam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/atari/tmpnam.c b/atari/tmpnam.c
index b5ab45bd..92bf751b 100644
--- a/atari/tmpnam.c
+++ b/atari/tmpnam.c
@@ -1,10 +1,11 @@
+#ifdef PIPES_SIMULATED
/* tmpnam.c : return a temporary file name */
/* written by Eric R. Smith and placed in the public domain */
/**
* - modified for gawk needs - pattern /$$XXXXXX from the original
* code creates names which are hard to remove when somethig
* goes wrong
- * - retuned name can be passed outside via system(); other programs
+ * - returned name can be passed outside via system(); other programs
* may not dig '/' as a path separator
* - somehow more frugal in a memory use
* (mj - October 1990)
@@ -43,3 +44,4 @@ const char *path, *base; /* ignored */
{
return tmpnam(NULL);
}
+#endif /* PIPES_SIMULATED */