diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-18 20:54:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-18 20:54:19 (GMT) |
commit | 4fc73028edd0829b1e45ebe9c597cb91d49a9963 (patch) | |
tree | bbe35982b184c142c8f2b17ae69442189d805c90 /perform/zip_perf.c | |
parent | 1aeaa7fbb1072d18a533b7bbf8f996f6b194de73 (diff) | |
download | hdf5-4fc73028edd0829b1e45ebe9c597cb91d49a9963.zip hdf5-4fc73028edd0829b1e45ebe9c597cb91d49a9963.tar.gz hdf5-4fc73028edd0829b1e45ebe9c597cb91d49a9963.tar.bz2 |
[svn-r7060] Purpose:
Code cleanup
Description:
Change some variables that are keywords in C++ to non-keywords.
Platforms tested:
FreeBSD 4.8 (sleipnir)
too minor to require full h5committest
Diffstat (limited to 'perform/zip_perf.c')
-rw-r--r-- | perform/zip_perf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perform/zip_perf.c b/perform/zip_perf.c index b005528..37f264a 100644 --- a/perform/zip_perf.c +++ b/perform/zip_perf.c @@ -322,7 +322,7 @@ uncompress_buffer(Bytef *dest, uLongf *destLen, const Bytef *source, static void get_unique_name(void) { - const char *prefix = "/tmp", *template = "/zip_perf.data"; + const char *prefix = "/tmp", *tmpl = "/zip_perf.data"; const char *env = getenv("HDF5_PREFIX"); if (env) @@ -331,13 +331,13 @@ get_unique_name(void) if (option_prefix) prefix = option_prefix; - filename = calloc(1, strlen(prefix) + strlen(template) + 1); + filename = calloc(1, strlen(prefix) + strlen(tmpl) + 1); if (!filename) error("out of memory"); strcpy(filename, prefix); - strcat(filename, template); + strcat(filename, tmpl); } /* |