diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-13 20:53:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-13 20:53:35 (GMT) |
commit | 6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch) | |
tree | 5a7a112fe7a8a98c6fecb45b513789d15962eb3d /test/tunicode.c | |
parent | 6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff) | |
download | hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2 |
[svn-r11245] Purpose:
Code cleanup
Description:
Trim trailing whitespace, which is making 'diff'ing the two branches
difficult.
Solution:
Ran this script in each directory:
foreach f (*.[ch] *.cpp)
sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
end
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'test/tunicode.c')
-rw-r--r-- | test/tunicode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tunicode.c b/test/tunicode.c index 010d12a..22146bf 100644 --- a/test/tunicode.c +++ b/test/tunicode.c @@ -71,7 +71,7 @@ void test_fl_string(hid_t fid, const char *string) char read_buf[MAX_STRING_LENGTH]; H5T_cset_t cset; herr_t ret; - + /* Create the datatype, ensure that the character set behaves * correctly (it should default to ASCII and can be set to UTF8) */ @@ -221,7 +221,7 @@ void test_strpad(hid_t UNUSED fid, const char *string) } /* Create a src_type that holds the UTF-8 string */ - big_len = length; + big_len = length; src_type = mkstr(big_len, H5T_STR_NULLPAD); CHECK(src_type, FAIL, "mkstr"); /* Create a dst_type that holds half of the UTF-8 string */ @@ -689,7 +689,7 @@ void test_enum(hid_t UNUSED fid, const char * string) /* * test_opaque - * Test comments on opaque datatypes + * Test comments on opaque datatypes */ void test_opaque(hid_t UNUSED fid, const char * string) { @@ -773,7 +773,7 @@ void dump_string(const char * string) printf("The string was:\n"); printf(string); printf("Or in hex:\n"); - + length = strlen(string); for(x=0; x<length; x++) |