diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-03-18 21:56:32 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-03-18 21:56:32 (GMT) |
commit | f2b142f6ed4bc50cedfbb652cb286d309e88718b (patch) | |
tree | 7e63f8b74b85f39dd36f9c1cd936e18e73e158f0 /src/H5PL.c | |
parent | 23635d656a7ebb30f082960a27174453a27e96f6 (diff) | |
download | hdf5-f2b142f6ed4bc50cedfbb652cb286d309e88718b.zip hdf5-f2b142f6ed4bc50cedfbb652cb286d309e88718b.tar.gz hdf5-f2b142f6ed4bc50cedfbb652cb286d309e88718b.tar.bz2 |
[svn-r23369] Escape "\" char
Diffstat (limited to 'src/H5PL.c')
-rw-r--r-- | src/H5PL.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -306,7 +306,7 @@ H5PL_find(H5PL_type_t plugin_type, int type_id, char *dir, void **info) if(HDstrcmp(fdFile.cFileName, ".") != 0 && HDstrcmp(fdFile.cFileName, "..") != 0) { pathname = (char *)H5MM_malloc(strlen(dir) + strlen(fdFile.cFileName) + 2); HDstrncpy(pathname, dir, strlen(dir)+1); - HDstrcat(pathname, "\"); + HDstrcat(pathname, "\\"); HDstrcat(pathname, fdFile.cFileName); /* Is the entity a File or Folder? */ |