summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2008-04-18 02:31:20 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2008-04-18 02:31:20 (GMT)
commitf1d2209a75d1fc14bebf9d37f0c8f56e4917783f (patch)
treefe78b6e71cec3e6cf1961cabeef487d4d4ccd442
parenta642c440f711855767e373f9bd50fcd1cdbe1daa (diff)
downloadhdf5-f1d2209a75d1fc14bebf9d37f0c8f56e4917783f.zip
hdf5-f1d2209a75d1fc14bebf9d37f0c8f56e4917783f.tar.gz
hdf5-f1d2209a75d1fc14bebf9d37f0c8f56e4917783f.tar.bz2
[svn-r14848] Fixed a bug in the external link test for windows.
-rw-r--r--test/links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/links.c b/test/links.c
index 26da4c3..3170ba5 100644
--- a/test/links.c
+++ b/test/links.c
@@ -3849,7 +3849,7 @@ external_link_win5(hid_t fapl, hbool_t new_format)
HDstrcpy(tmpname, &cwdpath[2]); /* stripped the drive letter to make it rel drive but absolute path */
HDstrcat(tmpname, "/");
HDstrcat(tmpname, FILENAME[12]);
- h5_fixname(tmpname, fapl, filename2, sizeof filename2);
+ h5_fixname(tmpname, fapl, filename1, sizeof filename1);
/* set up name for target link: "<drive-letter>:tmp/extlinks14" */
sprintf(tmpname, "%c:%s", (drive+'A'-1), FILENAME[36]);