diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-13 17:27:53 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-09-13 17:27:53 +0300 |
commit | 99290f5ca37cb905f7f1dab9be416b2e2057d243 (patch) | |
tree | b8b337622f6f06293fed652cf93e39ab67a60a75 /missing_d/snprintf.c | |
parent | c2db2b9ff8465cb5044e6f22beb229336479be57 (diff) | |
download | egawk-99290f5ca37cb905f7f1dab9be416b2e2057d243.tar.gz egawk-99290f5ca37cb905f7f1dab9be416b2e2057d243.tar.bz2 egawk-99290f5ca37cb905f7f1dab9be416b2e2057d243.zip |
z/OS changes from Dave Pitts and Arnold.
Diffstat (limited to 'missing_d/snprintf.c')
-rw-r--r-- | missing_d/snprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/missing_d/snprintf.c b/missing_d/snprintf.c index 12e50925..6cee2bed 100644 --- a/missing_d/snprintf.c +++ b/missing_d/snprintf.c @@ -53,14 +53,14 @@ static void close_safe_f() static FILE * safe_tmpfile (void) { - static short first = TRUE; + static bool first = true; static const char template[] = "snprintfXXXXXX"; int fd; static char *tmpdir = NULL; static int len = 0; if (first) { - first = FALSE; + first = false; /* * First try Unix stanadard env var, then Windows var, * then fall back to /tmp. |