summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-09-16 16:22:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-09-16 16:22:16 (GMT)
commitb9be0455961ca1098bc4977bf1138394932b75db (patch)
tree8bf7377bbda85d614e4e5984c5a1a59ac323310e /src/H5G.c
parent37a1f87664a1b2026e1d2a1dd5033eb2e8b1f5fc (diff)
downloadhdf5-b9be0455961ca1098bc4977bf1138394932b75db.zip
hdf5-b9be0455961ca1098bc4977bf1138394932b75db.tar.gz
hdf5-b9be0455961ca1098bc4977bf1138394932b75db.tar.bz2
[svn-r15629] Description:
Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5G.c b/src/H5G.c
index a89f11d..4a49663 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -1004,7 +1004,7 @@ H5G_create(H5F_t *file, hid_t gcpl_id, hid_t dxpl_id)
/* Set the count of times the object is opened */
grp->shared->fo_count = 1;
-
+
/* Set return value */
ret_value = grp;
@@ -1768,7 +1768,7 @@ H5G_visit_cb(const H5O_link_t *lnk, void *_udata)
/* Build the link's relative path name */
HDassert(udata->path[old_path_len] == '\0');
- HDstrcpy(&(udata->path[old_path_len]), lnk->name);
+ HDstrcpy(&(udata->path[old_path_len]), lnk->name);
udata->curr_path_len += link_name_len;
/* Construct the link info from the link message */
@@ -1831,9 +1831,9 @@ H5G_visit_cb(const H5O_link_t *lnk, void *_udata)
/* Add the path separator to the current path */
HDassert(udata->path[udata->curr_path_len] == '\0');
- HDstrcpy(&(udata->path[udata->curr_path_len]), "/");
+ HDstrcpy(&(udata->path[udata->curr_path_len]), "/");
udata->curr_path_len++;
-
+
/* Attempt to get the link info for this group */
if(H5G_obj_get_linfo(&obj_oloc, &linfo, udata->dxpl_id)) {
/* Check for creation order tracking, if creation order index lookup requested */