summaryrefslogtreecommitdiffstats
path: root/examples/h5_elink_unix2win.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-11-22 14:37:29 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-11-22 14:37:29 (GMT)
commit9f89381fc7aca10b46c21ff906c69139125d31ee (patch)
treedf244cb6d5c05a8bb2d8cc89a55678bd46265c39 /examples/h5_elink_unix2win.c
parent1c53181756cf9640e0ed085b3c50a9a3a9d985a4 (diff)
downloadhdf5-9f89381fc7aca10b46c21ff906c69139125d31ee.zip
hdf5-9f89381fc7aca10b46c21ff906c69139125d31ee.tar.gz
hdf5-9f89381fc7aca10b46c21ff906c69139125d31ee.tar.bz2
[svn-r12970] Used escape character for backslash (oops!) in windows path name on UNIX.
Tested on copper.
Diffstat (limited to 'examples/h5_elink_unix2win.c')
-rw-r--r--examples/h5_elink_unix2win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_elink_unix2win.c b/examples/h5_elink_unix2win.c
index 447d392..499397e 100644
--- a/examples/h5_elink_unix2win.c
+++ b/examples/h5_elink_unix2win.c
@@ -144,7 +144,7 @@ unix2win_example()
/* Create the target file. */
#ifdef WIN32
- if((fid=H5Fcreate("u2w\u2w_target.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT))<0) goto error;
+ if((fid=H5Fcreate("u2w\\u2w_target.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT))<0) goto error;
#else
if((fid=H5Fcreate("u2w/u2w_target.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT))<0) goto error;
#endif